html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}
.w-5 {
    width: 5% !important;
}

.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-60 {
    width: 60% !important;
}

.w-65 {
    width: 65% !important;
}

.w-70 {
    width: 70% !important;
}

.w-75 {
    width: 75% !important;
}

.w-80 {
    width: 80% !important;
}

.w-85 {
    width: 85% !important;
}

.w-90 {
    width: 90% !important;
}

.w-95 {
    width: 95% !important;
}

.col-10pc {
    flex: 0 0 auto;
    width: 10%;
}

.col-12pc {
    flex: 0 0 auto;
    width: 12%;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 30px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 99%;
    white-space: nowrap;
    line-height: 40px; /* Vertically center the text there */
}

.color-teal {
    color: var(--bs-teal);
}

.text-smaller {
    font-size: 0.65em;
}

.datePicker {
    width: 10rem !important;
}

img.rem2-icons {
    width: 2rem;
    height: 2rem;
}

img.prize-icons {
    width: 2.4rem;
    height: 2.4rem;
}

img.coming-soon {
    clip-path: inset(12% 10% 12% 10% round 1%);
    /*zoom: 1.3;*/
    /*height: 2.2rem;*/
    width: 2.3rem;
    margin-left: -0.4rem;
}

img.balance-icons {
    width: 2rem;
    height: 2rem;
}

img.user-avatar {
    width: 4rem;
    height: 4rem;
}

img.puzzle-thumb {
    width: 7rem;
    height: 14rem;
}

.sidebar-divider {
    height: 0;
    margin: 0.2rem 0;
    overflow: hidden;
    border-top: 1px solid #e5e5e5;
}

.min-vh-95 {
    min-height: 95vh !important;
}

.min-vh-92 {
    min-height: 92vh !important;
}

.conditions-table {
    border: 3px solid #dee2e6; /* thick outer border */
    border-radius: 6px; /* optional rounded corners */
}



/* Highlight the expanded parent row */
tr.opened-row {
    background-color: #f8f9fa !important;
    border-left: 4px solid var(--bs-primary);
}

/* Caret rotation animation driven by a class */
.toggle-icon {
    transition: transform .2s ease;
}

.expandable-row.opened-row .toggle-icon {
    transform: rotate(90deg);
}

/* Smoothen perceived content appearance after height animation finishes */
.payout-details .payout-grid {
    animation: fadeIn .25s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Grid for evenly-spaced chips */
/*.payout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: .75rem;
}*/

/* Compact payout chip */
/*.payout-chip {
    border-radius: .6rem;*/ /* slightly smaller corners */
    /*padding: .4rem .6rem;*/ /* less padding */
    /*display: grid;
    row-gap: .15rem;*/ /* tighter spacing between lines */
    /*transition: box-shadow .15s ease, transform .15s ease;
    min-height: 48px;*/ /* smaller height */
    /*font-size: .85rem;*/ /* slightly smaller font */
/*}*/

/* Chip internals */
/*.chip-line {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.payout-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

.chip-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}*/
/* smaller icon */
/*.chip-value {
    font-weight: 600;
    font-size: .85rem;
}*/
/* smaller value text */
/*.chip-meta {
    font-size: .75rem;*/ /* smaller weight text */
    /*color: var(--bs-gray-700);
}*/


/* Compact payout grid */
.payout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .5rem; /* tighter spacing */
}

/* Compact payout chip */
.payout-chip {
    border-radius: .6rem;
    padding: .4rem .55rem;
    display: grid;
    row-gap: .15rem;
    transition: box-shadow .15s ease, transform .15s ease;
    min-height: 44px; /* smaller height */
    font-size: .82rem; /* slightly smaller text */
}

.payout-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

/* Chip lines */
.chip-line {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.chip-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}
/* smaller icon */
.chip-value {
    font-weight: 600;
    font-size: .85rem;
}

.chip-meta {
    font-size: .74rem;
    /*color: var(--bs-gray-700);*/
    color: var(--bs-white);
    line-height: 1.2;
}
