body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.checkout-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff; /* Optional, to give a background to the header */
}

.deepl-logo {
    max-width: 150px; /* Adjust the width as needed */
    height: auto;
}


.plan-details, .summary-details {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.plan-details {
    flex: 3;
    margin-right: 20px;
}

.summary-details {
    flex: 1;
}

h2, h3 {
    margin-bottom: 10px;
}

label {
    display: block;
    margin: 10px 0 5px;
}

input[type="text"], select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.subscription-options {
    display: flex;
    margin: 20px 0;
}

.annual-subscription, .monthly-subscription {
    border: 2px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    margin-right: 10px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.annual-subscription.active, .monthly-subscription.active {
    border-color: #007bff; /* Highlight border color for the active plan */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3); /* Optional shadow effect */
}

.save {
    color: green;
    font-weight: bold;
}

.selected-plan {
    background-color: #f1f1f1;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.discount {
    color: green;
}

.payment-method {
    display: flex;
    align-items: center;
    margin-bottom: 15px; /* Optional: Adds space below the payment method */
}

.payment-method input[type="radio"] {
    margin-right: 10px; /* Adds space between radio button and label */
}

.additional-info h4 {
    margin-top: 20px;
}

/* General styles remain the same */

.half-width select {
    width: 50%;
}

/* Style for form rows to place items side by side */
.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-right: 15px; /* Adds space between the fields */
}

/* Remove margin from the last item to avoid extra spacing on the right */
.form-group:last-child {
    margin-right: 0;
}

input[type="text"], select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    margin-bottom: 10px; /* Adds a little space between inputs vertically */
}

/* Ensure a little extra space between side-by-side inputs */
.form-group {
    margin-right: 20px; /* Adjust this value to control the gap between inputs */
}

/* For the last form-group in each row, no margin is needed */
.form-row .form-group:last-child {
    margin-right: 0;
}



/* Progress Bar Styles */
.progress-bar {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background-color: #f1f1f1;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.step {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    color: #999;
}

.step.active {
    color: #0056b3;
    font-weight: bold;
}

/* Review Summary Styles */
.review-summary {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#continue-button, #pay-now-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Style for the review summary heading */
.summary-heading {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* Style for each summary item */
.summary-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Icon style for summary items */
.summary-item .icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    opacity: 0.8;
}

/* Success Page Styles */
.success-page {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.confirmation-box {
    text-align: center;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.confirmation-box h2 {
    color: #0056b3;
    font-size: 28px;
    margin-bottom: 10px;
}

.confirmation-box p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.payment-summary {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.payment-summary h3 {
    margin-bottom: 15px;
    color: #333;
}

.summary-item {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
    display: inline-flex;
    gap: 8px;
}

.return-button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.return-button:hover {
    background-color: #0056b3;
}

/* Fullscreen overlay */
/* Fullscreen overlay */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's on top */
}

/* Container for the iframe */
#popup-container {
    position: relative;
    width: 80%;
    max-width: 600px;
    height: 80%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

/* Make the iframe fill the container */
#payment-iframe {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    border: none;
}

/* Close button */
#close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1;
}








