/* Notificações */
.lunnaclub-download-notification,
.lunnaclub-bulk-download-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 15px 25px;
    background-color: #4CAF50;
    color: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 99999999999999999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.lunnaclub-download-notification.error,
.lunnaclub-bulk-download-notification.error {
    background-color: #f44336;
}

.lunnaclub-download-notification.show,
.lunnaclub-bulk-download-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.lunnaclub-download-notification.progress {
    padding-left: 48px;
    background-color: #2196F3;
}

.lunnaclub-download-notification.progress::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    margin-top: -9px;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: lunnaclub-spin 0.8s linear infinite;
}

.lunnaclub-download-notification.success {
    padding-left: 48px;
}

.lunnaclub-download-notification.success::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: translateY(-60%) rotate(45deg);
}

/* Botões de download */
.lunnaclub-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--primary-color, #3a86ff);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lunnaclub-download-button:hover {
    background-color: var(--primary-hover, #2563eb);
}

.lunnaclub-download-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner de carregamento */
.lunnaclub-spinner {
    display: none;
    text-align: center;
    padding: 20px;
    color: var(--secondary-color, #4b5563);
}

.lunnaclub-spinner::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid var(--secondary-color, #4b5563);
    border-top-color: transparent;
    border-radius: 50%;
    animation: lunnaclub-spin 1s linear infinite;
}

@keyframes lunnaclub-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Barra de Progresso de Download */
.lunnaclub-progress-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 340px;
    padding: 16px 20px;
    background-color: #ffffff;
    color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    z-index: 99999999999999999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.lunnaclub-progress-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.lunnaclub-progress-stage {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.lunnaclub-progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.lunnaclub-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color, #3a86ff), var(--primary-hover, #2563eb));
    border-radius: 3px;
    transition: width 0.6s ease;
}

.lunnaclub-progress-percent {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 6px;
    text-align: right;
    font-weight: 500;
}

@media (max-width: 480px) {
    .lunnaclub-progress-notification {
        left: 10px;
        right: 10px;
        width: auto;
    }
}
