/* Login Page Styles */

.login-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 20px;
    z-index: 9999;
}

.login-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    margin: 0 auto 20px;
    width: 48px;
    height: 48px;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.login-subtitle {
    font-size: 14px;
    color: #95a5a6;
    margin: 0;
}

.login-messages {
    margin-bottom: 24px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 12px;
}

.alert-error,
.alert-danger {
    background-color: #fee;
    color: #e74c3c;
    border: 1px solid #fcc;
}

.alert-success {
    background-color: #d4edda;
    color: #27ae60;
    border: 1px solid #c3e6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #f39c12;
    border: 1px solid #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #3498db;
    border: 1px solid #bee5eb;
}

.alert-icon {
    font-weight: 700;
    font-size: 16px;
}

.alert-message {
    flex: 1;
}

.login-form {
    margin-bottom: 28px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #2c3e50;
    background-color: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.login-form input[type="text"]::placeholder,
.login-form input[type="password"]::placeholder {
    color: #95a5a6;
}

.form-errors {
    margin-top: 6px;
}

.error-text {
    display: block;
    font-size: 12px;
    color: #e74c3c;
    font-weight: 500;
}

.btn-login {
    width: 100%;
    padding: 14px 20px;
    background-color: #10B981;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login:hover {
    background-color: #0ea371;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

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

.demo-credentials {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e0e6ed;
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
}

.demo-header svg {
    color: #10B981;
}

.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.credential-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #e0e6ed;
    transition: all 0.2s ease;
}

.credential-item:hover {
    border-color: #10B981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.credential-role {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
}

.credential-details {
    font-size: 12px;
    color: #95a5a6;
    font-family: 'Courier New', monospace;
}

@media (max-width: 480px) {
    .login-card {
        padding: 28px 24px;
    }
    .login-title {
        font-size: 20px;
    }
    .credential-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .credential-details {
        font-size: 11px;
    }
}