/* CSS for WooCommerce Pulsante Recesso Facile */

.wpr-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333333;
}

.wpr-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
}

.wpr-form-group {
    margin-bottom: 20px;
}

.wpr-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
}

.wpr-form-group input[type="text"],
.wpr-form-group input[type="email"],
.wpr-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #f7fafc;
}

.wpr-form-group input:focus,
.wpr-form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.wpr-btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
    background-color: #3182ce;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.wpr-btn:hover {
    background-color: #2b6cb0;
}

.wpr-btn:active {
    transform: scale(0.98);
}

.wpr-btn-secondary {
    display: inline-block;
    width: 100%;
    padding: 14px;
    background-color: #e2e8f0;
    color: #4a5568;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-top: 10px;
    text-decoration: none;
    box-sizing: border-box;
}

.wpr-btn-secondary:hover {
    background-color: #cbd5e0;
    color: #2d3748;
}

.wpr-btn-secondary:active {
    transform: scale(0.98);
}

.wpr-alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.wpr-alert-danger {
    background-color: #fff5f5;
    border-left: 4px solid #e53e3e;
    color: #c53030;
}

.wpr-alert-success {
    background-color: #f0fff4;
    border-left: 4px solid #38a169;
    color: #276749;
}

.wpr-alert-info {
    background-color: #ebf8ff;
    border-left: 4px solid #3182ce;
    color: #2b6cb0;
}

/* Order items list styling */
.wpr-products-list {
    margin: 20px 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.wpr-product-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
    background-color: #fff;
}

.wpr-product-item:last-child {
    border-bottom: none;
}

.wpr-product-checkbox {
    margin-right: 15px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.wpr-product-label {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    margin: 0;
}

.wpr-product-name {
    font-weight: 500;
    color: #2d3748;
}

.wpr-product-meta {
    font-size: 12px;
    color: #718096;
}

.wpr-product-price {
    font-weight: 600;
    color: #4a5568;
}

.wpr-legal-text {
    font-size: 12px;
    color: #718096;
    line-height: 1.6;
    margin-top: 15px;
    padding: 12px;
    background-color: #f7fafc;
    border-radius: 6px;
    border: 1px solid #edf2f7;
}

/* Order action button in my account table */
.woocommerce-button.wpr-account-btn {
    background-color: #e53e3e !important;
    color: #ffffff !important;
}

.woocommerce-button.wpr-account-btn:hover {
    background-color: #c53030 !important;
}
