/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * ...
 */

.eu-withdrawal-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    font-family: inherit;
}

.eu-withdrawal-header {
    text-align: center;
    margin-bottom: 25px;
}

.eu-withdrawal-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.eu-withdrawal-header p {
    color: #7f8c8d;
    font-size: 14px;
}

.eu-withdrawal-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.eu-withdrawal-progress::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.eu-withdrawal-step-indicator {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #95a5a6;
    transition: all 0.3s ease;
}

.eu-withdrawal-step-indicator.active {
    border-color: #2980b9;
    color: #2980b9;
    background: #ebf5fb;
}

.eu-withdrawal-step-indicator.completed {
    border-color: #27ae60;
    color: #ffffff;
    background: #27ae60;
}

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

.eu-withdrawal-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #34495e;
    font-size: 14px;
}

.eu-withdrawal-form-group input[type="text"],
.eu-withdrawal-form-group input[type="email"],
.eu-withdrawal-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #dcdde1;
    border-radius: 8px;
    font-size: 15px;
    color: #2c3e50;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.eu-withdrawal-form-group input:focus,
.eu-withdrawal-form-group textarea:focus {
    border-color: #2980b9;
    outline: none;
}

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

.eu-withdrawal-alert-danger {
    background-color: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #f8b4b4;
}

.eu-withdrawal-alert-success {
    background-color: #def7ec;
    color: #03543f;
    border: 1px solid #84e1bc;
    text-align: center;
}

.eu-withdrawal-review-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.eu-withdrawal-review-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.eu-withdrawal-review-row:last-child {
    margin-bottom: 0;
}

.eu-withdrawal-review-label {
    font-weight: bold;
    color: #7f8c8d;
}

.eu-withdrawal-review-value {
    color: #2c3e50;
}

.eu-withdrawal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
}

.eu-withdrawal-btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.eu-withdrawal-btn-primary {
    background-color: #2980b9;
    color: #ffffff;
    flex-grow: 1;
}

.eu-withdrawal-btn-primary:hover {
    background-color: #2471a3;
    color: #ffffff;
}

.eu-withdrawal-btn-danger {
    background-color: #c0392b;
    color: #ffffff;
    width: 100%;
}

.eu-withdrawal-btn-danger:hover {
    background-color: #a93226;
    color: #ffffff;
}

.eu-withdrawal-btn-secondary {
    background-color: #f1f2f6;
    color: #57606f;
}

.eu-withdrawal-btn-secondary:hover {
    background-color: #dfe4ea;
    color: #2f3542;
}

/* Footer & Account Hooks Link */
.eu-withdrawal-footer-after {
    margin-top: 15px;
    padding-top: 15px;
    margin-bottom: 20px;
    border-top: 1px solid #ebebeb;
    clear: both;
    width: 100%;
}

.eu-withdrawal-footer-link {
    color: #7f8c8d;
    transition: color 0.2s ease;
    text-decoration: underline;
    font-weight: 500;
}

.eu-withdrawal-footer-link:hover {
    color: #2980b9;
}

/* Customer Account Icon Box */
.eu-withdrawal-account-card {
    text-align: center;
}
.eu-withdrawal-account-card i {
    font-size: 32px;
    color: #2980b9;
}

/* Products Table Styles */
.eu-withdrawal-products-section {
    margin-top: 25px;
    margin-bottom: 25px;
}

.eu-withdrawal-products-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.eu-withdrawal-products-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    font-size: 14px;
}

.eu-withdrawal-products-table th,
.eu-withdrawal-products-table td {
    padding: 10px 12px;
    border: 1px solid #e9ecef;
    text-align: left;
}

.eu-withdrawal-products-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #34495e;
}

.eu-withdrawal-products-table select {
    padding: 4px 8px;
    border: 1px solid #dcdde1;
    border-radius: 4px;
    font-size: 13px;
    color: #2c3e50;
    background-color: #fff;
}
