/* Login Required Modal Styles */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.login-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.login-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideUp 0.4s ease-out;
    z-index: 10000;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.login-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.login-modal-icon i {
    font-size: 36px;
    color: #ffffff;
}

.login-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 12px;
    line-height: 1.4;
}

.login-modal-message {
    font-size: 15px;
    color: #5a6c7d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.login-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-login-modal,
.btn-cancel-modal {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login-modal {
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-login-modal:hover {
    background: linear-gradient(135deg, #002a52 0%, #0052a3 100%);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

.btn-login-modal:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.btn-cancel-modal {
    background: #f1f3f5;
    color: #495057;
    border: 2px solid #dee2e6;
}

.btn-cancel-modal:hover {
    background: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-2px);
}

.btn-cancel-modal:active {
    transform: translateY(0);
    background: #dee2e6;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-modal-content {
        padding: 30px 20px;
        max-width: 340px;
    }

    .login-modal-icon {
        width: 70px;
        height: 70px;
    }

    .login-modal-icon i {
        font-size: 32px;
    }

    .login-modal-title {
        font-size: 20px;
    }

    .login-modal-message {
        font-size: 14px;
    }

    .login-modal-buttons {
        flex-direction: column;
    }

    .btn-login-modal,
    .btn-cancel-modal {
        width: 100%;
    }
}

/* Animation for closing */
.login-modal.closing {
    animation: fadeOut 0.3s ease-out forwards;
}

.login-modal.closing .login-modal-content {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(30px);
        opacity: 0;
    }
}

