/* Base and utility styles */

.babaoo-modal {

    .modal-dialog {
        max-width: 648px;
    }

    label {
        font-size: 10px;
    }

    input[type="text"] {
        background: white;
        height: 42px;
        color: black;
    }

    input[type="checkbox"] {
        border-color: #233143;
    }

    .table-container-header,
    .table-container-footer {
        border-radius: unset;
    }

    .table-container-footer #search {
        top: 35px;
    }
    .modal-title {
        font-size: 16px;
    }

    .btn {
        width: 48%;
    }

    .icon-grey-bg {
        height: 24px;
        width: 24px;
    }
    .close-icon {
        position: relative;
        top: -11px;
        font-size: 24px;
    }

    .player-container {
        width: 250px;

        .player-name {
            width: 150px;
            text-align: left;
        }
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        border: none;
    }

    .modal-body,
    .modal-footer {
        background: #F6F8F9;
    }
}

.rotate-45 {
    transform: rotate(45deg);
}

.transition {
    transition: 0.3s
}

.border-green {
    border: 1px solid #87DDC1;
}

.border-red {
    border: 1px solid #FF6F6B;
}

.w-0 {
    width: 0 !important;
    opacity: 0;
    transition: 0s !important;
}

.w-20 {
    width: 20%;
}

.w-fit {
    width: fit-content;
}
.align-sub {
    vertical-align: sub;
}

.logo {
    max-height: 20px;
}

.img-avatar-hello {
    background-image: url("../assets/front-end-img/login-bot.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
}

.cursor-pointer {
    cursor: pointer;
}

/* color */

.dark-color {
    color: #233143;
}

.purple-color {
    color: #DFAFF2;
}

.dark-green-color {
    color: #2C4F58;
}

.light-green-color {
    color: #87DDC1;
}

.red-color {
    color: #FF6F6B;
}

.green-color {
    color: #3C686B;
}

.creamy-color {
    color: #FEF8F2;
}

.beige-color {
    color: #FCDEBD;
}
.beige-background{
    background-color: #FEF8F2;
}
.grey2-color {
    color: #F6F8F9;
}

.grey4-color {
    color: #E5EBEF;
}

.grey6-color {
    color: #D3DDE4;
}

.grey8-color {
    color: #A3ABB0;
}

.grey10-color {
    color: #5E6265;
}


.btn-light-green {
    color: #233143;
    background-color: #87DDC1;
    border: none;
    border-radius: 999px;
    transition: 0.3s;
}

.btn-light-green:hover {
    color: #233143;
    background-color: #FAFBFC;
}

.btn-light-green.dark-hover:hover {
    color: #1ABC9C;
    background-color: #233143;
}

.btn-light-green:disabled {
    color: #233143;
    background-color: #1ABC9C;
}

.btn-red {
    color: #233143;
    background-color: #FF6F6B;
    border: none;
    border-radius: 999px;
    transition: 0.3s;
}

.btn-red.dark-hover:hover {
    color: #1ABC9C;
    background-color: #233143;
}

/* color */

/* checkbox */
.players-checkbox {
    .form-check {
        .form-check-input{
            height: 12px;
            width: 12px;
            border-radius: 2px;
        }
    }
    input[type="radio"]:checked + .label-radio::before {
        background-color: #87DDC1;
    }

    input[type="checkbox"]:checked::before {
        transform: scale(1);
    }
    .form-floating input[type="checkbox"]:checked ~ .checkmark,
    .form-check input[type="checkbox"]:checked ~ .checkmark {
        background-color: #87DDC1;
    }
    input#pro{
        border:solid 1px #233143;
    }
    .form-check-input:checked {
        background-color: #87DDC1;
        background-image: none;
    }
    .form-check-input:focus{
        box-shadow: none;
    }
}


.players-checkbox.reverse {

    input#pro{
        border:solid 1px white;
    }
    .form-check-input{
        background-color: transparent;
    }
    .form-check-input:checked {
        background-color: #87DDC1;
    }
}
.page-indicator .page-link {
    position: relative;
}

.page-indicator .page-link::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
}

.page-indicator.active .page-link::after {
    background: #87DDC1;
}

/* margin/padding */
.me-11 {
    margin-right: 6rem;
}

.mt-1_1 {
    margin-top: 7px;
}

.mb-7 {
    margin-bottom: 4rem;
}

.mb-8 {
    margin-bottom: 4.5rem;
}

.m-11 {
    margin: 96px;
}

.mb-11 {
    margin-bottom: 96px;
}

.mb-4_4 {
    margin-bottom: 32px;
}

.p-4_4 {
    padding: 32px;
}

.pr-4_4 {
    padding-right: 32px;
}

.pb-4_4 {
    padding-bottom: 32px;
}

.mt-4_4 {
    margin-top: 32px;
}
.my-4_4 {
    margin-block: 32px;
}

.mt-11 {
    margin-top: 96px;
}

.ms-20px {
    margin-left: 20px !important;
}
.my-8 {
    margin-block: 72px;
}

.my-11 {
    margin-block: 96px;
}

.p-2_2 {
    padding: 12px;
}

.mr-2_2 {
    margin-right: 12px;
}

.py-2_2 {
    padding-block: 12px;
}

.py-4_4{
    padding-bottom: 32px;
    padding-top: 32px;
}

.p-7 {
    padding: 4rem;
}

.pl-0 {
    padding-left: 0;
}

.pl-row {
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.py-7 {
    padding-block: 4rem;
}

.ps-7 {
    padding-left: 4rem;
}

.p-11 {
    padding: 96px;
}

.px-11 {
    padding-inline: 96px;
}

.px-13 {
    padding-inline: 7rem;
}

.px-15 {
    padding-inline: 8rem;
}

.py-11 {
    padding-block: 96px;
}

.max-w-600 {
    max-width: 600px;
}

/* margin/padding */

/* gap / radius*/

.gap-32 {
    gap: 32px;
}

.gap-72 {
    gap: 72px;
}

.gap-64 {
    gap: 64px;
}

.gap-12 {
    gap: 12px;
}


.rounded-start-2_2 {
    border-radius: 12px 0 0 12px;
}

.rounded-2_2 {
    border-radius: 12px;
}

/* background-color */
.bg-light-green {
    background-color: #87DDC1;
    color: #FAFBFC;
}

.bg-dark {
    background-color: #233143 !important;
    color: #FAFBFC !important;
}

.bg-creamy {
    background-color: #FEF8F2;
    color: #233143;
}

.bg-grey8 {
    background-color: #A3ABB0;
    color: #FAFBFC;
}

.bg-grey2 {
    background-color: #F6F8F9;
}

.bg-grey4 {
    background-color: #E5EBEF;
    color: #233143;
}

.disabled-btn {
    background-color: #E5EBEF !important;
    color: #A3ABB0 !important;
}

.bg-white {
    background-color: #ffffff;
    color: #233143;
}

.bg-beige {
    background-color: #FCDEBD;
    color: #233143;
}

/* Orange underline text styles */
.orange-underline {
    padding-bottom: 5px;
    background-image: url("../assets/front-end-img/underline.svg");
    background-repeat: no-repeat;
    background-position: bottom;
    transition: 0.3s;
}

.green-underline {
    background-image: url("../assets/front-end-img/green-underline.svg");
    background-repeat: no-repeat;
    background-position: bottom;
    transition: 0.3s;
    pointer-events: none;

    a {
        pointer-events: auto;
    }
}

.green-underline:hover {
    background-image: url("../assets/front-end-img/white-underline.svg");
}

/* Links */

.bg-dark a:hover {
    text-decoration: none;
    color: #FAFBFC;
}

a {
    color: #3C686B;
    text-underline-offset: 2px;
    transition: 0.3s;
}

a:hover {
    color: #3C686B;
}

a.grey2-color:hover {
    color: #87DDC1;
}

a.dark-green {
    color: #3C686B;
}

.text-decoration-underline{
    text-underline-offset: 2px;
}
.main-content {
    flex-grow: 1;
}

.nav-icon {
    width: 20px;
    height: auto;
    margin-right: 10px;
}

.footer-main {
    width: 100%;
    background-color: #233143;
    color: #FAFBFC;
    z-index: 0;
}

.left-column {
    background-image: url("../assets/front-end-img/background-eclipse.svg");
    background-size: cover;
    background-position: -60px 66px;
    background-repeat: no-repeat;
}


.left-register-inside-column {
    background-image: url("../assets/front-end-img/eclipse-register-page.svg");
    background-size: cover;
    background-repeat: no-repeat;
}

.list-check {
    list-style-type: none;
    padding-left: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0;
    text-align: left;
}

.list-check li::before {
    content: url('../assets/front-end-img/white-icon-li.svg');
    margin-right: 10px;
    vertical-align: middle;
}

.list-check:not(.white) li::before {
    content: url('../assets/front-end-img/icon-li.svg');
}

h1 {
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    letter-spacing: 0;
    text-align: left;
}

.nav-btn.active, .nav-btn:hover {
    background-color: #FCDEBD;
    border-right: 4px solid #233143;
}

.nav-btn {
    background-color: white;
    min-height: 56px;
    border: none;
}

.appstore-img, .appstore-img img {
    width: 110px;
    display: flex;
    margin: auto;
}

.googleplay-img, .googleplay-img img {
    width: 116px;
    display: flex;
    margin: auto;
}

.left-register-column {
    background-image: url("../assets/front-end-img/background-aside.svg");
    background-repeat: no-repeat;
    background-size: cover;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-arrow.rotate {
    transform: rotate(180deg);
}

.dropdown-toggle {
    height: 42px;
}

.dropdown-toggle::after {
    display: none;
}

#dropdownMenuButton1.show, #dropdownMenuButton1:hover {
    background: #FCDEBD;
    border: none;
}

.dropdown-menu.show {
    border: none;
    width: 100%;
    text-align: center;
    transform: translate(0px, 52px) !important;
}

.bot-call {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #2C4F58;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    box-shadow: 0px 4px 12px 0px #00000040;
    background-image: url("../assets/front-end-img/login-bot.svg");
    background-repeat: no-repeat;
    background-size: 120px auto;
    background-position: top 4px left -23px;
    z-index: 1;
}

#search {
    height: 20px;
    width: 20px;
    right: 14px;
    top: 8px;
}

/* Create form layout */

.list-create-form-layout {
    list-style-type: none;

    .step {
        display: flex;
        align-items: center;

        &.valid{
            .step-number {
                background-image: url("../assets/front-end-img/grey-icon-li.svg");
                background-repeat: no-repeat;
                background-position: center;
            }
        }
        &.active{
            .step-number {
                background-color: #FCDEBD;
                color:#233143;
            }
        }

        .step-number {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            margin-right: 12px;
        }
    }


}


#teacher3Container .babaoo-title {
    font-size: 3.5rem;
}

#update-player-form input:not([type='date']),
#update-player-form select,
#update-player-form textarea {
    border: none !important;
    border-radius: 0;
    border-bottom: 1px solid #A3ABB0 !important;
    padding:0;
    color: #233143;
}


#search-player {
    input  {
        height: 42px;
    }

    img {
        right: 25px;
        top: 27px;
    }
}
.icon-grey-bg {
    background: lightgrey;
    border: 2px solid #2C4F58;
    color: #2C4F58;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    text-align: center;
    position: relative;

    img {
        height: 12px;
        width: 12px;
    }
}

.title-check-icon {
    background-image: url("../assets/front-end-img/icon-title-check-grey.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 100%;
    width: 100%;
}

.title-check-icon-background {
    height: 48px;
    width: 48px;
}
#player-table-body tr {
    border-color: transparent;
    height: 42px;
}
.layout-check-icon {
    background-image: url("../assets/front-end-img/grey-icon-li.svg");
    background-repeat: no-repeat;
    width: 100%;
    background-position: center;
    height: 100%;
}

.layout-check-icon-background {
    height: 32px;
    width: 32px;
}

.title-check-icon i {
    font-size: 26px;
    position: absolute;
    top: -4px;
    left: 1px;
}

.dark-underline:hover .green-underline {
    background-image: url("../assets/front-end-img/dark-green-underline.svg");
}

#start-playing {
    margin-bottom: 30px;
}

#start-playing #start-playing-text {
    margin-left: -74px;
}

.store-icon {
    height: 56px;
}

.current-tab-text {
    margin-left: 3.5rem;
}

#layout-current-role-section {
    height: fit-content;
}

#layout-current-role-section .left-btn-create-form-layout img {
    height: 24px;
    width: 24px;
}

#layout-current-role-section .left-btn-create-form-layout {
    border-radius: 12px 0 0 12px;
    min-width: 58px;
    min-height: 58px;
}

#layout-current-role-section .right-btn-create-form-layout {
    border-radius: 0 12px 12px 0;
    width: fit-content;
    min-width: 97px;
    padding: 16px 24px;
    height: fit-content;
    min-height: 58px;
}


.address-container {
    height: 34px;
    width: 34px;
    overflow: hidden;
    transition: 0.3s;

    span {
        display: block;
        height: 26px;
        width: 26px;
    }
}

.address-container:has(.address-name-container.w-0) {
    width: 34px;
}

.address-container:not(.w-0) {
    width: fit-content;
    max-width: 500px;
}

.address-name-container {
    p {
        white-space: nowrap;
        max-width: 240px;
        overflow: hidden;
        mask: linear-gradient(90deg, black 0, black 90%, transparent 100%) alpha;
        -webkit-mask: linear-gradient(90deg, black 0, black 90%, transparent 100%);
        width: 100%;
        padding-right: 8px;
    }
}

.address-index-container {
    height: 26px !important;
    width: 26px !important;;
}


#player-table {
    display: block;
    margin-bottom: 0;

    thead {
        display: inline-table;
        width: 100%;

        th:nth-child(1) {
            width: 10%;
        }

        th:nth-child(2) {
            width: 30%;
        }

        th:nth-child(3) {
            width: 10%;
        }

        th:nth-child(4) {
            width: 40%;
        }

        th:nth-child(5) {
            width: 10%;
        }
    }


    tr:nth-child(even) td {
        background-color: #F6F8F9 !important;
    }
}

#display-all-players {
    width: fit-content;
}


.first-letter-badge {
    height: 40px;
    width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#player-table-body {
    height: 510px;
    overflow-y: scroll;
    display: block;

    tr {
        display: inline-table;
        width: 100%;

        td:nth-child(1) {
            width: 10%;
        }

        td:nth-child(2) {
            width: 30%;
        }

        td:nth-child(3) {
            width: 10%;
        }

        td:nth-child(4) {
            width: 40%;
        }

        td:nth-child(5) {
            width: 10%;
        }
    }

}

#player-table-action {
    .title-check-icon {
        width: 30px;
        height: 30px;

        img {
            width: 15px;
        }
    }
}

#my-groups-container {
    border-top: 1px solid #233143;
    border-bottom: 1px solid #233143;

    .title-check-icon {
        margin-top: 0;
        height: 24px;
        width: 24px;

        span {
            position: relative;
            top: -6px;
        }
    }
}

#group-list-container {

    border-bottom: 1px solid #233143;

    p {
        width: 180px;
        max-width: 180px;
        white-space: nowrap;
        overflow: hidden;
        mask: linear-gradient(90deg, black 0, black 90%, transparent 100%) alpha;
        -webkit-mask: linear-gradient(90deg, black 0, black 90%, transparent 100%);
    }

    .title-check-icon {
        height: 24px;
        width: 24px;
        margin-top: 0;
        position: absolute;
        right: 42px;

        img {
            position: relative;
            top: -3px;
        }
    }

}

@media only screen and (max-device-height: 900px) {
    #player-table-body {
        height: 300px;
    }
}

@media only screen and (max-device-width: 1400px) {
    /*general css for media queries */
    h5.sm-text {
        font-size: 16px;
    }

    p.sm-text {
        font-size: 12px;
    }

    img#add-players {
        width: 40% !important;
    }
}

@media only screen and (max-device-width: 1200px) {

    /*general css for media queries */
    #start-playing #start-playing-text {
        margin-left: -50px;
    }

    #curvy-arrow {
        height: 50px;
        margin-left: -10px;
    }

    .left-register-inside-column {
        padding: 2rem;
    }

    #create-account-welcome {
        font-size: 20px;
    }

    #player-table-body {
        height: 300px;
    }

    #group-list-container {

        p {
            width: 100px;
        }
    }

}