/* Authentication Pages Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    margin: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-card {
    flex: 1;
    padding: 3rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-logo:hover {
    transform: scale(1.05);
}

/* Logo Zoom Modal for Auth Pages */
.logo-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo-zoom-overlay.active {
    display: flex;
}

.zoomed-logo {
    height: 500px;
    width: auto;
    animation: zoomIn 0.5s ease;
    filter: drop-shadow(4px 4px 20px rgba(255, 255, 255, 0.3));
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.auth-header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #666;
}

.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group i {
    color: #667eea;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.demo-credentials {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.demo-credentials h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.demo-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.demo-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    font-family: inherit;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.demo-btn i {
    font-size: 1.5rem;
    min-width: 24px;
}

.demo-btn div {
    flex: 1;
}

.demo-btn strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: #333;
}

.demo-btn span {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

.admin-btn {
    border-color: #f093fb;
}

.admin-btn:hover {
    border-color: #f093fb;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.admin-btn:hover strong,
.admin-btn:hover span {
    color: white;
}

.admin-btn i {
    color: #f093fb;
}

.admin-btn:hover i {
    color: white;
}

.manager-btn {
    border-color: #4facfe;
}

.manager-btn:hover {
    border-color: #4facfe;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.manager-btn:hover strong,
.manager-btn:hover span {
    color: white;
}

.manager-btn i {
    color: #4facfe;
}

.manager-btn:hover i {
    color: white;
}

.user-btn {
    border-color: #43e97b;
}

.user-btn:hover {
    border-color: #43e97b;
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
}

.user-btn:hover strong,
.user-btn:hover span {
    color: white;
}

.user-btn i {
    color: #43e97b;
}

.user-btn:hover i {
    color: white;
}

.auth-footer {
    text-align: center;
    color: #666;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
}

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

.auth-footer p {
    margin: 0.5rem 0;
}

/* Visual Side */
.auth-visual {
    flex: 1;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.visual-content {
    text-align: center;
    color: white;
}

.visual-content i {
    font-size: 5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.visual-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.visual-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }
    
    .auth-visual {
        display: none;
    }
    
    .auth-card {
        padding: 2rem;
    }
}
