/* /Pages/Bible.razor.rz.scp.css */
/* 2025-11-20 */
/* 2025-11-20 Responsive YouTube player wrapper */
/* Default — portrait: 1 per row */
.yt-container[b-jxiiw0x86i] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Each player: full width portrait */
.yt-wrapper[b-jxiiw0x86i] {
    position: relative;
    width: 100%;
    padding-bottom: 40%; /* reduce height as you like */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

    .yt-wrapper iframe[b-jxiiw0x86i] {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 8px;
    }

/* Landscape — 2 per row */
@media (orientation: landscape) {
    .yt-container[b-jxiiw0x86i] {
        flex-direction: row;
        flex-wrap: wrap; /* allow wrapping into multiple rows */
        gap: 14px;
    }

    .yt-wrapper[b-jxiiw0x86i] {
        width: calc(50% - 10px); /* 2 per row, small gap adjustment */
        padding-bottom: 25%; /* reduce height for landscape */
    }
}




/*  2025-11-18 Moved From app.css */
/* Scrollable body adjustments */
.bible-container tbody[b-jxiiw0x86i] {
    max-height: 400px; /* Adjust based on desired height */
    overflow-y: auto;
}

/* Dark theme container background */
.bible-container[b-jxiiw0x86i] {
    width: 100%;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 !important; /* 20px */
    background-color: #1e1e2f; /* #1e1e2f Dark grayish-blue background */
    color: #ffffff; /* White text color */
}



/* Table styling for dark theme */
.bible-table[b-jxiiw0x86i] {
    margin: 0 !important; /* 2025-01-18 */
    width: 100%; /* Ensures table uses the full width */
    border-collapse: collapse; /* Ensures no space between cells */
    table-layout: auto; /* Allows columns to resize based on content */
    background-color: #040c22; /* #2b2b3b Slightly darker table background */
    color: #e0e0e0; /* Lighter text for readability */
}

    .bible-table th[b-jxiiw0x86i],
    .bible-table td[b-jxiiw0x86i] {
        padding: 10px;
        text-align: left;
        border: 1px solid #444; /* Subtle border color */
        vertical-align: top;
        white-space: pre-wrap; /* Allows text to wrap in cells */
        word-wrap: break-word; /* Prevent text from overflowing */
    }

    /* Header styling for dark theme */
    .bible-table th[b-jxiiw0x86i] {
        background-color: #040c22; /*#3a3a4f Darker header background */
        font-weight: bold;
        color: #ffffff; /* White text */
    }

    /* Row hover effect Grid Row Hover Dark Theme */
    .bible-table tr:hover[b-jxiiw0x86i] {
        background-color: #010410; /* #3d3d5c Slightly lighter row highlight */
        /*2025-01-20*/
        outline: 3px solid #00ff00; /* Green outline to highlight the row */
        outline-offset: -2px; /* Optional: adjust outline offset to fine-tune positioning */
    }

    /* Ensure hidden columns do not take up space */
    .bible-table td.hidden[b-jxiiw0x86i], .bible-table th.hidden[b-jxiiw0x86i] {
        display: none;
    }

/* Brighter Background for ReciteMode */
/* ReciteMode – brighten table background */
.bible-container.recite-mode .bible-table[b-jxiiw0x86i] {
    background-color: #3a4a6b; /* brighter than #040c22 */
}

    /* Optional: keep header consistent */
    .bible-container.recite-mode .bible-table th[b-jxiiw0x86i] {
        background-color: #3a4a6b;
    }



.button-container[b-jxiiw0x86i] {
    display: flex;
    gap: 5px; /* Adjust spacing between buttons */
    /* 2025-09-08 Make It Wrap */
    flex-wrap: wrap;
    /* 2025-10-08 */
    justify-content: center;
    /* 2025-01-10 */
    vertical-align: middle;
}
/* 2025-11-18 End Moved from app.css */




/* 2025-11-14 */
/* Fixed width mode */
.bible-fixed[b-jxiiw0x86i] {
    table-layout: fixed;
    width: 100%;
}

    /* first (#) column width from CSS var */
    .bible-fixed th.first-col[b-jxiiw0x86i] {
        width: var(--first-col-width);
    }

    /* language columns share the rest */
    .bible-fixed th.lang-col[b-jxiiw0x86i] {
        width: calc((100% - var(--first-col-width)) / var(--lang-count));
    }

/* auto mode = your old behaviour */
.bible-auto[b-jxiiw0x86i] {
    table-layout: auto;
}



/* 2025-11-11 Flash Button */
.flash-btn[b-jxiiw0x86i] {
    position: relative;
    background-color: #444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
}

    /* Create a pseudo-element overlay that animates when button is clicked */
    .flash-btn[b-jxiiw0x86i]::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet);
        opacity: 0;
        z-index: 0;
    }

    /* When button is clicked */
    .flash-btn:focus:not(:active)[b-jxiiw0x86i]::after {
        animation: rgbFlash-b-jxiiw0x86i 1s linear;
    }

/* animation keyframes */
@keyframes rgbFlash-b-jxiiw0x86i {
    0% {
        opacity: 1;
        filter: hue-rotate(0deg);
    }

    100% {
        opacity: 0;
        filter: hue-rotate(360deg);
    }
}



/* 2025-10-10 */
/* Speaker Icon Button */
.outline-icon[b-jxiiw0x86i] {
    font-size: 1.2em;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #e0e0e0; /* fallback color */
}

    /* Icon inside the button */
    .outline-icon i[b-jxiiw0x86i] {
        /* Outline color follows inherited color */
        color: inherit;
        /* Fill color is forced to black */
        -webkit-text-fill-color: black;
        -webkit-text-stroke: 0.5px currentColor;
        text-shadow: -1px -1px 0 currentColor, 1px -1px 0 currentColor, -1px 1px 0 currentColor, 1px 1px 0 currentColor;
        transition: transform 0.3s ease, color 0.3s ease;
    }

        /* Hover effect */
        .outline-icon i:hover[b-jxiiw0x86i] {
            transform: scale(1.2);
            /* Optional: change inherited color to affect outline */
            color: greenyellow;
        }






/* 2025-10-09 tint */
@keyframes tintPulse-b-jxiiw0x86i {
    0% {
        filter: hue-rotate(0deg) brightness(1.5) saturate(1.2);
    }

    25% {
        filter: hue-rotate(60deg) brightness(1.5) saturate(1.2);
    }

    50% {
        filter: hue-rotate(120deg) brightness(1.5) saturate(1.2);
    }

    75% {
        filter: hue-rotate(180deg) brightness(1.5) saturate(1.2);
    }

    100% {
        filter: hue-rotate(360deg) brightness(1.5) saturate(1.2);
    }
}



.tintdance-icon[b-jxiiw0x86i] {
    display: inline-block;
    animation: dance-b-jxiiw0x86i 1s infinite ease-in-out,tintPulse-b-jxiiw0x86i 3s infinite ease-in-out;
}


/* 2025-10-09 dance */
@keyframes dance-b-jxiiw0x86i {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-15deg) scale(1.1);
    }

    50% {
        transform: rotate(15deg) scale(1.1);
    }

    75% {
        transform: rotate(-10deg) scale(1.05);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

.dancing-icon[b-jxiiw0x86i] {
    animation: dance-b-jxiiw0x86i 1s infinite ease-in-out;
    display: inline-block;
}



/* 2025-10-09 flip */


.flip-icon[b-jxiiw0x86i] {
    display: inline-block;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: flipY-b-jxiiw0x86i 2s infinite linear;
}

@keyframes flipY-b-jxiiw0x86i {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}


/* End of Flipper */

/* 2025-10-09 */
/* Always enlarges to 120% and back */
.enlarge-loop[b-jxiiw0x86i] {
    display: inline-block;
    animation: enlarge-b-jxiiw0x86i 2s ease-in-out infinite;
}

/* Define the enlarge animation */
@keyframes enlarge-b-jxiiw0x86i {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}


/* 2025-09-27 rotating button */
.rotate-on-hover[b-jxiiw0x86i] {
    display: inline-block; /* important so rotation works correctly */
}

    /* When hovered, start a spinning animation */
    .rotate-on-hover:hover[b-jxiiw0x86i] {
        animation: spin-b-jxiiw0x86i 2s linear infinite;
    }

/* 2025-10-09 Always rotating version */
.rotate-always[b-jxiiw0x86i] {
    display: inline-block;
    animation: spin-b-jxiiw0x86i 2s linear infinite;
}

/* Define the spin animation */
@keyframes spin-b-jxiiw0x86i {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}





/* 2025-09-23 */
@keyframes pulse-glow-b-jxiiw0x86i {
    0% {
        box-shadow: 0 0 0.625em #00bfff, 0 0 1.25em #00bfff;
    }

    50% {
        box-shadow: 0 0 1.25em #00bfff, 0 0 3em #00bfff;
    }

    100% {
        box-shadow: 0 0 0.625em #00bfff, 0 0 1.25em #00bfff;
    }
}



/* 2025-09-23 Move from bible.blazor because must place together with the keyframes */
.highlighted-row[b-jxiiw0x86i] {
    background-color: #000000;
    color: #ffffff;
    outline: 3px solid #00bfff;
    outline-offset: -2px;
    animation: pulse-glow-b-jxiiw0x86i 2.0s infinite ease-in-out;
}



/* Style for the Favourite icon button */
.favourite-icon-button[b-jxiiw0x86i] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

    /* Style for the icon inside the button */
    .favourite-icon-button i[b-jxiiw0x86i] {
        font-size: 24px; /* Adjust the size of the icon */
        color: #ff0000; /* Default color for the favorite icon */
        transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition */
    }

        /* Change the color when hovered */
        .favourite-icon-button i:hover[b-jxiiw0x86i] {
            color: #cc0000; /* A darker red when hovered */
            transform: scale(1.2); /* Slightly enlarge the icon */
        }

/* Animation for adding to favorites */
@keyframes heartBeat-b-jxiiw0x86i {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Apply animation when the icon is toggled */
.favourite-icon-button i.animated[b-jxiiw0x86i] {
    animation: heartBeat-b-jxiiw0x86i 0.5s ease;
}




/*Verse Container*/
.verse-container[b-jxiiw0x86i] {
    display: flex;
    flex-direction: column;
    align-items: center;
}



.verse-text[b-jxiiw0x86i] {
    margin-top: 1px; /* Add spacing between buttons and text */
    text-align: center;
}



/* Speaker Icon ori */
.speaker-icon-button[b-jxiiw0x86i] {
    font-size: 1.2em;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #e0e0e0; /* Light icon color */
}
    /* Style for the icon inside the button */
    .speaker-icon-button i[b-jxiiw0x86i] {
        color: #007bff; /* Icon color */
        transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition */
    }

        /* Change the color when hovered */
        .speaker-icon-button i:hover[b-jxiiw0x86i] {
            color: lawngreen; /* A darker red when hovered */
            transform: scale(1.2); /* Slightly enlarge the icon */
        }


.emoji-box[b-jxiiw0x86i] {
    display: inline-block;
    font-size: 1.0em;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.speaker-icon-button:hover .emoji-box[b-jxiiw0x86i] {
    filter: brightness(0.6) saturate(1.2) hue-rotate(60deg);
    transform: scale(1.2);
}



/* Circled Text */

/* Circle container */
.furigana-circle[b-jxiiw0x86i] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #0078D7;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.speaker-icon-button:hover .furigana-circle[b-jxiiw0x86i] {
    transform: scale(1.2);
    background-color: darkgreen;
}
