﻿/*
.container-md {
    min-height: calc(100vh - 2rem);
}
*/

.beach-volleyball-loader {
    position: relative;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .beach-volleyball-loader .ball {
        width: 20px;
        height: 20px;
        background-color: #f4b400;
        border-radius: 50%;
        border: 2px solid #fff;
        box-shadow: 0 0 0 2px #db4437, 0 0 0 4px #4285f4;
        animation: bounce 1s ease-in-out infinite;
    }

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Ensure the icon is vertically centered */
.col-4.dropdown {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Optionally, you might want to ensure the dropdown menu is styled correctly */
.dropdown-menu {
    display: none; /* Initially hide the dropdown menu */
}

    .dropdown-menu.show {
        display: block; /* Show the dropdown menu when toggled */
    }

html {
    overscroll-behavior: none;
    /*min-height: 100%;*/
}

body {
    font-family: 'Roboto';
    overscroll-behavior: none;
    /*min-height: 100%;*/
}

a {
    text-decoration: none;
    font-size: 12px;
}

/* disables border in image */
img:not([src]) {
    display: none;
}

.gc-header-height {
    min-height: 48px;
}

.box-flex-col {
    display: flex;
}

.box-standard {
    box-sizing: border-box;
    padding-left: 4%;
    padding-right: 4%;
    padding-top: 1%;
    padding-bottom: 1%;
    border-bottom-style: solid;
    border-width: 1px;
}

.img-symbol {
    width: 48px;
    height: 48px;
}

.img-link {
    width: 35px;
    height: 35px;
}

.img-link-facebook {
    width: 19px;
    height: 35px;
}

.img-link-web {
    width: 38px;
    height: 28px;
}

.img-userphoto {
    width: 50px;
    height: 50px;
}

.div-100 {
    width: 100%;
}

.div-50 {
    width: 50%;
}

.lds-hourglass {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-hourglass:after {
        content: " ";
        display: block;
        border-radius: 50%;
        width: 0;
        height: 0;
        margin: 8px;
        box-sizing: border-box;
        border: 32px solid #000;
        border-color: #000 transparent #000 transparent;
        animation: lds-hourglass 1.2s infinite;
    }

@keyframes lds-hourglass {
    0% {
        transform: rotate(0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    50% {
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    100% {
        transform: rotate(1800deg);
    }
}

.gc-header-font-size {
    font-size: 16px;
}

/* Font size for medium devices (tablets, small laptops) */
@media screen and (min-width: 400px) {
    .gc-header-font-size {
        font-size: 18px;
    }
}

.gc-font-size-14 {
    font-size: 14px;
}

.default-hover:hover {
    cursor: default;
}

.gc-float-left {
    float: left;
}

.matchDiv {
    font-size: 16px;
    border-radius: 6px;
    background: #bb9b44;
    color: rgb(0, 0, 0);
    min-height: 47px;
    margin-left: 2px;
    margin-right: 2px;
}

.matchBlinkingDiv {
    font-size: 16px;
    animation: blinker 2s linear infinite;
    border-radius: 6px;
    background: #bb9b44;
    color: rgb(0, 0, 0);
}

.gameResultDiv {
    border-radius: 12px;
}

.gameResultGreenDiv {
    border-radius: 6px;
    background: #16C138;
}

.gameResultRedDiv {
    border-radius: 6px;
    background: #ED4242;
}

.gameResultYellowDiv {
    border-radius: 6px;
    background: rgb( 210, 210, 0);
}

.setsResultDiv {
}

.gameResultDivLive {
    border-radius: 6px;
    background: white;
    color: black;
}

.gameResultYellowDivLive {
    border-radius: 6px;
    background: rgb( 210, 210, 0);
}

.gameResultGreenDivLive {
    border-radius: 6px;
    background: #16C138;
}

.gameResultRedDivLive {
    border-radius: 6px;
    background: #ED4242;
}

.gameSetsResultDivLive {
    border-radius: 6px;
}

.gameSetsResultGreenDivLive {
    border-radius: 6px;
}

.gameSetsResultRedDivLive {
    border-radius: 6px;
}

.disclaimer {
    font-size: 12px;
    color: rgb(0, 0, 0);
}

.img-sponsor {
    text-align: center;
}

.gc-offcanvas {
    width: 223px;
}

.float-left {
    float: left;
}

.ml5 {
    margin-left:5px;
}

.text-size-10 {
    font-size: 10px;
}

.text-size-12 {
    font-size: 12px;
}

.text-size-14 {
    font-size: 14px;
}

.text-size-24 {
    font-size: 24px;
}

.text-size-32 {
    font-size: 32px;
}

.menu-footer {
    height: 82px;
    background: #F2F1F6;
    border-top-right-radius: 30px;
    box-shadow: 2px -3px 5px rgba(0, 0, 0, 0.16);
}

.border-grey {
    border-color: grey;
}

.settings-header-small {
    height : 19px;
    width: 100%;
    background-color: #323232;
    font-size: 14px;
    padding-left: 16px;
    color: white;
}

/* Text Colors */
.red {
    color: red;
}

.dark-yellow {
    color: rgb(246,190,0);
}

.dark-blue {
    color: darkblue;
}

.orange {
    color: orange;
}

.dark-sea-green {
    color: darkseagreen;
}

.bg-light-grey {
    background-color: #F2F1F6;
}

/* Buttons */
.gc-button {
    background: #F2F1F6;
    border-radius: 4px;
    width: 160px;
    height: 25px;
    color: black;
    text-align: center;
    font-size: 14px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.16);
}

.gc-button-link {
    border-radius: 6px;
    height: 24px;
    border: 1px solid #D6D6D8;
    color: black;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.close-modal {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: black;
    opacity: 1;
    text-shadow: none;
    background-color: transparent;
    border: none;
    padding: 0;
}

.photo-sharing-btn {
    background-color: black !important;
    border: none !important;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 24px;
    margin-right: 2px;
}

    .photo-sharing-btn:focus, .photo-sharing-btn:hover {
        background-color: black !important;
        box-shadow: none !important;
    }

.game-table-btn {
    background-color: black !important;
    border: none !important;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 24px;
    margin-right: 2px;
}

    .game-table-btn:focus, .game-table-btn:hover {
        background-color: black !important;
        box-shadow: none !important;
    }

.material-icons {
    color: white;
    font-size: 16px;
    vertical-align: middle;
}

.entry {
    border: 1px solid #000;
    padding: 5px;
    width: 100%;
}

#menu-body {
    overflow-y: scroll; /* Makes the content scrollable */
}

    #menu-body::-webkit-scrollbar {
        display: none; /* Hides the scrollbar in WebKit browsers */
    }

#menu-body {
    -ms-overflow-style: none; /* Hides the scrollbar in IE and Edge */
}

/* Ajustar o Canvas para ocupar todo o espaço disponível ao maximizar */
.modal-fullscreen #photoCanvas {
    width: 100%;
    height: 100%;
}

/* Adicione este estilo para garantir que o canvas ocupe o máximo possível dentro do modal */
#photoCanvas {
    max-width: 100%;
    height: auto;
}

.sets-result {
    font-size: 0.8em;
    color: #555;
    margin-left: 5px;
}

.team-symbol {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    margin-left: 5px;
}

.team-name {
    /* Estilos para o nome da equipe */
}

.card-header {
    font-size: 1.2em;
}

.row.border-bottom {
    border-bottom: 1px solid #dee2e6;
}
/* Ajustes para dispositivos menores */
@media (max-width: 576px) {
    .card-header {
        font-size: 1em;
    }

    .col-3, .col-4, .col-2 {
        font-size: 0.9em;
    }
}

/* It's defined in the individual teams CSS*/
.team_colors {}

.material-icons-outlined.star-icon {
    /* Garantir que o botão não tenha estilos que atrapalhem a interação */
    background: none;
    border: none;
    padding: 0;
    outline: none;
}

.no-focus-outline:focus,
.no-focus-outline:active,
.no-focus-outline:hover {
    outline: none;
    box-shadow: none;
    border: none;
}

/* Parsed records for excel upload */

/* Color coding for fuzzy match quality */
.good-match {
    background-color: lightgreen !important;
}

.medium-match {
    background-color: yellow !important;
    font-weight: bold;
}

.bad-match {
    background-color: lightcoral !important;
}
/* Increase field size for usability */
.wide-field {
    min-width: 200px;
    height: 2.5em;
    font-size: 1em;
}
/* Full‑width, extra‑large modal (Bootstrap) */
.modal-dialog.modal-xl {
    max-width: 100%;
}
/* Ensure the table is responsive */
.table-responsive {
    overflow-x: auto;
}
/* Alternating row colors for game blocks (each game uses two rows) */
.game-block-even {
    background-color: #f9f9f9 !important;
}

.game-block-odd {
    background-color: #ffffff !important;
}

.save-btn {
    font-size: 1.2em;
}

/* Torneios */
.btn-filter {
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-filter .material-icons-outlined {
        font-size: 18px;
        line-height: 1;
    }

    .btn-filter:focus,
    .btn-filter:active {
        outline: none;
        box-shadow: none;
    }

.gc-header-center {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

    .gc-header-center .img-symbol {
        height: 26px; /* adjust if needed */
        width: auto;
    }

/* --- iOS bottom safe margin (prevents last element under slide-up / home indicator) --- */
:root {
    --gs-min-vertical-margin: 24px; /* minimum required vertical margin */
}

body {
    /* fallback (all platforms) */
    padding-bottom: var(--gs-min-vertical-margin);
    /* iOS safe area (older + newer) */
    padding-bottom: calc(var(--gs-min-vertical-margin) + constant(safe-area-inset-bottom));
    padding-bottom: calc(var(--gs-min-vertical-margin) + env(safe-area-inset-bottom));
}

/* helps when scrolling/focusing inputs near the bottom */
html {
    scroll-padding-bottom: calc(var(--gs-min-vertical-margin) + env(safe-area-inset-bottom));
}

#openFilterBtn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    color: #111111 !important;
    opacity: 1 !important;
    box-shadow: none;
}

    #openFilterBtn:hover,
    #openFilterBtn:focus,
    #openFilterBtn:active {
        background: #f8f9fa !important;
        color: #111111 !important;
    }

    #openFilterBtn svg {
        width: 20px;
        height: 20px;
        display: block;
        stroke: currentColor;
    }

.notification-settings-modal {
    background: #f6f7fb;
}

.notification-settings-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
    background: #ffffff;
}

.notification-settings-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.15rem;
}

.notification-settings-body {
    padding: 1rem;
}

.notification-settings-card {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
}

.notification-settings-accordion-button {
    font-weight: 700;
    font-size: 1rem;
    background: #ffffff;
}

    .notification-settings-accordion-button:not(.collapsed) {
        color: #212529;
        background: #ffffff;
        box-shadow: none;
    }

    .notification-settings-accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

.notification-settings-info {
    background: #f1f3f5;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 1rem;
}

.notification-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.notification-option-last {
    border-bottom: 0;
}

.notification-option-copy {
    min-width: 0;
}

.notification-option-title {
    font-weight: 600;
    color: #212529;
    line-height: 1.2;
}

.notification-option-description {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.2rem;
}

.notification-option-switch {
    margin: 0;
    flex-shrink: 0;
}

    .notification-option-switch .form-check-input {
        width: 2.6em;
        height: 1.4em;
        cursor: pointer;
    }

.notification-settings-footer-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.notification-settings-meta {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 0.9rem 1rem;
}

.notification-settings-meta-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
    margin-bottom: 0.2rem;
}

.notification-settings-meta-value {
    color: #212529;
    word-break: break-word;
}

/* Team sheets follow the app's neutral cards and rounded modals. */
#starting-11-modal.teams-modal .modal-content { border: 0; border-radius: 20px; overflow: hidden; color: #202936; box-shadow: 0 20px 70px rgba(0,0,0,.18); }
#starting-11-modal.teams-modal .modal-header { padding: 22px 24px; gap: 16px; border-bottom: 1px solid #e8ecf1; }
#starting-11-modal.teams-modal .modal-body { padding: 24px; background: #fafbfc; }
#starting-11-modal .teams-modal-heading { display: flex; align-items: center; gap: 14px; min-width: 0; }
#starting-11-modal .teams-modal-heading > .material-icons-outlined { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 14px; background: #f0f2f5; color: #566171; }
#starting-11-modal .teams-modal-heading small { display: block; margin-bottom: 4px; color: #697586; font-size: 12px; font-weight: 600; }
#starting-11-modal .teams-modal-heading .modal-title { margin: 0; font-size: 18px; font-weight: 650; line-height: 1.4; }
#starting-11-modal .btn-close { flex-shrink: 0; margin: 0 0 0 auto; min-width: 24px; min-height: 24px; }
#starting-11-modal .teams-roster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; }
#starting-11-modal .teams-roster { min-width: 0; overflow: hidden; border: 1px solid #e1e6ed; border-radius: 16px; background: #fff; }
#starting-11-modal .teams-roster-heading { display: flex; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid #e8ecf1; }
#starting-11-modal .teams-roster-title { flex: 1; min-width: 0; }
#starting-11-modal .teams-roster-title small { display: block; color: #697586; font-size: 11px; font-weight: 600; margin-bottom: 5px; }
#starting-11-modal .teams-roster-title h6 { margin: 0; font-size: 16px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
#starting-11-modal .teams-roster-count { flex-shrink: 0; padding: 4px 8px; border-radius: 20px; background: #f0f2f5; color: #566171; font-size: 11px; font-weight: 600; }
#starting-11-modal .teams-player-list { list-style: none; padding: 0; margin: 0; }
#starting-11-modal .teams-player { display: flex; align-items: center; gap: 10px; padding: 10px 16px; min-height: 58px; border-bottom: 1px solid #f0f2f5; }
#starting-11-modal .teams-player:last-child { border-bottom: 0; }
#starting-11-modal .teams-player-number { display: grid; place-items: center; width: 30px; flex: 0 0 30px; height: 28px; border-radius: 7px; background: #f0f2f5; color: #566171; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
#starting-11-modal .teams-player-avatar { position: relative; display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; overflow: hidden; border-radius: 50%; background: #eef1f5; color: #697586; font-size: 11px; font-weight: 650; }
#starting-11-modal .teams-player-avatar img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
#starting-11-modal .teams-player-avatar:empty { display: none; }
#starting-11-modal .teams-player-name { min-width: 0; flex: 1; font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
#starting-11-modal .teams-player-libero { padding: 3px 6px; border-radius: 6px; background: #f2eee2; color: #5b4c20; font-size: 10px; font-weight: 600; }
#starting-11-modal .teams-roster-coach { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; padding: 14px 18px; border-top: 1px solid #e8ecf1; background: #fafbfc; font-size: 12px; }
#starting-11-modal .teams-roster-coach span { color: #697586; }
#starting-11-modal .teams-roster-coach strong { margin-left: auto; font-weight: 600; overflow-wrap: anywhere; }
#starting-11-modal .teams-roster-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px 18px; text-align: center; color: #697586; }
#starting-11-modal .teams-roster-empty > span { font-size: 30px; color: #9ba5b2; }
#starting-11-modal .teams-roster-empty strong { font-size: 14px; font-weight: 600; color: #566171; }
#starting-11-modal .teams-roster-empty p { margin: 0; font-size: 12px; line-height: 1.6; }
#starting-11-modal .teams-modal-state { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 160px; padding: 24px; text-align: center; color: #697586; font-size: 14px; }
@media (max-width: 575.98px) {
    #starting-11-modal.teams-modal .modal-header, #starting-11-modal.teams-modal .modal-body { padding: 18px; }
    #starting-11-modal .teams-roster-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    #starting-11-modal .teams-modal-heading { gap: 10px; }
    #starting-11-modal .teams-modal-heading .modal-title { font-size: 16px; }
}
