/* Login Page Styles */

body {
    background: linear-gradient(135deg, #FEF7E6 0%, #FFFCF3 100%);
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

.flower-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.flower-left {
    bottom: 0;
    left: 0;
    width: 200px;
    height: auto;
}

.flower-right {
    bottom: 0;
    right: 0;
    width: 200px;
    height: auto;
}

.login-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 48px 40px;
    max-width: 420px;
    width: 100%;
}

.logo-section {
    text-align: center;
    margin-bottom: 32px;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.logo-img {
    width: 48px;
    height: 48px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
}

.logo-text span {
    color: #F59E0B;
}

.logo-subtitle {
    font-size: 13px;
    color: #6B7280;
    margin-top: 4px;
}

.illustration {
    text-align: center;
    margin-bottom: 24px;
}

.illustration img {
    width: 200px;
    height: auto;
}

.welcome-title {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    text-align: center;
    margin-bottom: 8px;
}

.welcome-subtitle {
    font-size: 14px;
    color: #6B7280;
    text-align: center;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 14px;
    color: #1F2937;
    background: #F9FAFB;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #F59E0B;
    background: white;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-input::placeholder {
    color: #9CA3AF;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    width: 18px;
    height: 18px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    cursor: pointer;
    width: 18px;
    height: 18px;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #6B7280;
}

.forgot-password {
    text-align: right;
    margin-top: -12px;
    margin-bottom: 24px;
}

.forgot-password a {
    font-size: 13px;
    color: #F59E0B;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-password a:hover {
    color: #D97706;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: #F59E0B;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login:hover {
    background: #D97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login svg {
    width: 20px;
    height: 20px;
}

.register-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #6B7280;
}

.register-link a {
    color: #F59E0B;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.register-link a:hover {
    color: #D97706;
}

.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #FEF2F2;
    border: 1px solid #FEE2E2;
    color: #991B1B;
}

.alert-success {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #166534;
}

.alert strong {
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 640px) {
    .login-card {
        padding: 32px 24px;
        margin: 20px;
    }
    
    .flower-left,
    .flower-right {
        width: 120px;
    }
    
    .welcome-title {
        font-size: 28px;
    }
    
    .illustration img {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .logo-subtitle {
        font-size: 12px;
    }
    
    .welcome-title {
        font-size: 24px;
    }
    
    .welcome-subtitle {
        font-size: 13px;
    }
}

/* Form Row for Side-by-Side Inputs */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Checkbox Styling */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #F59E0B;
}

.checkbox-text {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
}

.link-yellow {
    color: #F59E0B;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.link-yellow:hover {
    color: #D97706;
    text-decoration: underline;
}
