/* EU Widerrufsbutton - Frontend Styles */

/* Footer Button */
.euwb-footer-wrapper {
    display: inline-block;
    margin: 8px 0;
}

.euwb-btn {
    display: inline-block;
    padding: 8px 18px;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.euwb-btn:hover {
    opacity: 0.85;
    text-decoration: none;
}

.euwb-btn.btn-xs {
    padding: 4px 10px;
    font-size: 11px;
}

.euwb-btn.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
}

.euwb-icon {
    margin-right: 5px;
}

.euwb-link {
    color: inherit;
    text-decoration: underline;
    font-size: 13px;
}

.euwb-link:hover {
    text-decoration: none;
}

/* Customer Account Link */
.euwb-account-link a {
    display: block;
    padding: 10px 15px;
}

.euwb-account-link i {
    margin-right: 8px;
}

/* Form Container */
.euwb-form-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 0 30px;
}

.euwb-info {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
}

.euwb-info p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.euwb-legal-links {
    margin-top: 10px;
    font-size: 12px;
}

.euwb-legal-links a {
    color: #337ff1;
}

/* Form Styles */
.euwb-withdrawal-form .form-group {
    margin-bottom: 18px;
}

.euwb-withdrawal-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 13px;
}

.euwb-withdrawal-form label.required::after,
.euwb-withdrawal-form label sup {
    color: #d9534f;
}

.euwb-withdrawal-form .form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.5;
    box-sizing: border-box;
}

.euwb-withdrawal-form .form-control:focus {
    border-color: #337ff1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(51, 127, 241, 0.15);
}

.euwb-withdrawal-form textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* Actions */
.euwb-actions {
    margin-top: 25px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.euwb-submit-btn,
.euwb-confirm-btn {
    font-weight: 600;
    padding: 10px 24px;
    font-size: 14px;
}

.euwb-confirm-btn {
    background-color: #d9534f;
    border-color: #d43f3a;
    color: #fff;
}

.euwb-confirm-btn:hover {
    background-color: #c9302c;
    color: #fff;
}

/* Confirmation Summary */
.euwb-confirm-box {
    margin-bottom: 20px;
}

.euwb-summary {
    margin-bottom: 20px;
}

.euwb-summary table td {
    padding: 8px 12px;
    vertical-align: top;
}

.euwb-summary table td:first-child {
    width: 180px;
    background-color: #f7f7f7;
}

/* Receipt / Confirmation Page */
.euwb-confirmation-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 0 30px;
}

.euwb-receipt {
    margin: 20px 0;
    padding: 25px;
    border: 2px solid #333;
    border-radius: 3px;
    background-color: #fff;
}

.euwb-receipt h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.euwb-receipt table td {
    padding: 8px 12px;
    vertical-align: top;
}

.euwb-receipt table td:first-child {
    width: 200px;
    background-color: #f7f7f7;
    font-weight: 600;
}

.euwb-receipt-note {
    margin-top: 15px;
    font-style: italic;
    color: #777;
    font-size: 12px;
}

/* PS 1.7 Card compatibility */
.euwb-info.card .card-block,
.euwb-summary.card .card-block,
.euwb-receipt.card .card-block {
    padding: 20px;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    #euwb-print-area,
    #euwb-print-area * {
        visibility: visible;
    }
    #euwb-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: 1px solid #000;
    }
    .euwb-actions {
        display: none !important;
    }
}
