/* ==========================
   RESET
========================== */

/* *{
    margin:0;
    padding:0;
    box-sizing:border-box;
} */

/*body{*/
/*    font-family:'Poppins',sans-serif;*/
    /* background:#f2f9f2; */
/*    color:#222;*/
/*    padding:40px 15px;*/
/*}*/

.solar-calculator{
    max-width:700px;
    margin:auto;
}

/* ==========================
INPUT
========================== */

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    font-size:18px;
    font-weight:600;
    margin-bottom:10px;
    color:#183b23;
}

.input-group{
    position:relative;
}

.input-group input {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #d7d7d7;
    outline: none;
    font-size: 17px;
    padding: 15px;
    transition: .3s;
}

.input-group input:focus{
    border-color:#1db954;
    box-shadow:0 0 8px rgba(0,180,70,.15);
}

.input-group span{
    position:absolute;
    top:50%;
    right:40px;
    transform:translateY(-50%);
    font-size:22px;
    font-weight:600;
    color:#777;
}

.error{
    margin-top:8px;
    color:#e53935;
    font-size:15px;
    font-weight:500;
}

.cal-flat {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

/* ==========================
CARD
========================== */

.card{
    background:#fff;
    border-radius:18px;
    padding:25px;
    margin-bottom:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.card h2{
    font-size:20px;
    color:#173d22;
    margin-bottom:8px;
    margin-top:0px;
}

.card p{
    color:#666;
    font-size:15px;
    margin-bottom:5px;
}

/* ==========================
STATS
========================== */

.stats{
    display:grid;
    gap:1px;
    background:#dcefdc;
    border-radius:16px;
    overflow:hidden;
    border: 1px solid #dcefdc;
}

.stats.two{
    grid-template-columns:repeat(2,1fr);
}

.stats.three{
    grid-template-columns:repeat(3,1fr);
}

.item{
    background:linear-gradient(to bottom,#ffffff,#edf8ef);
    text-align:center;
    padding:18px 13px 0px 18px;
    transition:.3s;
}

.item:hover{
    background:#2E9E2F;
}

.item i{
    font-size:20px;
    color:#1ea94d;
    margin-bottom:15px;
}

.item:hover i {
    color: #fff;
}

.item span{
    display:block;
    color:#343434;
    font-size:15px;
    margin-bottom:10px;
    font-weight:600;
}

.item:hover span, h3{
    color: #fff;
}

.item h3{
    color:#153b1e;
    font-size:24px;
    font-weight:700;
    line-height:1;
    margin-top:10px;
}

.item:hover h3{
    color: #fff;
}

/* ==========================
DETAIL CARD
========================== */

.hidden-card{
    background:#f8fff8;
}

.details{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.details p{
    margin:0;
    font-size:17px;
}

.details strong{
    color:#12833f;
}

/* ==========================
BUTTON
========================== */

button{
    width:100%;
    height:55px;
    border:none;
    border-radius:12px;
    background:#1db954;
    color:#fff;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#149245;
}

/* ==========================
NUMBER ANIMATION
========================== */

.item h3{
    transition:.4s ease;
}

/* ==========================
RESPONSIVE
========================== */

@media(max-width:768px){
    .card{
        padding:20px;
    }

    .card h2{
        font-size:22px; 
    }

    .item h3{
        font-size:26px;
    }
}

@media(max-width:600px){
    .stats.two{
        grid-template-columns:1fr;
    }

    .stats.three{
        grid-template-columns:1fr;
    }

    .item{
        padding:25px;
    }

    .input-group input{
        height:55px;
        font-size:18px;
    }
}

@media(max-width:400px){
    .card{
        padding:18px;
    }

    .card h2{
        font-size:20px;
    }

    .item h3{
        font-size:22px;
    }

    .item span{
        font-size:14px;
    }
}