/* Modern Professional Login CSS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.login-container {
    background: #fff;
    width: 900px;
    max-width: 95%;
    min-height: 500px;
    display: flex;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 20px;
    
    position: relative;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #c82333 0%, #8b1c18 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.login-left h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.login-left p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

.login-right {
    flex: 1.2;
    padding: 60px;
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    margin-bottom: 40px;
}

.login-header h2 {
    font-size: 28px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #c82333;
    box-shadow: 0 0 0 4px rgba(200, 35, 51, 0.1);
    outline: none;
}

.form-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #c82333 0%, #a52b24 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 35, 51, 0.3);
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #888;
}

.login-footer a {
    color: #c82333;
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

.forgot-link {
    display: block;
    text-align: right;
    font-size: 13px;
    color: #888;
    margin-top: 10px;
    text-decoration: none;
}

.forgot-link:hover {
    color: #c82333;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width: 100%;
        margin: 20px;
    }
    .login-left {
        padding: 40px;
        min-height: 200px;
    }
    .login-right {
        padding: 40px;
    }
}


/* Tab Styling */
.login-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.login-tab {
    flex: 1;
    text-align: center;
    padding: 15px 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.login-tab:hover {
    color: #c82333;
}

.login-tab.active {
    color: #c82333;
    border-bottom-color: #c82333;
}

.login-tab i {
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
}

.hidden-step {
    display: none !important;
}

.login-right {
    padding: 30px 40px !important; /* Reduced padding for compactness */
}

.login-left {
    padding: 40px !important; /* Reduced padding */
}

.form-group {
    margin-bottom: 15px !important; /* Reduced margin */
}

.login-header {
    margin-bottom: 20px !important; /* Reduced margin */
}

.login-tabs {
    margin-bottom: 20px !important;
}

/* --- LOGIN COLOR THEME UPDATE --- */
.login-left {
    background: linear-gradient(135deg, #4f46e5 0%, #312e81 100%) !important;
}

.form-input:focus {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
}

.form-button {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%) !important;
}

.form-button:hover {
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3) !important;
}

.login-footer a, .forgot-link, .forgot-link:hover {
    color: #4f46e5 !important;
}

.login-tab.active {
    color: #4f46e5 !important;
    border-bottom-color: #4f46e5 !important;
}

.login-tab:hover {
    color: #4f46e5 !important;
}

.error {
    color: #ef4444 !important; /* Soft Red for errors */
}

/* --- LOGIN COLOR THEME UPDATE (TEAL & SLATE) --- */
.login-left {
    background: linear-gradient(135deg, #1e293b 0%, #0d9488 100%) !important;
}

.form-input:focus {
    border-color: #0d9488 !important;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1) !important;
}

.form-button {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
}

.form-button:hover {
    box-shadow: 0 5px 15px rgba(13, 148, 136, 0.3) !important;
}

.login-footer a, .forgot-link, .forgot-link:hover {
    color: #0d9488 !important;
}

.login-tab.active {
    color: #0d9488 !important;
    border-bottom-color: #0d9488 !important;
}

.login-tab:hover {
    color: #0d9488 !important;
}

/* --- LOGIN COLOR THEME UPDATE (CLEAN LIGHT) --- */
body {
    background: #f3f4f6 !important;
}

.login-container {
    background: #ffffff !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1) !important;
}

.login-left {
    background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%) !important;
    color: #065f46 !important;
}

.login-left h1 {
    color: #064e3b !important;
}

.login-left p {
    color: #065f46 !important;
}

.login-right {
    background: #ffffff !important;
}

.login-tab {
    color: #9ca3af !important;
}

.login-tab.active {
    color: #059669 !important;
    border-bottom-color: #059669 !important;
}

.form-input {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
}

.form-input:focus {
    border-color: #10b981 !important;
    background: #ffffff !important;
}

.form-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.login-footer a, .forgot-link {
    color: #059669 !important;
}

/* --- LOGIN COLOR THEME UPDATE (DIRTY / GRUNGY) --- */
body {
    background: #2b1d1d !important;
}

.login-container {
    background: #efebe9 !important;
    border: 1px solid #d7ccc8 !important;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.2) !important; /* Blocky shadow for dirty look */
}

.login-left {
    background: linear-gradient(135deg, #3c2f2f 0%, #8b4513 100%) !important;
    color: #d7ccc8 !important;
}

.login-left h1 {
    color: #ffffff !important;
    text-transform: uppercase !important;
}

.login-right {
    background: #efebe9 !important;
}

.login-tab {
    color: #8d6e63 !important;
}

.login-tab.active {
    color: #5d2e0a !important;
    border-bottom-color: #5d2e0a !important;
}

.form-input {
    background: #d7ccc8 !important;
    border: 1px solid #a1887f !important;
    color: #3e2723 !important;
}

.form-input:focus {
    border-color: #8b4513 !important;
    background: #ffffff !important;
}

.form-button {
    background: linear-gradient(135deg, #8b4513 0%, #5d2e0a 100%) !important;
}

/* --- LOGIN COLOR THEME UPDATE (LIGHT DIRTY / SAND) --- */
body {
    background: #f4ece1 !important;
}

.login-container {
    background: #ffffff !important;
    border: 1px solid #e0d8cc !important;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05) !important;
}

.login-left {
    background: linear-gradient(135deg, #4a4545 0%, #b08d57 100%) !important;
    color: #f4ece1 !important;
}

.login-right {
    background: #ffffff !important;
}

.login-tab.active {
    color: #b08d57 !important;
    border-bottom-color: #b08d57 !important;
}

.form-input {
    background: #faf9f6 !important;
    border: 1px solid #e0d8cc !important;
}

.form-input:focus {
    border-color: #b08d57 !important;
}

.form-button {
    background: linear-gradient(135deg, #b08d57 0%, #8e734a 100%) !important;
}
