.bg-green-100 {
    background-color: #d1fae5; /* Tailwind green-100 */
}

.text-green-800 {
    color: #065f46; /* Tailwind green-800 */
}

.bg-yellow-100 {
    background-color: #fef9c3; /* Tailwind yellow-100 */
}

.text-yellow-800 {
    color: #92400e; /* Tailwind yellow-800 */
}

.bg-blue-100 {
    background-color: #dbeafe; /* Tailwind blue-100 */
}

.text-blue-800 {
    color: #1e40af; /* Tailwind blue-800 */
}

.bg-red-100 {
    background-color: #fee2e2; /* Tailwind red-100 */
}

.text-red-800 {
    color: #991b1b; /* Tailwind red-800 */
}

.text-gray-600 {
    color: #4b5563;
}

.text-blue-600 {
    color: #2563eb;
}

.text-blue-700 {
    color: #1d4ed8;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.text-green-500 {
    color: #22c55e;
}

.bg-green-500 {
    background-color: #22c55e;
}

.bg-blue-500 {
    background-color: #3b82f6;
}

.bg-yellow-500 {
    background-color: #eab308;
}

.bg-gray-200 {
    background-color: #e5e7eb; /* Tailwind's gray-200 */
}

.bg-red-500 {
    background-color: #ef4444;
}

.bg-red-600 {
    background-color: #dc2626;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.border-blue-200 {
    border-color: #bfdbfe;
}

.w-2 {
    width: 0.5rem;
}

.h-2 {
    height: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.25rem; /* 4px */
}

.space-y-2 {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-3 {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.space-y-4 {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.font-bold {
    font-weight: 700;
}

.text-left {
    text-align: left;
}

.-top-2 {
    top: -0.5rem; /* -8px */
}

.-right-2 {
    right: -0.5rem; /* -8px */
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.md\:grid-cols-3 {
    @media (width >= 48rem) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.lg\:grid-cols-4 {
    @media (width >= 64rem) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.overflow-visible {
    overflow: visible;
}

@media (min-width: 1280px) {
    .btf-min-\[650px\]\:col-span-6 {
        grid-column: span 5 / span 6;
        margin-top: auto;
        margin-bottom: auto;
    }
}

.col-span-12.dark\:bg-bg4.btf-min-\[650px\]\:col-span-6.xxxl\:col-span-3 {
    max-width: 650px !important;
}

.notify {
    position: fixed;
    top: 20px !important;
    right: 20px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 9999 !important;
    width: 400px !important;
    max-width: calc(100% - 40px);
}

.notify-container {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* Preserve the original width for individual notifications */
.notify .notify-alert {
    width: 300px;
    max-width: 100%;
}

.btf-nc-select {
    display: flex;
    height: 2.75rem !important;
    width: 100%;
    align-items: center;
    border-radius: 32px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-size: 14px;
    border: solid 1px #e8e8e8;
    cursor: pointer;
}

.btf-profile {
    object-fit: cover;
    width: 120px;
    height: 120px;
}

.btf-user {
    object-fit: cover;
    width: 48px;
    height: 48px;
}

.btf-user-drop {
    object-fit: cover;
    width: 60px;
    height: 60px;
}

.btf-rounded-3xl {
    border-radius: 0.75rem;
}

.btf-bg-secondary1\/5 {
    background-color: #ecf0fc;
    background-image: url('../images/btf-bg-custom2.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; /* Adjust the position as needed */
}

.btf-logo-full.img-central {
    width: 180px;
    padding: 40px;
    margin-left: 40px;
}

.btf-xxl\:gap-6 {
    gap: 8rem;
}

.btf-bg-primary\/5 {
    background-color: #ffffff5c;
}

.btf-box {
    padding: 0rem 4rem 4rem 4rem;
    margin: 0;
    position: inherit;
    transform: translateY(4%);
}

.btf-h3 {
    font-size: larger;
    font-weight: 700;
    font-family: inherit;
}

.btf-card-user {
    margin: -80px 25px 20px 25px;
}

.btf-plan {
    text-align: center;
}

.pl-2 {
    padding-left: 1.5rem !important;
}

.btf-p-1 {
    padding: 0.5rem;
}

.btf-donation-card:hover {
    border-style: dashed;
    --tw-border-opacity: 1;
    border-color: rgb(212 11 0 / var(--tw-border-opacity));
}

.country-select {
    height: auto;
    max-height: 200px; /* Adjust this value as needed */
    overflow-y: auto;
}

.slider-container input[type='radio'] {
    display: none;
}

input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type='number'] {
    -moz-appearance: textfield;
}

.slider-card {
    position: absolute;
    width: 60%;
    height: 100%;
    left: 0;
    right: 0;
    margin: auto;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out; /* Adjusted for smoother transitions */
    cursor: pointer;
}

.slider-container {
    width: 100%;
    max-width: 800px;
    max-height: 100%;
    height: 700px;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: -60px;
}

.slider-cards {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
}

.slider-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

#item-1:checked ~ .slider-cards #song-3,
#item-2:checked ~ .slider-cards #song-1,
#item-3:checked ~ .slider-cards #song-2 {
    transform: translateX(-40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
}

#item-1:checked ~ .slider-cards #song-2,
#item-2:checked ~ .slider-cards #song-3,
#item-3:checked ~ .slider-cards #song-1 {
    transform: translateX(40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
}

#item-1:checked ~ .slider-cards #song-1,
#item-2:checked ~ .slider-cards #song-2,
#item-3:checked ~ .slider-cards #song-3 {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 1;

    .slider-img {
        box-shadow: 0px 0px 5px 0px rgba(81, 81, 81, 0.47);
    }
}

.player {
    background-color: #fff;
    border-radius: 8px;
    min-width: 320px;
    padding: 16px 10px;
}

.upper-part {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    height: 40px;
    overflow: hidden;
}

.play-icon {
    margin-right: 10px;
}

.song-info {
    width: calc(100% - 32px);
    display: block;
}

.song-info .title {
    color: #403d40;
    font-size: 14px;
    line-height: 24px;
}

.sub-line {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.subtitle,
.time {
    font-size: 12px;
    line-height: 16px;
    color: #c6c5c6;
}

.time {
    font-size: 12px;
    line-height: 16px;
    color: #a5a5a5;
    font-weight: 500;
    margin-left: auto;
}

.progress-bar {
    height: 3px;
    width: 100%;
    background-color: #e9efff;
    border-radius: 2px;
    overflow: hidden;
}

.progress {
    display: block;
    position: relative;
    width: 60%;
    height: 100%;
    background-color: #d40b00;
    border-radius: 6px;
}

.info-area {
    width: 100%;
    position: absolute;
    top: 0;
    left: 30px;
    transition: transform 0.4s ease-in;
}

#item-2:checked ~ .player #test {
    transform: translateY(0);
}

#item-2:checked ~ .player #test {
    transform: translateY(-40px);
}

#item-3:checked ~ .player #test {
    transform: translateY(-80px);
}

/* Form Indicator */
.form-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 20px; /* Adjust as needed */
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d40b005c; /* Inactive color */
    margin: -5px -5px;
}

.indicator-line {
    width: 200px; /* Adjust based on your design */
    height: 1px; /* Adjust based on your design */
    background-color: #d40b00; /* Inactive color */
    margin: 0 5px;
}

.indicator-dot.active {
    background-color: #d40b00; /* Active color */
}

/* Password Conditions */

.password-criteria {
    list-style: none;
    padding: 0;
}

.password-criteria li {
    display: inline-block;
    margin: 5px;
    padding: 5px 10px;
    border-radius: 15px;
    border: 1px dashed #ccc;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.password-criteria li.valid {
    background-color: #d40b00;
    color: white;
    border: 1px solid #d40b00;
}

.password-criteria li.invalid {
    background-color: none;
    color: #d40b00;
    border: 1px dashed #ccc;
}

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 20px;
    border: transparent;
}

.provider-btn:hover {
    background-color: #d40b00 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.1);
}

.amount-btn {
    background-color: white;
    transition: all 0.3s ease;
}

.amount-btn.active-amount {
    background-color: #d40b00;
    border-color: #d40b00;
}

.amount-btn.active-amount span,
.amount-btn.active-amount p {
    color: white;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.amount-btn .icon i {
    position: relative;
    color: #ebecef;
}

.amount-btn.active-amount .icon i {
    color: white;
}

.amount-btn.active-amount .icon i::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 50%;
    left: 0;
    top: 0;
    animation: ripple 1.5s infinite;
    opacity: 0.3;
}

.otp-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: transparent;
    transition: border-color 0.3s ease;
}

.otp-input:focus {
    outline: none;
    border-color: #d40b00;
    box-shadow: 0 0 0 3px rgba(212, 11, 0, 0.1);
}

.dark .otp-input {
    border-color: #4b5563;
    background: #374151;
    color: white;
}

.dark .otp-input:focus {
    border-color: #d40b00;
}

.object-cover {
    object-fit: cover;
}

/* Overlay for blurring/locking sections */
.status-blur-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7); /* fallback for light mode */
    /* For dark mode, you can override with a class or use a utility like dark:bg-n900/70 */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    backdrop-filter: blur(2px); /* subtle blur effect */
    pointer-events: all; /* ensures overlay blocks interaction */
    border-radius: inherit; /* match parent box rounding if any */
}

/* Optional: style the icon and message inside the overlay */
.status-blur-overlay .las.la-lock {
    font-size: 2.5rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.status-blur-overlay p {
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* For dark mode, you might want: */
@media (prefers-color-scheme: dark) {
    .status-blur-overlay {
        background: rgba(20, 20, 30, 0.7);
    }

    .status-blur-overlay p {
        color: #eee;
    }
}

@media (max-width: 640px) {
    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .otp-container {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .btf-xxl\:gap-6 {
        gap: 0rem;
    }

    .btf-box {
        padding: 0rem 2rem 2rem 2rem;
        margin: 0;
        position: inherit;
        transform: translateY(4%);
    }

    .slider-card {
        position: absolute;
        width: 60%;
        height: 100%;
        left: 0;
        right: 0;
        margin: auto;
        transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out; /* Adjusted for smoother transitions */
        cursor: pointer;
    }

    .slider-cards {
        position: relative;
        width: 100%;
        height: 100%;
        margin-bottom: 20px;
        margin-top: 80px;
    }
}

@media (max-width: 480px) {
    .max-w-\[350px\] {
        max-width: 350px;
    }

    .slider-container {
        width: 100%;
        max-width: 800px;
        max-height: 100%;
        height: 700px;
        transform-style: preserve-3d;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin-top: -60px;
    }

    .slider-card {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        right: 0;
        margin: auto;
        transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out; /* Adjusted for smoother transitions */
        cursor: pointer;
    }

    .btf-logo-full.img-central {
        width: 180px;
        padding: 40px;
        margin-left: 0px;
    }

    #item-1:checked ~ .slider-cards #song-2,
    #item-2:checked ~ .slider-cards #song-3,
    #item-3:checked ~ .slider-cards #song-1 {
        transform: translateX(20%) scale(0.8);
        opacity: 0.4;
        z-index: 0;
    }

    .indicator-dot {
        width: 15px;
        height: 10px;
        border-radius: 50%;
        background-color: #d40b005c;
        margin: -5px -5px;
    }
}
