/* Admin Login Modal specific styles */
.admin-login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.admin-login-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.admin-login-card {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(220, 53, 69, 0.3);
    /* Red tint for admin feel */
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(220, 53, 69, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.admin-login-overlay.active .admin-login-card {
    transform: scale(1);
}

.admin-login-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.admin-login-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(17, 24, 39, 0.8));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ef4444;
    /* Tailwind red-500 */
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.2);
}

.admin-login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.admin-login-subtitle {
    color: #9ca3af;
    /* gray-400 */
    font-size: 0.875rem;
}

.admin-login-bg-decoration {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(220, 53, 69, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: pulse-slow 8s infinite ease-in-out;
    z-index: 1;
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.admin-input-group {
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.admin-input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.admin-input-wrapper {
    position: relative;
}

.admin-input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    /* gray-500 */
    transition: color 0.2s;
}

.admin-input {
    width: 100%;
    background: rgba(31, 41, 55, 0.5);
    /* gray-800 */
    border: 1px solid rgba(75, 85, 99, 0.5);
    /* gray-600 */
    color: #fff;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.admin-input:focus {
    outline: none;
    border-color: #ef4444;
    background: rgba(31, 41, 55, 0.8);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.admin-input:focus+i {
    color: #ef4444;
}

.btn-admin-submit {
    width: 100%;
    background: linear-gradient(to right, #dc2626, #b91c1c);
    /* red-600 to red-700 */
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
    z-index: 2;
    margin-top: 1rem;
}

.btn-admin-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-admin-submit:active {
    transform: translateY(0);
}

.btn-admin-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
    z-index: 10;
}

.btn-admin-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}