/* Extra small devices (phones, less than 576px) */
.hidden-xs {
    display: none !important;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .hidden-sm {
        display: none !important;
    }
    .hidden-xs {
        display: inline-block !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .hidden-md {
        display: none !important;
    }
    .hidden-xs,
    .hidden-sm {
        display: inline-block !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hidden-lg {
        display: none !important;
    }
    .hidden-xs,
    .hidden-sm,
    .hidden-md {
        display: inline-block !important;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hidden-xl {
        display: none !important;
    }
    .hidden-xs,
    .hidden-sm,
    .hidden-md,
    .hidden-lg {
        display: inline-block !important;
    }
}


.trading-program-table .swiper {
    width: 100%;
    height: 100%;
}

.trading-program-table .swiper-slide {
    width: auto; /* Allows multiple slides to fit based on content width */
    display: flex;
    justify-content: center;
}

.trading-program-table .swiper-slide table {
    width: 100%; /* Ensures the table fills the slide */
    margin: 0;
}

.trading-program-table .swiper-container {
    overflow-x: hidden; /* Prevent horizontal scroll outside Swiper */
}
.trading-program-table {
    width: 100%;
    position: relative;
    padding: 0 20px;
}
.trading-program-details-container {
    flex-grow: 1;
    overflow: hidden;
    position:relative;
}
.trading-program-labels th, .trading-program-labels td {
    white-space: nowrap;
    text-align: right;
}
.trading-program-details th, .trading-program-details td {
    white-space: nowrap;
    text-align: center;
}
.swiper-slide th, .swiper-slide td {
    width: 50%; /* Makes sure 'Intern' and 'Funded' columns have equal width */
}
.trading-program-table .fas {
    color: #333;
    font-size: 16px;
}
.icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    background-color: var(--e-global-color-accent);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 100;
}
.icon-circle.swiper-button-disabled {
    background-color: var(--wp--preset--color--cyan-bluish-gray);
}
/* Subtle movement for the right arrow */
@keyframes move-right {
    0%, 100% {
        transform: translateX(0); /* Default position */
    }
    50% {
        transform: translateX(4px); /* Slight movement to the right */
    }
}

/* Subtle movement for the left arrow */
@keyframes move-left {
    0%, 100% {
        transform: translateX(0); /* Default position */
    }
    50% {
        transform: translateX(-4px); /* Slight movement to the left */
    }
}

/* Right arrow animation */
#slideRight {
    animation: move-right 2s infinite!important; /* Subtle right movement */
}

/* Left arrow animation */
#slideLeft {
    animation: move-left 2s infinite!important; /* Subtle left movement */
}

/* Hover effect for both arrows */
.icon-circle:hover {
    transform: scale(1.1); /* Slightly enlarges the icon on hover */
    color: #00b67a!important; /* Changes color to blue on hover */
}

#slideLeft,
#slideRight{
    position: absolute;
    top: 16px;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}
#slideLeft {
    left: 10px;
}
#slideRight {
    right: 30px;
}
#slideLeft.swiper-button-lock,
#slideRight.swiper-button-lock {
    display: none;
}

.payout-table-container,
.comparison-table-container {
    display: flex;
    align-items: stretch;
    width: 100%;
}

#payout_matrix .sticky-column,
.comparison-table-container .sticky-column {
    flex: 0 0 auto;
    position: sticky;
    left: 0;
    z-index: 2;
}

#payout_matrix .scrollable-columns,
.comparison-table-container .scrollable-columns {
    overflow-x: hidden;
    flex-grow: 1;
    display: flex;
}

#payout_matrix .swiper-slide,
.comparison-table-container .swiper-slide {
    width: auto;  /* Adjust this based on your content */
    display: flex;
    flex-direction: column;
}

/* Custom styles for the currency switcher */
.tct-currency-single-page-switcher {
    display: none;
}

.currency-options {
    display: flex;
    flex-direction: column;
}

.currency-option {
    margin: 5px 0;
    padding: 10px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    cursor: pointer;
    text-align: center;
}

.currency-option:hover {
    background-color: #e1e1e1;
}

.ppc-button-wrapper.disabled {
    opacity: 0.5; /* Make it visually disabled */
    position: relative;
}

.ppc-button-wrapper .loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ccc;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Keyframes for spinning animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/**
 * New Checkout
 */
/* --- Styling for WooCommerce Checkout Field Labels --- */

.woocommerce-checkout .form-row label {
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 16px;
    font-weight: 400; /* 400 is normal. Use 700 or 'bold' for bold text. */
    line-height: 1.5; /* Using a relative value is often better than a fixed pixel height. */
    color: #333333;   /* A standard dark gray for text. Change this to your desired color. */
    display: block;   /* Ensures the label is on its own line. */
    margin-bottom: 8px; /* Adds a bit of space between the label and the input field below it. */
}

/* --- Styling for the red "required" asterisk (*) --- */

.woocommerce-checkout .form-row label .required {
    color: #ff0000;      /* Makes the asterisk red. */
    font-weight: bold;  /* Makes the asterisk bold. */
    margin-left: 4px;   /* Adds a little space next to the label text. */
}