/* Authentication Pages - Shared Styles */

html, body {
    font-family: 'Poppins', sans-serif;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

/* Hide auth layout elements */
.authImage {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 100vh !important;
    height: 100vh !important;
}

footer {
    display: none !important;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
}

/* Left Panel - Login/Form */
.login-left-panel {
    flex: 0 0 45%;
    background: #ffffff;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow-y: auto;
}

.login-logo {
    margin-bottom: 40px;
}

.login-logo img {
    max-width: 200px;
    height: auto;
}

.login-welcome {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 30px;
    text-align: center;
}

.login-welcome h2 {
    margin: 0 0 15px 0;
    color: #1e293b;
    font-size: 28px;
}

.login-welcome p {
    margin: 5px 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.login-form-group {
    margin-bottom: 25px;
}

.login-form-label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
    font-weight: 500;
    font-size: 14px;
}

.login-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.login-form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-password {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
}

.login-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.login-btn i {
    font-size: 18px;
}

.social-login {
    margin-top: 20px;
}

.social-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    transition: all 0.3s;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #64748b;
}

.register-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.cancel-btn {
    width: 100%;
    padding: 14px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: block;
    font-family: 'Poppins', sans-serif;
}

.cancel-btn:hover {
    background: #5a6268;
    color: white;
}

/* Right Panel - Dashboard Preview */
.login-right-panel {
    flex: 0 0 55%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    overflow: hidden;
}

/* Hexagonal Pattern Background */
.login-right-panel::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(255, 255, 255, 0.03) 50px, rgba(255, 255, 255, 0.03) 51px),
        repeating-linear-gradient(60deg, transparent, transparent 50px, rgba(255, 255, 255, 0.03) 50px, rgba(255, 255, 255, 0.03) 51px),
        repeating-linear-gradient(120deg, transparent, transparent 50px, rgba(255, 255, 255, 0.03) 50px, rgba(255, 255, 255, 0.03) 51px);
    opacity: 0.5;
    z-index: 0;
}

.dashboard-preview {
    position: relative;
    z-index: 1;
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.dashboard-preview img {
    max-height: 51vh;
    width: auto;
    display: block;
    object-fit: contain;
    object-position: left center;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

/* Language Dropdown Positioning */
.dropdown.ms-auto {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

/* Responsive */
@media (max-width: 1024px) {
    .login-left-panel {
        padding: 40px 50px;
    }
    
    .login-right-panel {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-left-panel {
        flex: 1;
        padding: 30px;
    }
    
    .login-right-panel {
        display: none;
    }
}

/* Alert Messages */
.alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

