.admin-auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0c0c14, #1a1a2e);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-auth-card {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.admin-auth-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--danger), var(--accent));
}

.admin-auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--danger);
    font-weight: 600;
    font-size: 0.9rem;
}

.admin-badge i {
    font-size: 1rem;
}

.admin-auth-header h1 {
    color: var(--light);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.admin-auth-form {
    animation: fadeIn 0.5s ease;
}

.admin-auth-form .form-group {
    margin-bottom: 1.5rem;
}

.admin-auth-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.admin-auth-form label i {
    color: var(--danger);
}

.admin-auth-form input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    transition: var(--transition);
}

.admin-auth-form input:focus {
    outline: none;
    border-color: var(--danger);
    box-shadow: 0 0 0 2px rgba(233, 69, 96, 0.2);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 1rem;
}

.two-factor-section {
    background: rgba(15, 52, 96, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--accent);
}

.two-factor-section h4 {
    color: var(--light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.two-factor-section h4 i {
    color: var(--danger);
}

.two-factor-section input {
    font-family: monospace;
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-align: center;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.security-check {
    margin: 1.5rem 0;
}

.check-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
}

.check-container input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

.check-container input:checked + .checkmark {
    background: var(--danger);
    border-color: var(--danger);
}

.check-container input:checked + .checkmark:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.check-label {
    font-size: 0.9rem;
}

.btn-admin-auth {
    width: 100%;
    padding: 1rem;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn-admin-auth:hover {
    background: #d63050;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(233, 69, 96, 0.3);
}

.admin-auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-indicators {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.indicator i {
    color: var(--success);
}

.back-to-site {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.back-to-site:hover {
    color: var(--danger);
}

.admin-warning {
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.admin-warning i {
    color: var(--danger);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.warning-content h3 {
    color: var(--light);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.warning-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.admin-auth-sidebar {
    display: none;
    width: 400px;
    margin-left: 3rem;
}

.sidebar-content {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-content h2 {
    color: var(--light);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.status-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.status-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-header i {
    font-size: 1.5rem;
    color: var(--danger);
}

.status-header h3 {
    color: var(--light);
    font-size: 1.1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0.8rem;
    background: rgba(0, 184, 148, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.status-indicator.online .indicator-dot {
    background: var(--success);
    box-shadow: 0 0 10px rgba(0, 184, 148, 0.5);
}

.status-indicator.offline .indicator-dot {
    background: var(--danger);
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-indicator span {
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 500;
}

.status-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.stat-value {
    color: var(--light);
    font-weight: 600;
    font-family: monospace;
    font-size: 1rem;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.feature i {
    color: var(--success);
    font-size: 0.9rem;
}

.recent-activity {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.recent-activity h3 {
    color: var(--light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.activity-list {
    max-height: 200px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item i {
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.activity-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.activity-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

@media (min-width: 1200px) {
    .admin-auth-sidebar {
        display: block;
    }
}

@media (max-width: 768px) {
    .admin-auth-card {
        padding: 1.5rem;
    }
    
    .admin-auth-header h1 {
        font-size: 1.5rem;
    }
    
    .security-indicators {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
}