:root {
    --bg-light: #f0f5ff;
    --footer-bg: #0a0a0a;
    --text-dark: #000;
    --text-light: #fff;
    --accent-blue: #007bff;
    --gray: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    padding: 40px 10%;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    margin-left: -91px;
}

/* Main Auth Section */
.auth-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 160px;
}

.auth-card {
    text-align: center;
    max-width: 450px;
    width: 100%;
}

.auth-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.otp-extra{
    margin-top: 15px;
    text-align: center;
}

.timer-text{
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.resend-btn{
    background: none;
    border: none;
    color: #0d6efd;
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
}

.resend-btn:disabled{
    color: gray;
    cursor: not-allowed;
}

.subtitle {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-size: 1rem;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 15px;
}

.back-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
}


/* ===================================
   FOOTER
=================================== */

footer {
    background: #050505;
    color: #fff;
    padding: 60px 5% 25px;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-col {
    min-width: 0;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-col h4 {
    font-size: 20px;
}

.footer-col p {
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 8px;
}

/* Contact input */

.footer-input-box {
    display: flex;
    gap: 10px;
    margin: 18px 0 20px;
    width: 100%;
}

.footer-input-box input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 14px 16px;
    border: none;
    outline: none;
    border-radius: 8px;
    background: #162033;
    color: #fff;
    font-size: 14px;
}

.footer-input-box input::placeholder {
    color: #9aa5b1;
}

.footer-input-box button {
    padding: 0 24px;
    border: none;
    border-radius: 8px;
    background: #22314a;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

/* Social icons */

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: .3s;
}

.social-icons a:nth-child(1) {
    background: #1877f2;
}

.social-icons a:nth-child(2) {
    background: #e1306c;
}

.social-icons a:nth-child(3) {
    background: #25d366;
}

.social-icons a:nth-child(4) {
    background: #0a66c2;
}

.social-icons a:hover {
    transform: translateY(-4px);
}

/* Footer bottom */

.footer-bottom {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    color: #cfcfcf;
}

.footer-bottom-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-bottom-info span {
    font-size: 13px;
    color: #cfcfcf;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Footer links */

.footer-col a {
    display: block;
    color: #cfcfcf;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: .3s;
}

.footer-col a:hover,
.footer-bottom-info a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-tagline {
    color: #fff !important;
    font-weight: 600;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-wrap: anywhere;
}

.footer-contact p i {
    min-width: 16px;
}

.footer-bottom-info a {
    color: #cfcfcf;
    font-size: 13px;
    text-decoration: none;
}


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

@media (max-width: 992px) {

    footer {
        padding: 45px 4% 20px;
    }

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 18px;
    }

    .footer-bottom-info {
        gap: 15px 25px;
    }
}

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

@media (max-width: 576px) {

    footer {
        padding: 35px 20px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 25px;
    }

    .footer-col h3,
    .footer-col h4 {
        font-size: 19px;
        margin-bottom: 14px;
    }

    .footer-col p {
        font-size: 13px;
    }

    .footer-input-box {
        gap: 8px;
    }

    .footer-input-box input {
        padding: 12px 10px;
        font-size: 13px;
    }

    .footer-input-box button {
        padding: 0 16px;
        font-size: 13px;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .footer-bottom {
        padding-top: 20px;
        gap: 15px;
    }

    .footer-bottom-info {
        flex-direction: column;
        gap: 12px;
    }

    .footer-bottom-info span {
        font-size: 12px;
        align-items: flex-start;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

/* ===================================
   SMALL MOBILE
=================================== */

@media (max-width: 360px) {

    footer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-input-box button {
        padding: 0 12px;
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .header { padding: 20px 5%; }
}