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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.jum-container-offer {
    max-width: calc(100% - 40px);
}

.jum_stripe-offer-page {
    min-height: 100vh;
    padding: 40px 20px;
    background-color: #f5f5f5;
}

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

.jum_stripe-offer-header {
    text-align: center;
    margin-bottom: 40px;
}

.jum_stripe-offer-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.jum_main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Left Column - Pricing Card */
.jum_pricing-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.jum_pricing-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.jum_pricing-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.jum_price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.jum_price .currency {
    font-size: 1.8rem;
}

.jum_price .period {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
}

/* Features Table */
.jum_features-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.jum_features-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #e9ecef;
    padding: 20px;
    font-weight: 600;
    color: #333;
}

.jum_feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    align-items: center;
}

.jum_feature-row:last-child {
    border-bottom: none;
}

.jum_feature-row:nth-child(even) {
    background: #f8f9fa;
}

.jum_feature-name {
    color: #333;
    font-weight: 500;
}

.jum_feature-value {
    text-align: right;
    color: #666;
}

.jum_feature-check {
    text-align: right;
    color: #28a745;
    font-size: 1.2rem;
}

.jum_feature-cross {
    text-align: right;
    color: #dc3545;
    font-size: 1.2rem;
}

.jum_highlight-row {
    background: #6c757d !important;
    color: white;
}

.jum_highlight-row .jum_feature-name,
.jum_highlight-row .jum_feature-value {
    color: white;
}

/* Right Column - Offer Details */
.jum_offer-details {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.jum_offer-details h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.jum_quantity-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.jum_quantity-label {
    font-weight: 500;
    color: #333;
}

.jum_quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.jum_quantity-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #BD9847;
    background: #BD9847;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.jum_quantity-btn:hover {
    background: #a5853e;
    border-color: #BD9847;
    color: rgb(215, 215, 215);
}

.jum_quantity-display {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    max-width: 70px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.jum_price-breakdown {
    margin-bottom: 30px;
}

.jum_price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #333;
}

.jum_price-row.total {
    font-weight: 600;
    font-size: 1.1rem;
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
    margin-top: 10px;
}

.jum_price-discount-offer {
    font-weight: 300;
    font-size: 0.9rem;
}

/* Form Styles */
.jum_user-form {
    margin-top: 30px;
}

.jum_input-container {
    margin-bottom: 20px;
}

.jum_input-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.jum_input-container input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
    background: #f8f9fa;
}

.jum_input-container input:focus {
    outline: none;
    border-color: #6c757d;
    background: white;
}

.jum_checkbox-container {
    margin-bottom: 15px;
}

.jum_checkbox-container label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
}

.jum_checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Inline checkbox layout with label on left, checkbox on right */
.jum_checkbox-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px 0;
}

.jum_checkbox-inline .jum_label {
    margin-bottom: 0;
    font-weight: 500;
    color: #333;
    flex: 1;
}

.jum_checkbox-inline input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-left: 15px;
    transform: scale(1.2);
    cursor: pointer;
}

.jum_checkbox-container a {
    color: #6c757d;
    text-decoration: underline;
}

.jum_btn-quaternary {
    width: 100%;
    padding: 15px;
    background: #BD9847;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 20px;
}

.jum_btn-quaternary:hover {
    background: #a5853e;
    color: rgb(215, 215, 215);
}

.jum_btn-quaternary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Spinner Overlay */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #6c757d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .jum_main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .jum_stripe-offer-header h1 {
        font-size: 2rem;
    }
    
    .jum_features-header,
    .jum_feature-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .jum_feature-value,
    .jum_feature-check,
    .jum_feature-cross {
        text-align: center;
        margin-top: 5px;
    }
    
    .jum_quantity-section {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        text-align: center;
    }

    .jum-container-offer {
        max-width: 100%;
    }
}

/* Capitalize customer name and company fields */
#customer_first_name,
#customer_last_name,
#customer_company_name {
    text-transform: capitalize;
}