/**
 * COGES PDF Manager Styles v5.0
 * Stili per gestione download PDF tariffe
 */

/* Notifiche */
.coges-notifica {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-weight: 500;
    display: none;
    min-width: 250px;
    max-width: 400px;
}

.coges-notifica.success {
    background: #10b981;
    color: white;
}

.coges-notifica.error {
    background: #ef4444;
    color: white;
}

.coges-notifica.info {
    background: #3b82f6;
    color: white;
}

/* Pulsante download tariffa */
.coges-download-tariffa-pdf {
    display: inline-block;
    padding: 10px 20px;
    background: #fdb913;
    color: #2c2c2c;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 15px;
}

.coges-download-tariffa-pdf:hover {
    background: #e5a511;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 185, 19, 0.4);
}

.coges-download-tariffa-pdf:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.coges-download-tariffa-pdf .spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #2c2c2c;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .coges-notifica {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .coges-download-tariffa-pdf {
        width: 100%;
        text-align: center;
    }
}
