/* CSS Variables matching original design */
:root {
    --white: #ffffff;
    --gray-900: #22212a;
    --gray-700: #344054;
    --gray-500: #667085;
    --gray-300: #d0d5dd;
    --primary-blue: #004f9f;
    --gradient-start: #bc6945;
    --gradient-end: #034f96;
    --shadow-xs: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

/* Global Styles */
* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    height: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(209deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-radius: 16px;
    margin: 12px;
    overflow: hidden;
    position: relative;
}

.hero-bg {
    object-fit: cover;
    mix-blend-mode: soft-light;
    top: 0 !important;
    left: 0 !important;
    opacity: 0.8;
}

.hero-overlay {
    background: linear-gradient(209deg, rgba(188, 105, 69, 0.7) 0%, rgba(3, 79, 150, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    max-width: 696px;
    padding-bottom: 32px !important;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 64px;
    letter-spacing: -1.28px;
    line-height: 60px;
    margin-bottom: 24px !important;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0px;
}

/* Login Section */
.login-section {
    background-color: var(--white);
}

.login-container {
    width: 100%;
    max-width: 480px;
    padding: 0 32px;
}

/* Logo Placeholder */
.logo-placeholder {
    width: 234px;
    height: 41px;
    margin: 0 auto;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--gray-500);
}

.logo-placeholder::after {
    content: "Logo Placeholder";
}

/* Header Styles */
.welcome-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 38px;
    color: var(--gray-900);
    margin-bottom: 12px !important;
}

.welcome-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--gray-500);
}

/* Form Styles */
.form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.custom-input {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--gray-500);
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: var(--shadow-xs);
}

.custom-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 79, 159, 0.25);
}

.custom-input-addon {
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-left: none;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    box-shadow: var(--shadow-xs);
}

.custom-input-addon:hover {
    background-color: #f8f9fa;
}

/* Checkbox Styles */
.custom-checkbox {
    width: 16px;
    height: 16px;
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 4px;
}

.custom-checkbox:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.form-check-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-700);
}

/* Button Styles */
.custom-btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    border-radius: 8px;
    padding: 10px 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    box-shadow: var(--shadow-xs);
}

.custom-btn-primary:hover {
    background-color: #003d7a;
    border-color: #003d7a;
}

.custom-btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 79, 159, 0.25);
}

/* Link Styles */
.forgot-password,
.sign-up-link,
.resend-link {
    color: var(--primary-blue);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
}

.forgot-password:hover,
.sign-up-link:hover,
.resend-link:hover {
    color: #003d7a;
}

/* Additional Link Text */
.text-muted {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-500);
}

/* Footer */
.login-footer {
    height: 96px;
    display: flex;
    align-items: flex-end;
    padding: 32px;
}

.login-footer small {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--gray-500);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-section {
        margin: 12px 12px 0 12px;
        border-radius: 16px 16px 0 0;
    }
    
    .hero-title {
        font-size: 48px;
        line-height: 48px;
        letter-spacing: -0.96px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 24px;
    }
    
    .login-container {
        padding: 0 16px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 36px;
        line-height: 40px;
        letter-spacing: -0.72px;
    }
    
    .welcome-title {
        font-size: 24px;
        line-height: 32px;
    }
    
    .login-container {
        max-width: 100%;
    }
}

/* Focus styles for accessibility */
button:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline-offset: 2px;
}

a:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline-offset: 2px;
}

/* Input group fix for password field */
.input-group .custom-input {
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.input-group .custom-input:focus {
    border-right: none;
}

.input-group .custom-input-addon {
    border-left: 1px solid var(--gray-300);
}

.input-group .custom-input:focus + .custom-input-addon {
    border-left-color: var(--primary-blue);
}

/* Smooth transitions for interactive elements */
.smooth-transition {
    transition: all 0.2s ease-in-out;
}

.smooth-input-transition {
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.smooth-link-transition {
    transition: color 0.15s ease-in-out;
}

/* Enhanced button hover effects */
button.smooth-transition:hover,
.btn.smooth-transition:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Enhanced input focus effects */
.custom-input.smooth-input-transition {
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Enhanced link hover effects */
a.smooth-link-transition:hover {
    opacity: 0.8;
}

