/* ===============================
   REFERRAL FORM – MODERN UI
================================ */

.saswat-card {
    max-width: 820px;
    margin: 50px auto;
    background: #ffffff;
    padding: 40px 45px;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.saswat-card h3 {
    font-size: 26px;
    font-weight: 600;
    color: #111;
    margin-bottom: 30px;
    text-align: left;
}

/* ===============================
   INPUT GRID
================================ */

.saswat-card .two-col {
    flex-direction: column;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px !important;
    margin-bottom: 10px !important;
    padding-top: 5px !important;
}

.two-col + hr {
    margin: 28px 0;
    border: none;
    border-top: 1px solid #eee;
}

/* ===============================
   INPUTS
================================ */

.saswat-card input[type="text"],
.saswat-card input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
    transition: all 0.25s ease;
}

.saswat-card input::placeholder {
    color: #999;
}

.saswat-card input:focus {
    outline: none;
    background: #fff;
    border-color: #18425D;
    box-shadow: 0 0 0 3px rgba(24, 66, 93, 0.12);
}

/* ===============================
   CONSENT
================================ */

.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    margin: 20px 0 30px;
}

.consent input {
    margin-top: 4px;
    transform: scale(1.1);
}

/* ===============================
   SUBMIT BUTTON
================================ */

.saswat-card button {
    width: 100%;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    background: #000;
    color: #fff;
    transition: all 0.3s ease;
}

.saswat-card button:hover {
    background: #18425D;
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(24, 66, 93, 0.25);
}

/* ===============================
   POPUP (SUCCESS / ERROR)
================================ */

#sr-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#sr-popup.active {
    display: flex;
}

.sr-popup-box {
    background: #fff;
    padding: 32px 30px;
    border-radius: 16px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.sr-popup-box h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #111;
}

.sr-popup-box p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

.sr-popup-box button {
    padding: 10px 26px;
    border-radius: 24px;
    background: #18425D;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
    .two-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .saswat-card {
        padding: 28px 22px;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .saswat-card h3 {
        font-size: 22px;
    }
}
