/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Admin Login Container */
.admin-login-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 48px;
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}

.admin-login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #FF6B35, #FF8A65, #0052CC);
}

/* Logo Styles */
.logo {
    text-align: center;
    margin-bottom: 32px;
}

.admin-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35, #FF8A65);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.logo h1 {
    color: #172B4D;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.logo p {
    color: #6B778C;
    font-size: 14px;
    font-weight: 500;
}

/* Form Styles */
.login-form {
    margin-top: 32px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    color: #172B4D;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.required::after {
    content: " *";
    color: #DE350B;
}

/* Input Styles */
input[type="email"], input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #DFE1E6;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #FAFBFC;
}

input:focus {
    outline: none;
    border-color: #0052CC;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
    transform: translateY(-1px);
}

input.error {
    border-color: #DE350B;
    background: rgba(222, 53, 11, 0.05);
}

/* Button Styles */
.btn {
    width: 100%;
    background: linear-gradient(135deg, #0052CC, #0065FF);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 82, 204, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    background: #A5ADBA;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Message Styles */
.message {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.message.show {
    opacity: 1;
    transform: translateY(0);
}

.message.error {
    background: #FFEBE6;
    color: #DE350B;
    border: 1px solid #FFBDAD;
}

.message.success {
    background: #E3FCEF;
    color: #006644;
    border: 1px solid #ABF5D1;
}

/* Security Notice */
.security-notice {
    background: #FFF4E6;
    color: #B45309;
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 24px;
    font-size: 13px;
    border: 1px solid #FED7AA;
    text-align: center;
}

/* Footer Styles */
.footer {
    text-align: center;
    margin-top: 32px;
    color: #6B778C;
    font-size: 12px;
}

/* Media Queries */
@media (max-width: 480px) {
    .admin-login-container {
        padding: 32px 24px;
        margin: 20px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
}