/* TrimRx Checkout Page Styles */
:root {
    --primary-color: #203e5b;
    --background-color: #FDFBF6;
    --accent-color: #FFD282;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 30px;
}

.logo img {
    height: 40px;
}

.timer {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: bold;
}

/* Main Content Styles */
main {
    display: flex;
    flex-direction: column;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* FSA/HSA Banner */
.fsa-hsa-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.icon-check {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

.icon-check::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--success-color);
    border-radius: 50%;
}

/* Product Selector */
.product-selector {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.product-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-option.active {
    border-color: var(--primary-color);
    background-color: rgba(32, 62, 91, 0.05);
}

.product-image {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info h2 {
    font-size: 18px;
    margin-bottom: 5px;
}

.product-info p {
    color: var(--dark-gray);
    font-size: 14px;
}

/* Goal Section */
.goal-section {
    margin-bottom: 30px;
}

.goal-highlight {
    background-color: var(--light-gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

/* Includes Section Styling */
.includes-section {
    margin-top: 15px;
}

.includes-section ul {
    list-style: none;
    margin-top: 10px;
}

.includes-section li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.check-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

/* Shipping Plan */
.shipping-plan {
    margin-bottom: 30px;
}

.plan-option {
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.plan-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(32, 62, 91, 0.05);
}

.plan-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-container {
    text-align: right;
}

.original-price {
    text-decoration: line-through;
    color: var(--dark-gray);
    font-size: 16px;
    margin-right: 10px;
}

.current-price {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
}

.price-period {
    color: var(--dark-gray);
    font-size: 16px;
}

/* Total Section */
.total-section {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
}

.total-price {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}

.original-total {
    text-decoration: line-through;
    color: var(--dark-gray);
    font-size: 18px;
    margin-right: 15px;
}

.current-total {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: bold;
}

.savings-message {
    text-align: center;
    background-color: #e8f5e9;
    padding: 10px;
    border-radius: var(--border-radius);
    color: var(--success-color);
}

/* Payment Section */
.payment-section {
    margin-bottom: 30px;
}

.card-details {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.card-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 15px;
}

.card-icon {
    width: 40px;
    height: 25px;
    background-color: white;
    border-radius: 4px;
    border: 1px solid var(--medium-gray);
}

.card-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

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

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    background-color: white;
    font-size: 16px;
}

/* Checkout Button */
.checkout-button {
    width: 100%;
    padding: 20px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-button:hover {
    background-color: #ffc65e;
}

/* Testimonial Section */
.testimonial-section {
    text-align: center;
    margin-bottom: 30px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    color: var(--dark-gray);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }
    
    .plan-details {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .price-container {
        text-align: center;
    }
    
    .form-row {
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .product-selector {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .product-option {
        flex: 1;
        min-width: 200px;
    }
}
