/* Login Modal */
.login-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.login-modal.show {
    opacity: 1;
    pointer-events: all;
}

.login-content {
    background: linear-gradient(135deg, rgba(138, 108, 251, 0.95), rgba(168, 108, 251, 0.95));
    padding: 3rem;
    border-radius: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    text-align: center;
}

.login-modal.show .login-content {
    transform: scale(1);
}

.login-heart {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: loginHeartBeat 1.5s ease-in-out infinite;
}

@keyframes loginHeartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.login-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-input {
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.login-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.25);
}

.login-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff6b9a, #ff9ec8);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 107, 154, 0.4);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 107, 154, 0.6);
}

.login-button:active {
    transform: translateY(0);
}

.login-error {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.2);
    padding: 0.8rem;
    border-radius: 12px;
    font-size: 0.95rem;
    display: none;
    margin-top: 0.5rem;
}

.login-error.show {
    display: block;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Admin Panel Button */
.admin-panel-button {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 165, 0, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: none;
    align-items: center;
    gap: 0.5rem;
    z-index: 100;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    font-weight: 700;
}

.admin-panel-button.show {
    display: flex;
}

.admin-panel-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

.admin-icon {
    font-size: 1.3rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .login-content {
        padding: 2rem;
    }
    
    .login-title {
        font-size: 1.7rem;
    }
    
    .admin-panel-button {
        top: 70px;
        right: 15px;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .login-heart {
        font-size: 3rem;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .login-input {
        font-size: 1rem;
        padding: 0.9rem 1.2rem;
    }
}

