/* Auth Page Styles */
.auth-container {
    display: flex;
    min-height: 100vh;
    font-family: 'Ubuntu', sans-serif;
}

/* Left Column - Branding Section */
.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #1B2028 0%, #06344D 50%, #0B63BB 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 14vh;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Dark overlay layered under the gradient-free image so the white
       heading/description stay readable over bright sky and glass towers -
       without it, the image's own brightness was the only thing behind the
       text (see auth.css history: originally just the bare photo). */
    background: linear-gradient(180deg, rgba(6, 20, 32, 0.6) 0%, rgba(6, 20, 32, 0.35) 45%, rgba(6, 20, 32, 0.8) 100%),
                url('../assets/login_banner.jpeg') no-repeat;
    background-size: cover;
    background-position: center;

}

.auth-left-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 500px;
}

/* Logo */
.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 36px;
    animation: authFadeInUp 0.7s ease both;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    color: white;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 0;
}

.welcome-title {
    font-size: 54px;
    font-weight: 300;
    margin-bottom: 18px;
    color: white;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
    animation: authFadeInUp 0.7s ease 0.12s both;
}

.welcome-title-accent {
    position: relative;
    display: inline-block;
}

.welcome-title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #3DDC97 0%, #7FE6C2 100%);
    box-shadow: 0 0 16px rgba(61, 220, 151, 0.7);
}

.welcome-description {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    max-width: 420px;
    margin: 0 auto;
    animation: authFadeInUp 0.7s ease 0.24s both;
}

@keyframes authFadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust badge pill */
.auth-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #fff;
    margin-bottom: 28px;
}

.auth-trust-badge i {
    color: #3DDC97;
}

/* Brand name accent inside the heading */
.welcome-title-accent {
    background: linear-gradient(90deg, #3DDC97 0%, #7FE6C2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

/* Stat highlight card */
.business-graphic {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-stat-card {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    padding: 18px 28px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.auth-stat-card i {
    font-size: 28px;
    color: #3DDC97;
}

.auth-stat-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.auth-stat-number {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.auth-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

/* Right Column - Forms Section */
.auth-right {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
}

/* Tab Navigation */
.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #06344D;
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #06344D;
    border-radius: 2px 2px 0 0;
}

.tab-btn:hover {
    color: #06344D;
}

/* Forms */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.auth-form-content {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.mobile-input-row {
    display: flex;
    width: 100%;
}

.mobile-country-code {
    flex: 0 0 140px;
    max-width: 140px;
}

.mobile-number {
    flex: 1 1 auto;
    min-width: 0;
}

.mobile-error {
    display: block;
    width: 100%;
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #06344D;
    box-shadow: 0 0 0 3px rgba(6, 52, 77, 0.1);
}

.form-options {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-password {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #06344D;
    text-decoration: none;
}

/* Auth Button */
.auth-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #06344D 0%, #0B63BB 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 52, 77, 0.3);
}

/* Divider */
.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
    color: #999;
    font-size: 14px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
    z-index: 1;
}

.divider span {
    background: white;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Social Login */
.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.google-btn {
  background: conic-gradient(
    rgb(66,133,244),
    rgb(219,68,55),
    rgb(244,180,0),
    rgb(15,157,88),
    rgb(66,133,244)
  );
  color: white;            /* text color */
    border: 2px solid #e0e0e0;
}

.google-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.facebook-btn {
    background: #1877F2;
    color: white;
}

.facebook-btn:hover {
    background: #166FE5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.linkedin-btn {
    background: #0077B5;
    color: white;
}

.linkedin-btn:hover {
    background: #006BA1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-left {
        flex: none;
        min-height: 0;
        height: 260px;
        padding: 20px;
        align-items: center;
        padding-top: 20px;
    }

    .auth-left-content {
        padding: 0;
    }

    .auth-trust-badge {
        padding: 5px 12px;
        font-size: 11px;
        margin-bottom: 10px;
    }

    .auth-logo {
        margin-bottom: 16px;
    }

    .auth-logo img {
        width: 110px !important;
    }

    .welcome-section {
        margin-bottom: 0;
    }

    .welcome-title {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .welcome-description {
        font-size: 14px;
    }

    /* Empty decorative graphic — only adds inconsistent blank space on mobile */
    .business-graphic {
        display: none;
    }

    .auth-right {
        padding: 24px 20px 20px;
        flex: 1;
        align-items: flex-start;
    }

    .auth-form-container {
        max-width: 100%;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    .form-control {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .auth-btn {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .auth-left {
        height: 220px;
        padding: 16px;
    }

    .auth-left-content {
        padding: 0;
    }

    .auth-logo {
        margin-bottom: 12px;
    }

    .auth-logo img {
        width: 90px !important;
    }

    .logo-text {
        font-size: 24px;
    }

    .welcome-title {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .welcome-description {
        display: none;
    }

    .auth-right {
        padding: 15px;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .form-title {
        font-size: 18px;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Ensure main wrapper can position absolute elements */
.auth-container {
    position: relative;
}

/* Styled Back to Home Button */
.btn-back-home {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.btn-back-home:hover {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
    transform: translateX(-3px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.25);
}

/* Optional adjustment for small screens */
@media (max-width: 768px) {
    .btn-back-home {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 12px;
    }
}
