/* ================================
   GLOBAL RESET + BASE
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Lato', Arial, sans-serif;
    margin: 0;
    background-color: #f8f9fa;
    display: block;

    /* FIX SCROLLING */
    height: 50vh !important;          /* allow page to grow */
    min-height: 50vh !important;     /* allow scrolling */
    overflow-y: scroll !important;    /* force scroll on mobile */
    overflow-x: hidden !important;

    -webkit-overflow-scrolling: touch; /* iPhone smooth scroll */
}




/* Wrapper */
.content-wrapper {
    width: 100%;
    display: block;
}

/* ================================
   HEADER LOGOS
================================ */
.header-logo-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-left {

      max-width: 15rem;
    height: 40px;
    margin-right: 1rem;
    width: 200px;
}

.logo-right {
    height: 34px;
}

/* ================================
   MAIN CONTAINER
================================ */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 2rem;
}

/* Fixed Deposit Header Button */
.dps-button {
    background-color: #0066cc;
    color: #ffffff;
    font-size: 18px;
    padding: 5px 40px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}
.dps-button:hover {
    background-color: #005bb5;
}

/* Disclaimer */
.terms_condition_dis {
    text-align: left;
    font-size: 13px;
}

/* Terms Document */
iframe {
    width: 100%;
    max-width: 1015px;
    height: 300px;
    border: 1px solid #666CCC;
    margin-top: 1rem;
}

/* Form check label */
.form-check-label {
    font-size: 14px;
}

/* ================================
   BUTTONS (DISAGREE + AGREE)
================================ */

/* container for the two buttons */
.btn-section {
    display: flex;
    justify-content: flex-start;   /* align to left */
    align-items: center;
    gap: 8px;
    margin-top: 1.2rem;
}

/* make buttons ~75% smaller than your original full-width buttons */
.btn-gen2,
.btn-verify {
    flex: 0 0 auto;           /* do NOT stretch to 48%/100% */
    width: auto;              /* shrink to content */
    padding: 4px 12px;        /* smaller padding */
    height: 30px;             /* smaller height */
    font-size: 12px;          /* smaller text */
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Disagree */
.btn-gen2 {
    background-color: #e6e3e3;
    color: #000;
}
.btn-gen2:hover {
    background-color: #d6d4d4;
}

/* Agree */
.btn-verify {
    background-color: #ffd500;
    color: #000;
}
.btn-verify:hover {
    background-color: #e5c100;
}


/* ================================
   MOBILE SCROLL FIX (IMPORTANT)
================================ */
@media (max-width: 768px) {
    .logo-right {
        display: none !important;
    }
    html, body {
        height: auto !important;       /* allow scrolling */
        min-height: 100% !important;   /* grow with content */
        overflow-y: auto !important;   /* enable scroll */
    }

    .content-wrapper {
        height: auto !important;
        min-height: 100% !important;
        overflow: visible !important;
    }

    .container {
        padding: 1rem !important;   /* reduce padding to prevent overflow */
    }

    iframe {
        height: 350px !important;   /* additional manual height */
    }

    /* BUTTONS responsive left alignment */
    .btn-section {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }

    .btn-gen2,
    .btn-verify {
        width: auto !important;
        flex: none !important;
        padding: 6px 14px !important;
        height: 32px !important;
        font-size: 13px !important;
    }
}
