/* SPMedia EU Withdrawal — Frontend styles */

.euwithdrawal-wrap {
    max-width: 680px;
    margin: 0 auto;
    font-family: inherit;
}

.euwithdrawal-step-title {
    font-size: 1.4em;
    font-weight: 700;
    margin: 0 0 12px;
    color: inherit;
}

.euwithdrawal-intro {
    margin: 0 0 20px;
    color: #555;
}

/* Fields */
.euwithdrawal-field {
    margin-bottom: 18px;
}

.euwithdrawal-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: .9em;
}

.euwithdrawal-optional {
    font-weight: 400;
    color: #888;
    margin-left: 4px;
}

.euwithdrawal-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
}

.euwithdrawal-input[readonly] {
    background: #f8f8f8;
    color: #555;
}

.euwithdrawal-radio {
    display: block;
    margin-bottom: 6px;
    font-weight: 400;
    cursor: pointer;
}

.euwithdrawal-checkbox-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    line-height: 1.5;
}

.euwithdrawal-checkbox-label input { margin-top: 3px; flex-shrink: 0; }

/* Items table */
.euwithdrawal-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.euwithdrawal-items-table th,
.euwithdrawal-items-table td {
    padding: 8px 10px;
    border: 1px solid #e0e0e0;
    font-size: .9em;
    text-align: left;
}

.euwithdrawal-items-table th { background: #f9f9f9; font-weight: 600; }

/* Legal block */
.euwithdrawal-legal-block {
    background: #f8f8f8;
    border-left: 4px solid #2271b1;
    padding: 14px 18px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
    font-size: .9em;
    color: #444;
    line-height: 1.6;
}

/* Review block */
.euwithdrawal-review-block {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 16px;
}

.euwithdrawal-review-block p { margin: 4px 0; font-size: .9em; }

/* Buttons */
.euwithdrawal-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.euwithdrawal-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: opacity .15s;
}

.euwithdrawal-btn:hover { opacity: .85; }

.euwithdrawal-btn--primary {
    background: #2271b1;
    color: #fff;
}

.euwithdrawal-btn--secondary {
    background: #f0f0f1;
    color: #1d2327;
}

.euwithdrawal-link {
    color: #2271b1;
    text-decoration: none;
    font-size: .9em;
}

.euwithdrawal-link:hover { text-decoration: underline; }

/* Notices */
.euwithdrawal-notice {
    padding: 12px 16px;
    border-radius: 4px;
    margin: 14px 0;
    font-size: .9em;
}

.euwithdrawal-notice--error   { background: #fde8e8; border-left: 4px solid #cc1818; color: #7b1010; }
.euwithdrawal-notice--warning { background: #fff8e1; border-left: 4px solid #f5a623; color: #6b4f00; }

/* Success state */
.euwithdrawal-success {
    text-align: center;
    padding: 40px 20px;
}

.euwithdrawal-success__icon {
    font-size: 3em;
    color: #007828;
    margin-bottom: 12px;
}

.euwithdrawal-success h2 { margin: 0 0 12px; }
.euwithdrawal-success p  { color: #555; margin: 0 0 10px; }

/* My Account / order detail link */
.euwithdrawal-order-detail-link { margin-top: 16px; }
.euwithdrawal-link              { color: inherit; }

/* Footer link */
.euwithdrawal-footer-link {
    font-size: .85em;
}
