/**
 * Booking Form - Payment Section Styles
 * Contains: .payment-section, .stripe-card-wrapper, .payment-badges, .terms-card
 */

/* Payment Section */
.payment-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.payment-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.stripe-card-wrapper {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 16px;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.stripe-card-wrapper.focused {
    border-color: #006db2;
    box-shadow: 0 0 0 4px rgba(0, 175, 163, 0.1);
}

.stripe-card-wrapper.error {
    border-color: #f87171;
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.12);
}

.stripe-card-wrapper .StripeElement {
    font-size: 1rem;
}

#card-errors {
    color: #b4231a;
    margin-top: 0.75rem;
    font-size: 0.92rem;
    min-height: 1.2rem;
}

.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.payment-badges span {
    background: #f3f4f6;
    color: #4b5563;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Terms Card */
.terms-card {
    margin-top: 2rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.terms-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #006db2;
    color: #fff;
}

.terms-card-header i {
    font-size: 1.25rem;
    color: #00afa3;
}

.terms-card-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
}

.terms-version-badge {
    background: rgba(0, 175, 163, 0.2);
    color: #00afa3;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.terms-card-body {
    max-height: 250px;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #475569;
}

.terms-card-body h2,
.terms-card-body h3,
.terms-card-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.terms-card-body h2:first-child,
.terms-card-body h3:first-child,
.terms-card-body h4:first-child {
    margin-top: 0;
}

.terms-card-body p {
    margin-bottom: 0.75rem;
}

.terms-card-body ul,
.terms-card-body ol {
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.terms-card-body li {
    margin-bottom: 0.25rem;
}

.terms-card-body::-webkit-scrollbar {
    width: 6px;
}

.terms-card-body::-webkit-scrollbar-track {
    background: #e2e8f0;
}

.terms-card-body::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 3px;
}

.terms-card-body::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.terms-card-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.terms-card-footer input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #00afa3;
}

.terms-card-footer label {
    font-size: 0.875rem;
    font-weight: normal;
    cursor: pointer;
    color: #475569;
}

.terms-card-footer label a {
    color: #00afa3;
    font-weight: 600;
    text-decoration: none;
}

.terms-card-footer label a:hover {
    text-decoration: underline;
}

.terms-content {
    color: #475569;
}

.terms-content h2 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content p {
    margin-bottom: 0.5rem;
}

.terms-content ul {
    margin: 0.5rem 0 0.75rem 1.25rem;
    padding: 0;
}

.terms-content li {
    margin-bottom: 0.25rem;
}

.terms-content strong {
    color: #1e293b;
}
