body.modal-open {
    overflow: hidden;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    border: none;
    width: 90%;
    max-width: 800px;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-button {
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.col-left {
    width: 45%;
    padding: 40px;
    background-color: #f8f9fa;
}

.col-right {
    width: 55%;
    padding: 40px;
    position: relative;
}

.col-left h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 30px;
    color: #333;
    font-weight: bold;
}

.price-breakdown {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
}

.price-row.total-row {
    border-top: 2px solid #e9ecef;
    padding-top: 15px;
    font-weight: bold;
    font-size: 18px;
    color: #007bff;
}

.col-right h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-row input,
.form-row select {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: #007bff;
}

.payment-method-selection {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.payment-method-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s;
    flex: 1;
}

.payment-method-option:hover {
    border-color: #007bff;
    background-color: #f8f9ff;
}

.payment-method-option input[type="radio"] {
    margin-right: 10px;
    width: auto;
}

.payment-method-option input[type="radio"]:checked + .payment-method-label {
    color: #007bff;
    font-weight: bold;
}

.payment-method-label {
    font-size: 16px;
    font-weight: 500;
}

.pay-now-btn {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.pay-now-btn:hover {
    background-color: #0056b3;
}

.pay-now-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#paypal-button-container {
    width: 100%;
    margin-top: 10px;
    min-height: 50px;
}

#paypal-button-container.hidden {
    display: none;
}

#thank-you-message {
    text-align: center;
    padding: 40px;
}


