/* ==========================================
   Dynamic Rate Calculator - Frontend CSS
========================================== */

.drc-calculator-wrapper{
    max-width: 900px;
    margin: 0px auto;
    padding: 40px 30px 40px;
    background: #080c24;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.drc-calculator-wrapper *,
.drc-calculator-wrapper *:before,
.drc-calculator-wrapper *:after{
    box-sizing:border-box;
}

.drc-row{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-bottom:20px;
}

.drc-field{
    flex:1;
    min-width:250px;
}

.drc-field label{
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    font-family: 'Roboto';
    line-height: 23px;
}

.drc-field input,
.drc-field select{
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border-radius: 5px;
    background: #494d62;
    outline: none;
    transition: .3s;
    font-size: 15px;
    color: #d0cfcf !important;
    border: 0px;
    font-family: 'Roboto';
}

.drc-field input::placeholder {
    color: #d0cfcf !important;
}

.drc-field input:focus,
.drc-field select:focus{
    border: 0px !important;
    box-shadow:0 0 0 3px rgba(34,113,177,.15);
}

.drc-buttons{
    display:flex;
    gap:15px;
    margin-top:40px;
}

.drc-buttons button{
    cursor:pointer;
    border:none;
    border-radius:6px;
    padding:14px 28px;
    font-size:15px;
    font-weight:600;
    transition:.3s;
}

.drc-buttons .button-primary{
    background:#2271b1;
    color:#fff;
}

.drc-buttons .button-primary:hover{
    background: #fff;
    color: #141415;
}

.drc-buttons .button{
    color: #fff;
    height: 48px;
    border: none;
    width: 185px;
    margin-top: 5px;
    font-weight: 700;
    border-radius: 0px !important;
    background-color: #ff0515;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font-family: 'Roboto';
    font-size: 14px;
}

.drc-buttons .button:hover{
    background: #fff;
    color: #141415;
}

.drc-result-success{
    background: #fff;
    border: 2px solid #ff0515;
    border-radius: 8px;
    padding: 20px;
    margin-top: 40px;
}

.drc-result-success h3{
    margin: 0 0 15px;
    color: #ff0515;
    font-size: 22px;
    font-family: 'Inter';
    font-weight: 600;
}

.drc-result-success p{
    margin: 0px 0;
    font-size: 16px;
    color: #222;
    font-family: 'Roboto';
    font-weight: 400;
    line-height: 28px;
}

.drc-result-error{
    background:#fff1f2;
    border:1px solid #ef4444;
    color:#b91c1c;
    border-radius:8px;
    padding:18px;
    font-size:15px;
}

@media(max-width:768px){

    .drc-row{
        flex-direction:column;
        gap:15px;
    }

    .drc-field{
        min-width:100%;
    }

    .drc-buttons{
        flex-direction:column;
    }

    .drc-buttons button{
        width:100%;
    }

}