#msform {
    width: 100%;
    margin: auto;
    position: relative;
    font-family: 'Arial', sans-serif;
}

/* Fieldset Styles */
#msform fieldset {
    background: #ffffff;
    border: 0;
    border-radius: 3px;
    padding: 20px 30px;
    width: 80%;
    margin: 0 10%;
    position: relative;
}

/* Progressbar Container */
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    counter-reset: step;
    list-style: none;
    padding: 0;
}

/* Each Step (li) */
#progressbar li {
    width: 33.33%; /* Adjust if you have more steps */
    float: left;
    position: relative;
    text-align: center;
    color: #7d7d7d; /* Label text remains grey */
}

/* Circle for each step */
#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border: 2px solid #ccc; /* Grey border by default */
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background: #fff; /* White background by default */
    position: relative;
    z-index: 2;
}

/* Connector line between steps */
#progressbar li:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #ccc; /* Grey line by default */
    top: 15px; /* Centers the line vertically relative to the circle */
    left: -50%;
    z-index: 1;
}

/* Remove line before first step */
#progressbar li:first-child:after {
    content: none;
}

/* Active Step: Only change the circle and connector, not the entire li */
#progressbar li.active:before {
    border-color: #27AE60;
    background: #27AE60; /* Green circle */
    color: #fff;
}

/* Active Connector Line */
#progressbar li.active:after {
    background: #27AE60; /* Green connector line */
}
/* Action Buttons */
.action-button {
    width: 100px;
    font-size: 14px;
    font-weight: 500;
    background: #ff6f0f;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 5px;
    margin: 10px 5px;
    cursor: pointer;
    /* text-transform: uppercase; */
}
/* Additional input styles */
#msform input[type="text"],
#msform select {
    width: 100%;
    padding: 10px;
    margin: 8px 0 20px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* Participant fields */
.participant {
    margin-bottom: 10px;
}
.fs-title{
    text-align: center;
}

/* review payment details */
/* Container for the three cards */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0;
}

/* Each card item */
.card-item {
    flex: 1 1 calc(33.333% - 20px); /* Three cards per row with gap */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
}

/* Card header styling */
.card-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* Card title styling */
.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Card body content */
.card-body p {
    font-size: 14px;
    color: #555;
    margin: 8px 0;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
    .card-item {
        flex: 1 1 100%;
    }
}


/* loader */
#payment-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-size: 20px;
    color: #333;
}

/* Payment Loader Overlay */
#payment-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* light overlay */
    z-index: 9999;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    /* Optional: add a slight blur to the background */
    backdrop-filter: blur(3px);
}

/* Content inside the overlay */
.payment-loader-content {
    text-align: center;
    margin-top: 50px; /* Moves the container down by 50px from the center */
}
.payment-loader-content p {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: 15px;
}

/* Spinner Styles */
.spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #ff6f0f; /* Primary color */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

