:root {
    --primary-color: #003366;
    --primary-hover: #002244;
    --white: #ffffff;
    --border-color: #dde3ea;
    --text-muted: #6c757d;
    --error-color: #dc3545;
    --success-color: #28a745;
    --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    font-family: 'Poppins', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    color: #333;
}
.admin-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgwLDAsMCwwLjAyKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
}
.admin-card {
    width: 100%;
    max-width: 480px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    animation: fadeIn 0.5s ease-out;
}
.admin-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.admin-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    transition: var(--transition);
}
.admin-title {
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    font-size: 1.8rem;
}
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}
.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}
.form-control {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    font-size: 1rem;
    background-color: #f9fafc;
}
.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
    background-color: var(--white);
}
.form-text {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.password-input-wrapper {
    position: relative;
}
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
}
.toggle-password:hover {
    color: var(--primary-color);
}
.btn {
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
    cursor: pointer;
}
.btn-block {
    width: 100%;
}
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.btn-primary:active {
    transform: translateY(0);
}
.form-actions {
    margin-top: 2rem;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.form-control.invalid {
    border-color: var(--error-color);
}
.form-control.valid {
    border-color: var(--success-color);
}
.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: none;
}
@media (max-width: 576px) {
    .admin-container {
        padding: 1rem;
    }
    .admin-card {
        padding: 1.5rem;
    }
    .admin-title {
        font-size: 1.5rem;
    }
}