/* Navbar styles */
header {
    background-color: rgb(242 250 250);
}


/* Add your custom styles here */

.nav-tabs {
    justify-content: center;
}

/*for only header start*/
header {
    background-color: rgb(242 250 250);
    color: #fff;
    padding: 8px 0;
}

.containerr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    max-width: 190px;
}

.logout a {
    color: #25c3b3;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #fff;
    border-radius: 5px;
}

.logout a:hover {
    background-color: #fff;
    color: #333;
}
  

.navbar {
    width: 100%;
    margin: 0 auto;
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navbar components */
.logo {
    padding: 10px;
}

.navbar-links {
    display: flex;
    align-items: center;
}

.navbar-links a {
    padding-right: 20px;
    font-size: 17px;
    color: black;
    text-decoration: none;
}

/* Toggle button styles */
.navbar-toggle {
    display: none;
    /* Hide toggle button by default */
}

.bars-icon {
    cursor: pointer;
}

/* Mobile styles */
@media only screen and (max-width: 768px) {
    /*        .fixed-bottom*/
    /*{*/
    /*    position:static;*/
    /*}*/
    .navbar-links {
        display: none;
        /* Hide navbar links on mobile */
    }

    .navbar-toggle {
        display: block;
        /* Show toggle button on mobile */
        padding: 10px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .navbar-toggle:focus {
        outline: none;
        /* Remove focus outline */
    }

    .dropdown-menu {
        display: none;
        /* Hide dropdown menu by default */
        position: absolute;
        top: 100%;
        left: 0;
        background-color: white;
        width: 100%;
    }

    .dropdown-menu.show {
        display: block;
        /* Show dropdown menu when toggled */
    }

    .dropdown-item {
        padding: 10px;
        font-size: 17px;
        color: black;
        text-decoration: none;
    }
    .c-dashboardInfo {
        margin-bottom: 30px;
        padding: 0 30px;
        margin-top:0!important;
    }
}

/* Add this CSS code to your existing styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 295px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-toggle {
    background-color: transparent;
    color: black;
    border: none;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 17px;
}

a {
    color: #333;
    text-decoration: none;
    background-color: transparent;
}

a svg {
    color: black;
}

a:hover {
    color: #009082;
}

#crossword {
    display: grid;
}

.cell:focus {
    background-color: #EDF798;
    outline: none;
}

.cell[data-active="true"] {
    background-color: #EDF798;
}

.cell.cell.active {
    background-color: #EDF798;
    /* More specific without using !important */
}

/* OR using !important */
.cell.active {
    background-color: #EDF798 !important;
    /* Forces override */
}

.cell {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border: 0.7px solid #B0D5D5;
    width: 60px;
    height: 60px;
    font-size: 25px;
    background-position: top left;
    background-repeat: no-repeat;
    text-align: center;
}

.cell-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    font-size: 12px;
    pointer-events: none;
    /* Prevents the number from blocking clicks on the cell */
    background-color: transparent;
    /* Make the background transparent */
}

#cluesAcross {
    overflow-y: scroll;
    height: 500px;
}

#cluesDown {
    overflow-y: scroll;
    height: 500px;
}

.black {
    background-color: #53A3A4;
    color: #fff;
}

.editable {
    background-color: #fff;
    color: #0A4848;
    /* Set the text color to blue */
    caret-color: transparent;
    cursor: text;
    /* Hide the cursor line */
}

.highlight {
    background-color: #E6DCF3;
}

.incorrect {
    position: relative;
    color: #ff4f4fdb;
    /* Red background for incorrect cells */
    width: 100%;
}

.incorrect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    width: 110%;
    height: 2px;
    /* Adjust thickness as needed */
    background-color: #ff4f4fdb;
    /* Adjust color as needed */
    transform: translateY(-50%) rotate(-45deg);
    /* Move line to the middle vertically and rotate to create diagonal */
}

.btn-secondary {
    color: #333!important;
    background-color: #fff!important;
    border-color: #fff!important;
}

.btn-secondary:hover {
    color: black;
    /* Change text color on hover */
    background-color: white;
    /* Change background color on hover */
    border-color: white;
    /* Change border color on hover */
}

a svg {
    color: #4C7B79;
}
#spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's above other content */
}
/* Original styles without box-shadow */
.capture-style {
    box-shadow: none !important;
}

.circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    transform-style: preserve-3d;
}

.red {
    background-color: #A4DDED;
    z-index: 3;
    width: 185px;
    height: 185px;
    border: 1px solid #fff;
}

.ring {
    position: absolute;
    width: 185px;
    height: 185px;
    border-radius: 50%;
    border: 1px solid #95959538;
}

.ring1 {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid #95959538;
    animation: rotateClockwise 10s linear infinite;
}

.ring2 {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid #95959538;
    animation: rotateAntiClockwise 10s linear infinite;
    /* Adjust the thickness and color of the rings */
}

.yellow-big {
    background-color: #FFFDD0;
    z-index: 2;
    width: 130px;
    height: 130px;
    position: relative;
    border: 1px solid #fff;
}

.ring3 {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid #95959538;
}

.ring4 {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid #95959538;
    /* Adjust the thickness and color of the rings */
}

.green-small {
    background-color: #477977;
    z-index: 1;
    width: 70px;
    height: 70px;
    border: 1px solid #fff;
}

.line {
    position: absolute;
    width: 185px;
    border: 0.1px solid #95959538;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9px;
}

.line1 {
    position: absolute;
    width: 185px;
    border: 0.1px solid #95959538;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9px;
    transform: rotate(30deg);
    /* Rotate the line by 30 degrees */
}

.line2 {
    position: absolute;
    width: 185px;
    border: 0.1px solid #95959538;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9px;
    transform: rotate(60deg);
    /* Rotate the line by 30 degrees */
}

.line3 {
    position: absolute;
    width: 185px;
    border: 0.1px solid #95959538;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9px;
    transform: rotate(90deg);
    /* Rotate the line by 30 degrees */
}

.line4 {
    position: absolute;
    width: 185px;
    border: 0.1px solid #95959538;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9px;
    transform: rotate(120deg);
    /* Rotate the line by 30 degrees */
}

.line5 {
    position: absolute;
    width: 185px;
    border: 0.1px solid #95959538;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9px;
    transform: rotate(150deg);
    /* Rotate the line by 30 degrees */
}

.dot {
    width: 10px;
    height: 10px;
    background-color: black;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
}

.dot img {
    width: 120px;
    height: auto;
    transform: rotateY(25deg) rotateX(160deg);
    position: absolute;
    bottom: -10px;
    animation: moveDot 2s forwards;
}

@keyframes moveDot {
    0% {
        left: 200px;
        opacity: 9;

    }

    100% {
        left: -5px;
    }
}

.name {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 15px;
    opacity: 0.6;
    background-color: #53A3A4;
    padding: 0.5rem;
    border-radius: 5px;
    z-index: 8;
}

.share {
    display: flex;
    flex-direction: column;
    align-items: center;
}

button {
    padding: 10px;
    background-color: #4c7b79;
    color: #fff;
    border: none;
    cursor: pointer;
}

.info {
    display: grid;
    align-items: center;
    padding-left: 300px;
    padding-bottom: 80px;
    position: absolute;
}

.arrow1 {
    width: 20px;
    height: 20px;
    background-color: #477977;
    /* Example background color */
    margin-right: 10px;
}

.arrow2 {
    width: 20px;
    height: 20px;
    background-color: #FFFDD0;
    /* Example background color */
    margin-right: 10px;
}

.arrow3 {
    width: 20px;
    height: 20px;
    background-color: #A4DDED;
    /* Example background color */
    margin-right: 10px;
}

.download-icon {
    background: no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
    cursor: pointer;
    outline: none;
}

/* Styles for the leaderboard */
.leaderboard-container {
    max-height: 20rem;
    overflow-y: auto;
}

#new-table-id {
    /* Changed from #leaderboard */
    width: 100%;
    border-collapse: collapse;
}


#new-table-id tbody tr:nth-child(even) {
    /* Changed from #leaderboard */
    background-color: #f9f9f9;
}

#new-table-id tbody tr:hover {
    /* Changed from #leaderboard */
    background-color: #e0e0e0;
}

.tab {
    display: inline-block;
    padding: 3px 10px;
    cursor: pointer;
    background-color: #f0f0f0;
    border-radius: 8px 8px 0 0;
}

.tab.active {
    background-color: #b0d5d5;
}

.refresh-icon {
    cursor: pointer;
    margin-left: 10px;
    color: #53a3a4;
}

.search-bar-container {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    position: relative;
}

.search-bar {
    padding-left: 30px;
    /* Added padding for the search icon */
    width: 100%;
    min-width: 10rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #53a3a4;
}

.filter-icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
    color: #53a3a4;
}

@media (max-width: 480px) {
    .search-bar-container {
        margin-left: 0;
        /* Reset margin for mobile */
    }
}

.dynamicCluesContainer {
    background-color: #53a3a475;
    padding: 10px;
}

.cluesContent {
    flex-grow: 1;
    text-align: center;
    padding: 0 20px;
    /* Adds padding to prevent text from overlapping with buttons */
}

/* Adjust button styles as needed */
.prevWordBtn,
.nextWordBtn {
    flex: 0 0 auto;
    /* Prevent buttons from growing or shrinking */
}

.no-zoom {
    touch-action: manipulation;
    /* or 'none' */
}

/* Keyboard start Provided CSS styles */
.keyboard {
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 5px 0;
    background: #97d6d647;
    transition: bottom 0.4s;
}

.keyboard--hidden {
    bottom: -100%;
}

.keyboard__keys {
    text-align: center;
}

.keyboard__key {
    height: 38px;
    width: 8%;
    max-width: 90px;
    margin: 3px;
    border-radius: 3px;
    border: none;
    background: white;
    color: black;
    font-size: 1.3rem;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: top;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.keyboard__key:active {
    background: rgba(255, 255, 255, 0.12);
}

.keyboard__key--wide {
    width: 12%;
}

.keyboard__key--extra--wide {
    width: 36%;
    max-width: 500px;
}

.text-area {
    display: none;
    /* Hide the text area */
}

.no-zoom {
    touch-action: manipulation;
    /* or 'none' */
}

.keyboard__key-popup {
    position: fixed;
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 20px;
    transition: transform 0.3s ease;
    z-index: 9999;
}

.keyboard__key:active .keyboard__key-popup {
    display: block;
    transform: scale(1.1);
    /* Zoom effect for the popup */
}

.keyboard__key:active {
    transform: scale(1.1);
    /* Zoom effect for the pressed key */
}
.border-left{
    border-left: 3px solid #53a3a4 !important;
}
.c-dashboardInfo {
    margin-bottom: 30px;
    margin-top: 10px;
}
.c-dashboardInfo .wrap {
    background: #ffffff;
    box-shadow: 5px 6px 20px rgb(20 18 18 / 30%);
    border-radius: 7px;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 40px 25px 20px;
    height: 100%;
}
.c-dashboardInfo__title,
.c-dashboardInfo__subInfo {
    color: #6a6a6a;
    font-size: 17px;
    margin-bottom: 12px;
}
.c-dashboardInfo span {
    display: block;
}
.c-dashboardInfo__count {
    font-weight: 600;
    font-size: 1.5em;
    line-height: 48px;
    color: #323c43;
}
.c-dashboardInfo .wrap:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    content: "";
}
.c-dashboardInfo i{
    font-size:35px;
    color: #53a3a4;
}

.c-dashboardInfo:nth-child(1) .wrap:after,
.c-dashboardInfo:nth-child(2) .wrap:after ,
.c-dashboardInfo:nth-child(3) .wrap:after,
.c-dashboardInfo:nth-child(4) .wrap:after,
.c-dashboardInfo:nth-child(5) .wrap:after, 
.c-dashboardInfo:nth-child(6) .wrap:after,
.c-dashboardInfo:nth-child(7) .wrap:after, 
.c-dashboardInfo:nth-child(8) .wrap:after, 
.c-dashboardInfo:nth-child(9) .wrap:after 
{
    background: #53a3a4;
}

.c-dashboardInfo__title svg {
    color: #d7d7d7;
    margin-left: 5px;
}
.MuiSvgIcon-root-19 {
    fill: currentColor;
    width: 1em;
    height: 1em;
    display: inline-block;
    font-size: 24px;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    user-select: none;
    flex-shrink: 0;
}
#videos iframe{
    border-radius:5px;
    margin-top:20px;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .02);
}
