/* Price Alerts Styles */
.k5t-price-alert-wrapper {
    position: relative;
    margin: 0px 0px;
}

.k5t-price-alert-button {
    
    background: none !IMPORTANT;
    border: 0px solid #ddd;
    color: #333;
    padding: 0px 15px !important;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 2px 0 10px 10px !important;
    margin: 0 0 !important;
    justify-content: flex-end !important;    
    
    
}

.k5t-price-alert-button:hover {
    /*
    background: #e9e9e9;
    border-color: #ccc;
    */
}

.k5t-price-alert-icon {
    font-size: 16px;
}

/* Overlay */
.k5t-price-alert-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

/* Popup */
.k5t-price-alert-popup {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 380px;
    max-width: 90%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: k5tPopupSlideIn 0.3s ease;
}

@keyframes k5tPopupSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.k5t-price-alert-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.k5t-price-alert-popup-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.k5t-price-alert-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.k5t-price-alert-close:hover {
    color: #333;
}

.k5t-price-alert-popup-content {
    padding: 20px;
}

.k5t-price-alert-description {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.k5t-price-alert-current-price {
    margin: 0 0 20px 0;
    font-size: 15px;
    color: #333;
    font-weight: 600;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

/* Form fields */
.k5t-price-alert-field {
    margin-bottom: 15px;
}

.k5t-price-alert-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.k5t-price-alert-field input[type="email"],
.k5t-price-alert-field input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    text-align: left !important;
}

.k5t-price-input-wrapper {
    position: relative;
}

.k5t-price-input-wrapper .k5t-currency {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: 500;
}

.k5t-price-input-wrapper input {
    padding-left: 30px !important;
}

.k5t-price-hint {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: #888;
}

/* Checkbox */
.k5t-checkbox-field {
    margin: 20px 0;
}

.k5t-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.k5t-checkbox-label input[type="checkbox"] {
    margin: 2px 10px 0 0;
    flex-shrink: 0;
}

.k5t-checkbox-text a {
    color: #0073aa;
    text-decoration: none;
}

.k5t-checkbox-text a:hover {
    text-decoration: underline;
}

/* Actions */
.k5t-price-alert-actions {
    margin-top: 25px;
}

.k5t-price-alert-submit {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.k5t-price-alert-submit:hover {
    background: #005a87;
}

.k5t-price-alert-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success & Error messages */
.k5t-price-alert-success {
    text-align: center;
    padding: 30px 20px;
}

.k5t-success-icon {
    font-size: 40px;
    color: #46b450;
    margin-bottom: 15px;
}

.k5t-price-alert-success h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.k5t-price-alert-success p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.k5t-price-alert-error {
    background: #f5f5f5;
    color: #a64f4f;
    padding: 12px;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 480px) {
    .k5t-price-alert-popup {
        top: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }
    
    @keyframes k5tPopupSlideIn {
        from {
            transform: translateY(-20px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}


.custom-alert-btn {
    display: inline-flex;
    align-items: center;
    background-color: #e8eee7 !important; /* Verde chiarissimo e "spento" */
    color: #556b52 !important;   /* Testo verde scuro desaturato */
    padding: 8px 16px !important;
    border: none;
    border-radius: 4px !important;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 20px !important;
}
.custom-alert-btn .fa-bell { color: #ff9900!important; margin-right: 8px; }