﻿/*
.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%;*/
}

/* Man of the Match / MVP */
.mvp-toolbar-button { position:relative; color:#111827; }
.mvp-toolbar-button .material-icons-outlined { font-size:1.55rem; }
.mvp-toolbar-button:hover,.mvp-toolbar-button:focus { color:#0d6efd; }
.mvp-toolbar-button.has-leader,.mvp-toolbar-button.is-decided { color:#b77900; }
.mvp-action-badge { position:absolute; right:-.25rem; top:-.2rem; min-width:1.35rem; padding:.08rem .22rem; border-radius:999px; background:#0d6efd; color:#fff; font-size:.48rem; font-weight:800; line-height:1.15; letter-spacing:.02em; }
.mvp-toolbar-button.is-decided .mvp-action-badge { background:#b77900; }
.mvp-modal-content { border:1px solid #e5e7eb; border-radius:.85rem; overflow:hidden; box-shadow:0 18px 55px rgba(15,23,42,.18); }
.mvp-modal-content .modal-header { padding:1rem 1.1rem; background:#fff; border-bottom:1px solid #e5e7eb; }
.mvp-modal-heading { display:flex; align-items:center; gap:.7rem; min-width:0; }
.mvp-modal-heading > .material-icons-outlined { color:#b77900; font-size:1.8rem; }
.mvp-modal-heading small { display:block; color:#6b7280; font-size:.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.mvp-modal-heading .modal-title { font-size:1rem; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mvp-modal-content .modal-body { padding:1rem 1.1rem 1.15rem; background:#f8fafc; }
.mvp-modal-content .modal-footer { padding:.75rem 1.1rem; background:#fff; border-top:1px solid #e5e7eb; }
.mvp-result-card { margin-bottom:1rem; }
.mvp-result-empty,.mvp-winner-card { min-height:5.25rem; display:flex; align-items:center; gap:.9rem; padding:.85rem 1rem; border:1px solid #e5e7eb; border-radius:.7rem; background:#fff; }
.mvp-result-empty > .material-icons-outlined { color:#9ca3af; font-size:2rem; }
.mvp-result-empty strong,.mvp-result-empty small,.mvp-winner-copy strong,.mvp-winner-copy small { display:block; }
.mvp-result-empty strong { color:#1f2937; font-size:.92rem; }
.mvp-result-empty small { color:#6b7280; font-size:.78rem; }
.mvp-winner-card { border-color:#ead9a8; background:linear-gradient(135deg,#fff 0%,#fffaf0 100%); }
.mvp-winner-copy { flex:1 1 auto; min-width:0; }
.mvp-winner-copy > span { display:block; color:#926c0a; font-size:.64rem; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.mvp-winner-copy strong { margin:.1rem 0; color:#111827; font-size:1.05rem; }
.mvp-winner-copy small { color:#6b7280; }
.mvp-winner-trophy { color:#d39b17; font-size:2rem; }
.mvp-avatar { position:relative; display:inline-grid; place-items:center; flex:0 0 auto; overflow:hidden; border-radius:50%; background:#e9eef5; color:#475569; font-weight:800; }
.mvp-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.mvp-avatar-player { width:2.8rem; height:2.8rem; font-size:.75rem; }
.mvp-avatar-winner { width:4rem; height:4rem; border:2px solid #e7c665; font-size:1rem; }
.mvp-avatar-admin { width:2rem; height:2rem; font-size:.6rem; }
.mvp-section-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:.65rem; }
.mvp-section-heading h6 { margin:0; color:#111827; font-size:.9rem; font-weight:700; }
#mvpDeadline { color:#64748b; font-size:.72rem; white-space:nowrap; }
.mvp-candidates { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; }
.mvp-candidates.is-single-team { grid-template-columns:minmax(0,1fr); }
.mvp-team-group { padding:.75rem; border:1px solid #e5e7eb; border-radius:.7rem; background:#fff; }
.mvp-team-group h6 { margin:0 0 .55rem; padding:0 0 .5rem; border-bottom:1px solid #eef0f3; color:#374151; font-size:.78rem; font-weight:700; }
.mvp-player-grid { display:grid; gap:.4rem; }
.mvp-candidate { display:flex; align-items:center; gap:.65rem; min-height:3.7rem; padding:.42rem .55rem; border:1px solid transparent; border-radius:.6rem; cursor:pointer; transition:border-color .15s,background .15s,box-shadow .15s; }
.mvp-candidate > input { position:absolute; opacity:0; pointer-events:none; }
.mvp-candidate:hover { background:#f8fafc; border-color:#dbe3ee; }
.mvp-candidate.selected { border-color:#0d6efd; background:#f1f6ff; box-shadow:0 0 0 1px rgba(13,110,253,.08); }
.mvp-candidate.is-disabled { cursor:default; opacity:.72; }
.mvp-player-copy { flex:1 1 auto; min-width:0; }
.mvp-player-copy strong,.mvp-player-copy small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mvp-player-copy strong { color:#111827; font-size:.84rem; }
.mvp-player-copy small { color:#6b7280; font-size:.7rem; }
.mvp-choice-check { color:#cbd5e1; font-size:1.25rem; }
.mvp-candidate.selected .mvp-choice-check { color:#0d6efd; }
.mvp-loading { display:flex; align-items:center; justify-content:center; gap:.6rem; min-height:6rem; color:#64748b; font-size:.82rem; }
.mvp-empty-state { grid-column:1/-1; padding:1rem; border:1px dashed #cbd5e1; border-radius:.7rem; background:#fff; color:#64748b; font-size:.82rem; text-align:center; }
.mvp-admin-player { display:flex; align-items:center; gap:.55rem; }
.mvp-admin-player small { display:block; color:#6b7280; }
.mvp-rank-position { display:inline-grid; place-items:center; width:1.8rem; height:1.8rem; border-radius:50%; background:#edf5ff; color:#0a4fb3; font-weight:800; }
@media (max-width:575px) {
    .mvp-candidates { grid-template-columns:1fr; }
    .mvp-modal-content .modal-body { padding:.85rem; }
    .mvp-winner-trophy { display:none; }
    .mvp-avatar-winner { width:3.5rem; height:3.5rem; }
}

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;
}
