/* LaLaPanel WHM Admin Login Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #4a5568 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Background pattern */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    background-size: 100px 100px;
}

.admin-login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.admin-login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-login-header {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.admin-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.admin-logo h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.whm-badge {
    background: #e53e3e;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.admin-login-header p {
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 500;
}

.admin-login-form {
    padding: 40px 30px 30px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.2s;
    background: #f8fafc;
}

.form-group input:focus {
    outline: none;
    border-color: #3182ce;
    background: white;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group input[readonly] {
    background: #edf2f7;
    cursor: not-allowed;
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: #718096;
    margin-top: 4px;
    font-style: italic;
}

.btn {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-admin {
    background: linear-gradient(135deg, #3182ce 0%, #2b77cb 100%);
    color: white;
}

.btn-admin:hover {
    background: linear-gradient(135deg, #2c5aa0 0%, #2a69b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(49, 130, 206, 0.3);
}

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

.btn-icon {
    font-size: 1.1rem;
}

.alert {
    margin-bottom: 25px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-error {
    background: #fed7d7;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.alert strong {
    font-weight: 600;
}

.admin-login-footer {
    background: #f8fafc;
    padding: 25px 30px;
}

.security-notice {
    margin-bottom: 20px;
    padding: 16px;
    background: #fff5cd;
    border: 1px solid #f6e05e;
    border-radius: 8px;
}

.security-notice h4 {
    color: #744210;
    font-size: 0.9rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.security-notice p {
    color: #975a16;
    font-size: 0.85rem;
    line-height: 1.4;
}

.copyright {
    text-align: center;
}

.copyright p {
    font-size: 0.8rem;
    color: #718096;
}

/* Loading state */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: white;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 480px) {
    .admin-login-container {
        padding: 15px;
    }
    
    .admin-login-header {
        padding: 30px 20px;
    }
    
    .admin-logo h1 {
        font-size: 1.8rem;
    }
    
    .admin-login-form {
        padding: 30px 20px 20px;
    }
    
    .admin-login-footer {
        padding: 20px;
    }
}

/* Enhanced security styling */
.form-group input[type="password"] {
    font-family: monospace;
    letter-spacing: 2px;
}

.form-group input[type="password"]::placeholder {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: normal;
}