
.custom-modal { 
    display: none;
    height: 0%;
    position: absolute;
    top: -100%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-radius: var(--borderRadiusLarge);
    background-color: rgb(var(--clr-lightdark));
    border: 1px solid rgb(var(--clr-red));
    padding: 20px;
    box-shadow: 0 0 40px rgb(var(--clr-red));
    opacity: 0;
}

.custom_modal_tos {
    width: 70%;
    height: 70%;
    left: 15%;
    top: 15%;
}

.custom-modal-header, .custom-modal-footer {
    height: 5dvh;
}

.custom-modal-content { 
    height: calc(100% - 10dvh);
}

.custom-modal-img-avatar {
    width: var(--custom-modal-avatar-size);
    height: var(--custom-modal-avatar-size);
    border-radius: var(--custom-modal-avatar-size);
    object-fit: cover;
}

.custom-modal-row-item {
    border-bottom: 1px solid rgb(var(--clr-white));
    border-radius: 0;
    padding: 10px;
}

.custom-modal .table-header {
    border-radius: var(--borderRadiusMedium);
    padding: 5px 20px;
}

.modal-backdrop-custom {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
    pointer-events: auto;
    display: none;
    align-items: center;
    justify-content: center;
}

.custom-modal {
    pointer-events: auto;
    z-index: 1000;
}

.modalUserProfile .userInfoRow {
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(var(--clr-white));
}

.custom-modal .bets-history-content {
    height: calc(100dvh - 410px) !important;
    overflow: hidden auto;
}

.custom-modal-content-tab {
    padding:5px 10px;
    cursor: pointer;
}

.custom-modal-content-tab.active {
    color: rgb(var(--clr-redLabel));
    border-bottom: 1px solid rgb(var(--clr-redLabel));
    font-weight: bold;
}

.custom-modal-content-tab-content,.divBtnsUserProfileModal { display: none; }
.custom-modal-content-tab-content.active, .divBtnsUserProfileModal.active { display: flex; }

.form-control {
    color: rgb(var(--clr-white));
    background-color: rgb(var(--clr-lightdark));
    border: 1px solid rgb(var(--clr-red));
}

.form-control:disabled, .form-control[readonly] {
    background-color: rgb(var(--clr-lightdark));
    border: 1px solid rgb(var(--clr-red));
        color: rgb(var(--clr-white));
}

.form-control:focus {
    color: rgb(var(--clr-white));
    background-color: rgb(var(--clr-lightdark));
    border: 1px solid rgb(var(--clr-red));
    outline: 0;
    box-shadow: none;
}

@media (max-width: 768px) {
    :root {
        --custom-modal-avatar-size: 100px;
        --team-logo-size: 20px;
    }

    .custom-modal-mobile-sections {
        height: 50dvh;
        overflow: hidden auto;
        padding: 5px;
    }

    .custom-modal-mobile-sections.auto {
        height: auto;
    }

    .home-team-img, .away-team-img { 
        width: var(--team-logo-size); 
        height: var(--team-logo-size);
        object-fit: contain;
    }
}
