/* text color variables */
:root {
    --color-primary: #007f5e;
    --color-secondary: #00a779;
    --color-text: #555;
    --color-link: #007f5e;
    --color-link-hover: #005b42;
}

body {
    background-color: #e0f7e9;
}

.logo-title {
    padding-top: 50px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    line-height: normal;
}

.logo-title>a {
    text-decoration: none;
    color: var(--color-link);
    cursor: pointer;
}

.logo-title>a>img {
    max-width: 220px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .logo-title>a>img {
        width: 250px;
        max-width: 100%;
    }
}

.logo-main {
    font-size: 3em;
    font-family: 'Helios', sans-serif;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-main i {
    margin-right: 10px;
}

.logo-powered-by {
    font-size: 1em;
    color: #555;
    font-weight: 600;
}

.content,
.content-large,
.content-xxl {
    max-width: 500px;
    margin: 0 auto 20px auto;
    padding: 20px;
    background-color: #f0fff4;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.content-large {
    max-width: 1000px;
}

.content-xxl {
    max-width: 85%;
}

.form-group {
    margin-bottom: 10px;
}

.center {
    text-align: center;
}

.list-element {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 10px;
    cursor: pointer;

    -webkit-transition: background-color 500ms ease;
    -moz-transition: background-color 500ms ease;
    -ms-transition: background-color 500ms ease;
    -o-transition: background-color 500ms ease;
    transition: background-color 500ms ease;
}

.list-element:hover {
    background-color: white;
}

.no-decoration,
.no-decoration:link,
.no-decoration:visited,
.no-decoration:hover,
.no-decoration:active {
    text-decoration: none;
    color: black;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.container {
    max-width: 960px;
}

.chartContainer {
    position: relative;
    margin: auto;
    max-height: 300px;
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    border: 2px;
    border-style: solid;
    border-color: lightgrey;
}

.titolo {
    color: var(--color-primary);
}

.desc {
    color: var(--color-text)
}

.form-label,
.form-check-label {
    color: var(--color-primary);
}

.form-label {
    margin-bottom: .3rem;
}

.form-row {
    margin-bottom: 1rem;
    /* col-12 */
    /* display: flex; */
    /* flex-wrap: wrap; */
    flex: 0 0 auto;
    width: 100%;
}

.form-col {
    flex-grow: 1;
    margin-left: 5px;
    margin-right: 5px;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover, .btn-primary:active {
    background-color: var(--color-link-hover) !important;
    border-color: var(--color-link-hover) !important;
}

.btn-primary:disabled {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.summary-result-container {
    background-color: var(--color-secondary);
    border-color: var(--color-primary);
    border-style: solid;
    border-width: 2px;
    border-radius: 5px;
    padding: 1rem;
    text-decoration: solid;
    font-weight: normal;
    font-size: 1.25rem;
    color: white;
    margin: 0 5px 0.5rem 5px;
    flex-grow: 1;
    flex-basis: calc(100% / 3 - 30px);
    overflow: hidden;
    word-break: break-word;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-evenly;
}

.summary-result-container p {
    width: 100%;
}

.customMonthUsage {
    flex-grow: 1;
    flex-basis: calc(100% / 3 - 1.5rem);
    margin-left: 0.5rem;
}

@media (max-width: 576px) {
    .summary-result-container {
        flex-grow: 1;
        flex-basis: calc(100% / 1 - 30px);
        word-break: break-word;
    }

    .customMonthUsage {
        flex-grow: 1;
        flex-basis: calc(100% / 2 - 1.5rem);
        margin-left: 0.5rem;
    }

    .chartContainer {
        min-height: 200px;
    }
}

#loadDistributionChart {
    max-height: 200px;
}

.el-disabled {
    opacity: 0.5;
    pointer-events: none;
    /* Prevents clicking */
}

/* #downloadSimBtn {
    margin: 0 5px 0.5rem 5px;
} */

.resultDiv {
    border-style: solid;
    border-width: 2px;
    border-radius: 5px;
    padding: 1rem;
    text-decoration: solid;
    font-weight: normal;
    font-size: 1.25rem;
    color: white;
    flex-grow: 1;
    flex-basis: calc(100% / 3 - 30px);
    overflow: hidden;
    word-break: break-word;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-evenly;
}

#google-maps {
    width: 100%;
    height: 400px;
}

.floating-logout-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1050;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.floating-user-text {
    position: absolute;
    top: 20px;
    right: 260px;
    font-size: 18px;
    color: #333;
}

.floating-user-text-near {
    position: absolute;
    top: 20px;
    right: 130px;
    font-size: 18px;
    color: #333;
}

.floating-action-btn {
    position: absolute;
    top: 15px;
    right: 120px;
    z-index: 1050;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.offer-box {
    background-color: white;
    border-color: var(--color-primary);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    margin-top: 20px;
}

.offer-box div {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.center-flex {
    display: flex;
    align-items: center;
}

.status-box {
    padding: 3px 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}