.ast-site-header {
    margin-bottom: 0 !important;
}
.trial-registration-container {
    display: flex;
    margin-right: unset !important;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    max-width: 100% !important;
}

/* Left Section */
.left-section {
    background: #0A0F2C;
    padding: 120px 32px 32px;
    color: white;
    overflow: hidden;
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

@media (min-width: 1200px) {
    .left-section {
        width: 45%;
    }

    .right-section {
        width: 55%;
    }
    .trial-registration-container{
        height: 800px;
    }
}

.brush-stroke-top {
    position: absolute;
    top: 0;
    right: 0;
    max-width: none;
    height: auto;
    z-index: 1;
}

.eligibility-card,
.video-section {
    position: relative;
    z-index: 2;
}

.eligibility-card {
    background: #1A1F4B;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    border: 2px solid #1A1F4B;
}

.eligibility-title {
    color: #FF4D15 !important;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    text-transform: uppercase;
}

.eligibility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eligibility-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #fff;
    line-height: 1.6;
}

.eligibility-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    background-image: url('../images/Icon_1.png');
    /* Update the path */
    background-size: contain;
    background-repeat: no-repeat;
}


.video-section {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-top: 1rem 0;
}

.video-container {
    flex: 0 1 calc(50% - 12px);
    /* Two videos side by side */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* Responsive for smaller devices */
@media (max-width: 768px) {
    .video-container {
        flex: 1 1 100%;
        /* Stack vertically on small screens */
    }
}

/* Right Section */
.right-section {
        margin-top: 10px;
        height: 100%;
        overflow: auto;
        padding: 30px 80px;
        
}

.section-heading {
    display: inline-block;
    background-color: #9DA8F133;
    /* This is #9DA8F1 with 20% opacity */
    color: #0A0B5B;
    /* Dark blue text */
    font-size: 16px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
}

.right-section h1 {
    font-size: 32px;
    font-weight: 700;
    color: #0A0F2C;
    margin-bottom: 32px;
}

.form-section {
    background: white;
    border-radius: 16px;
    margin-bottom: 24px;
}

.ui-datepicker select.ui-datepicker-year{
    padding: .5em .8em .5em .8em;
}

.form-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #0A0F2C;
    margin-bottom: 24px;
}

.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0A0F2C;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    border: 1px solid #E2E8F0;
    border-radius: 8px !important;
    font-size: 16px;
    color: #0A0F2C;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #FF4D15;
    outline: none;
}

.form-group input[readonly] {
    background-color: #F8FAFC;
    border-radius: 8px;
}

.form-group.has-error input,
.form-group.has-error select {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.form-group.has-error label {
    color: #dc3545;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.checkbox-group label {
    font-size: 14px;
    margin-bottom: 0;
}

.checkbox-group.has-error {
    color: #dc3545;
}

.terms-link,
.privacy-link {
    color: #FF4D15;
    text-decoration: none;
}

.amount-box {
    background: #F1F5F9;
    border-radius: 8px;
    padding: 16px;
    margin: 24px 0;
    font-weight: 600;
    color: #0A0F2C;
}

.gst-text {
    color: #64748B;
    font-weight: normal;
}

.payment-note {
    font-size: 14px;
    color: #64748B;
    margin-top: 8px;
    font-weight: normal;
}

.sale-price {
    color: #FF4D15;
    font-weight: 700;
    margin-right: 8px;
}

.regular-price {
    text-decoration: line-through;
    color: #64748B;
    font-weight: normal;
    font-size: 0.9em;
}

.pay-register-btn {
    width: 100%;
    padding: 16px;
    background: #FF4D15;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pay-register-btn:hover {
    background: #E63900;
}

/* Datepicker customization */
.ui-datepicker {
    background: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
}

.ui-datepicker .ui-datepicker-header {
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 8px;
}

.ui-datepicker .ui-datepicker-title {
    color: #0A0F2C;
}

.ui-datepicker th {
    color: #64748B;
    font-weight: 500;
}

.ui-datepicker td {
    padding: 2px;
}

.ui-datepicker td a {
    text-align: center;
    border-radius: 4px;
}

.ui-datepicker td a.ui-state-active {
    background: #FF4D15;
    color: white;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #ef9a9a;
    font-size: 14px;
    display: none;
}

.pay-register-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Payment Callback Page */
.bcpl-payment-callback {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.bcpl-payment-callback h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.bcpl-message {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.bcpl-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bcpl-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.bcpl-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.bcpl-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.bcpl-order-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    text-align: left;
}

.bcpl-order-details p {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
}

.bcpl-actions {
    margin-top: 30px;
}

.bcpl-actions .button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0056b3;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.bcpl-actions .button:hover {
    background-color: #004494;
    color: #fff;
}

/* Payment Callback Page Styles */
.bcpl-payment-callback-container {
    display: flex;
    min-height: 100vh;
    background: #fff;
}

.bcpl-payment-status {
    flex: 1;
    background: #0A1172;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.brush-stroke {
    position: absolute;
    width: 100%;
    height: 150px;
    background-repeat: no-repeat;
    background-size: cover;
}

.brush-stroke.top {
    top: 0;
    background-image: url('../images/brush-stroke-top.png');
}

.brush-stroke.bottom {
    bottom: 0;
    background-image: url('../images/brush-stroke-bottom.png');
    transform: rotate(180deg);
}

.status-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    z-index: 1;
}

.bcpl-payment-status h2 {
    font-size: 36px;
    margin: 20px 0 10px;
    color: #FF5722;
    font-weight: 600;
}

.bcpl-payment-status p {
    font-size: 18px;
    color: #fff;
    margin: 0;
}

.status-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
}

.status-icon.success {
    background: url('../images/success-icon.svg') no-repeat center;
    background-size: contain;
}

.status-icon.failed {
    background: url('../images/failed-icon.svg') no-repeat center;
    background-size: contain;
}

.bcpl-transaction-details {
    flex: 1;
    padding: 40px;
    background: #F5F6FA;
    display: flex;
    justify-content: center;
    align-items: center;
}

.transaction-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 500px;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.card-header .icon {
    font-size: 24px;
    margin-right: 10px;
}

.card-header h3 {
    font-size: 20px;
    color: #0A1172;
    margin: 0;
    font-weight: 600;
}

.detail-row {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-row .label {
    color: #666;
    font-size: 14px;
}

.detail-row .value {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.status-badge.paid {
    background: #E8F5E9;
    color: #2E7D32;
}

.status-badge.failed {
    background: #FFEBEE;
    color: #C62828;
}

.date-time {
    display: flex;
    gap: 40px;
    background: #F5F6FA;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.date-section,
.time-section {
    flex: 1;
}

.disclaimer {
    margin-top: 30px;
    padding: 15px;
    background: #FFF3E0;
    border-radius: 4px;
}

.disclaimer p {
    font-size: 14px;
    color: #E65100;
    margin: 0;
}

.action-buttons {
    margin-top: 30px;
    text-align: center;
}

.button.done-button,
.button.back-button {
    display: inline-block;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.button.done-button {
    background: #FF5722;
    color: #fff;
    border: none;
}

.button.back-button {
    background: #f44336;
    color: #fff;
    border: none;
}

.button.done-button:hover,
.button.back-button:hover {
    opacity: 0.9;
}

/* Error state */
.bcpl-payment-callback-container.error {
    flex-direction: column;
    max-width: 600px;
    text-align: center;
}

.bcpl-payment-callback-container.error .bcpl-payment-status {
    padding: 40px;
} 


.entry-header.ast-no-thumbnail {
    display: none !important;
}

.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
}

.entry-content[data-ast-blocks-layout]>* {
     /* max-width: var(--wp--custom--ast-content-width-size); */
     margin-left: 0;
     margin-right: auto;
}

.info-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #132254;
    /* Dark Blue */
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 20px;
    font-family: 'Helvetica', sans-serif;
    width: 100%;
}

.info-icon {
    font-size: 16px;
    line-height: 1;
}

.modal {
    display: none;
    /* Initial state is hidden */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    overflow-y: auto;
}

/* Add a separate class for when modal is active */
.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: transparent;
    position: relative;
    width: calc(100% - 30px);
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}
.modal-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    right: -30px;
    top: -30px;
    font-size: 24px;
    font-weight: normal;
    cursor: pointer;
    color: #fff;
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    z-index: 1001;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.close-modal:hover {
    opacity: 1;
}

.modal-body {
    padding: 0;
    line-height: 0;
    height: calc(100vh - 100px);
}

.info-icon {
    cursor: pointer;
    transition: transform 0.2s ease;
    font-size: 1.2em;
}

.info-icon:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 0 10px;
    }

    .close-modal {
        right: -10px;
        top: -40px;
    }
}

@media (max-width: 768px) {
    .trial-registration-container {
        flex-direction: column;
    }

    .left-section {
        max-width: 100%;
        padding: 60px 16px 16px;
    }
    
    .right-section {
        max-width: 100%;
        padding: 0 16px;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .section-heading {
        font-size: 14px;
        padding: 3px 10px;
    }

    .eligibility-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .video-container {
        flex: 1 1 100%;
    }

    .pay-register-btn {
        font-size: 14px;
        padding: 12px;
    }

    .info-banner {
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: #132254;
        /* Dark Blue */
        color: white;
        padding: 10px 16px;
        border-radius: 8px;
        font-size: 14px;
        margin-top: 20px;
        font-family: 'Helvetica', sans-serif;
        width: 100%;
    }

    .info-icon {
        font-size: 16px;
        line-height: 1;
    }
}