* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 640px;
    margin: 40px auto;
    padding: 0 20px;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: #1a1a2e;
}

h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #1a1a2e;
}

.card {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.form-group .error-msg {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 4px;
}

.form-group input.invalid,
.form-group select.invalid {
    border-color: #e74c3c;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

/* Price summary */
.price-summary {
    background: #f0f4ff;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.price-summary .price-line {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

.price-summary .price-line.total {
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 1px solid #c8d6f0;
    margin-top: 8px;
    padding-top: 8px;
}

/* Button */
.btn {
    display: inline-block;
    background: #4a6cf7;
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.btn:hover {
    background: #3a5ce5;
}

/* Thank you page */
.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.summary-table th,
.summary-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

.summary-table th {
    width: 40%;
    color: #666;
    font-weight: 500;
}

.summary-table td {
    font-weight: 600;
}

.price-box {
    background: #f0f4ff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.price-box .line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.price-box .line.total {
    font-weight: 700;
    font-size: 1.15rem;
    border-top: 2px solid #4a6cf7;
    margin-top: 10px;
    padding-top: 10px;
}

.price-box .line.eur {
    color: #4a6cf7;
    font-weight: 600;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-error {
    background: #ffeaea;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #4a6cf7;
    text-decoration: none;
    font-weight: 500;
}

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