
/* Font para table de Stadings
font-family: 'Courier New', Courier, monospace;
*/

:root {
    --color-background: #060f1c;
    --color-light: #cccccc;
    --border-radius-1: 0.4rem;
    --box-shadow: 2rem 0rem 4rem #CCCCCC;
}

html, body {
    height: 100%;
}

body {
    background-color: #112B50;
    color: var(--color-light);
    font-family: Verdana, Geneva, Arial, sans-serif;
    font-size: 14px;
    margin: 0;
}

a {
    color: var(--color-light);
    text-decoration: none;
    margin: 0 10px;
}

h1 {
    font-size: 1.1rem;
}

h2 {
    font-size: 0.9rem;
}

.h2-title {
    text-align: center;
}

h3{
    font-size: 0.75rem;
}

.color-red {
    color: #E50000;
}

.container {
    margin: 20px auto;
    width: 80%;
    padding: 20px;
    transition: all 0.3s ease;
    background-color: var(--color-background);
    border-radius: 20px;
    box-shadow: 0 0 10px #00000055;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-banner {
    position: relative;
    height: 250px;
    background-image: url("../images/bg.png");    
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.top-banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.logo-bg {
    width: 300px;
    height: auto;
}

.nav-links {
    margin-top: 10px;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
}

.main-content {
    background-color: var(--color-background);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    flex: 1;
}


button {
    background-color: #CCCCCC;
    color: #112B50;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px outset #060F1C;
    cursor: pointer;
}

button:hover {
    background-color: #FFFF00;
    color: #112B50;
}

h1:focus {
    outline: none;
}

.league-intro {
    background: linear-gradient(90deg, #1c2230, #2a3245);
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.league-intro h1 {
    font-size: 26px;
    margin-bottom: 10px;
}

.league-intro p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 15px;
    line-height: 1.5;
}

.league-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    font-size: 15px;
}

.btn-primary {
    background: #ff0044;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #ff3366;
}


.container-cards {
    justify-content: space-between;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 20px;
    align-items: flex-start;
    width: 100%;
}

.left-card, .center-card, .right-card {
    flex: 1;
    min-width: 280px;
}

.match-card {
    background-color: #1c2230;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.title-header {
    display: flex;    flex-direction: column;

    font-size: 14px;
    color: #ccc;
}

.match-header .title {
    font-weight: bold;
    color: white;
    text-align: center;
}

.match-header .date {
    color: white;
    text-align: center;
}

.map {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map img {
    width: 240px;
    height: 135px;
    border: 1px solid #ff0044;
    border-radius: 5px;
}

.match-teams {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.team img {
    width: 65px;
    height: 65px;
}

.vs {
    font-weight: bold;
    font-size: 18px;
}

.match-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    text-align:  center;
}

.book-btn {
    background-color: #222b3e;
    color: white;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid #555;
}

.book-btn:hover {
    background-color: #ff0044;
    border-color: #ff0044;
}

.central-card {
    background-color: #1c2230;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 15px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.weeks-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.week-button {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    background: #f5f5f5;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}

.week-button:hover {
    background: #ddd;
}

.week-button.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.card-header {
    display: flex;
    flex-direction: column;
}

.card-header .week-name {
    font-weight: bold;
    font-size: 14px;
}

.card-header .date-time {
    font-size: 12px;
    color: #aaa;
}

.card-match {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.match-result {
    min-width: 60px;
    text-align: center;
}

.match-result span {
    font-size: 20px;
}


.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team img {
    width: 50px;
    height: 50px;
}

.team p {
    margin: 5px 0 0;
    font-size: 14px;
}

.match-result {
    min-width: 60px;
    text-align: center;
}

.match-result span {
    font-size: 20px;
}

.vs {
    font-weight: bold;
    font-size: 18px;
    color: white;
    padding: 0 10px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.btn-book {
    background-color: transparent;
    border: 1px solid #777;
    padding: 5px 12px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    font-size: 12px;
}

.btn-book:hover {
    background-color: #ff0044;
    border-color: #ff0044;
}

.standings-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
    width: 100%;
}

.standings-header {
    background-color: #77FFD6;
    color: #1c2230;
    display: grid;
    grid-template-columns: 30px 1fr 30px 30px 30px 40px 40px;
    padding: 8px 10px;
    font-weight: bold;
}

.standings-row {
    display: grid;
    grid-template-columns: 30px 1fr 30px 30px 30px 40px 40px;
    align-items: center;
    padding: 8px 10px;
    background-color: #1c2230;
    color: #ffffff;
}

.standings-row:hover {
    background-color: #77FFD6;
    color:  #1c2230;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-info img {
    width: 20px;
    height: 20px;
}

.team-info span {
    font-size: 13px;
}

.search-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.search-input input {
    width: 360px;
    padding: 8px 12px;
    border: 2px solid #1A2E50;
    border-radius: 6px;
    background-color: #0B1E3C;
    color: #CCCCCC;
    font-size: 12px;
}

.search-input input::placeholder {
    color: #888;
}


.btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-filter {
    background-color: #CCCCCC;
    color: #112B50;
    border: 2px solid #112B50;
}

.btn-filter:hover {
    background-color: #FFFF00;
}

.btn-clear {
    background-color: transparent;
    color: #FF5555;
    border: 2px solid #FF5555;
}

.btn-clear:hover {
    background-color: #FF5555;
    color: #0B1E3C;
}

.nickname-banned {
    text-decoration: line-through;
}

.banned-label {
    background-color: #E50000;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    margin-left: 0.5rem;
    border-radius: 4px;
    font-weight: bold;
}

/* Table*/
.table-wrapper {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

table {
    background-color: #0B1E3C;
    border-radius: 4px;
    color: #CCCCCC;
    border-collapse: collapse;
    margin: 0;
    width: 100%;
    max-width: 1024px;
    table-layout: fixed;
}

table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

table tr {
    padding: .35em;
}


.table tr :hover {
     background-color: #00ffcc;
    color: #142B4F;
    font-weight: bold;
}


table th,
table td {
    padding: .500em;
    text-align: center;
}

table th {
    background-color: #112B50;
    color: #77FFD6;
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.table td a {
    background-color: #CCCCCC;
    color: #112B50;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.table td a:hover {
    background-color: #FFFF00;
}

.table-clickable {
    cursor: pointer;
}
.table-clickable:hover {
    text-decoration: underline;
}

.team-logo-with-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo-with-text img {
    width: 32px;
    height: 32px;
    border-radius: 5px;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .container-cards {
        flex-direction: column;
        align-items: center;
    }

    .left-card, .center-card, .right-card {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .search-bar input {
        width: 300px;
    }

    .table-wrapper {
        display: flex;
        justify-content: center;
        padding: 1rem;
    }
    
    .table {
        max-width: 1024px;
        margin: 0 auto;
    }

    .team-logo-with-text {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 0.5em;
    }

    .team-logo-with-text img {
        max-width: 30px;
        height: auto;
    }

    table caption {
        font-size: 1.3em;
    }

    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table tr {
        display: block;
        margin-bottom: .625em;
        background-color: #142B4F;
    }

    table tr :hover {
        background-color: #112B50;
    }

    table td {
        display: block;
        font-size: .8em;
        text-align: right;
    }

    table td a {
        display: block;
        text-align: center;
    }

    table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }

    table td:last-child {
        border-bottom: 0;
    }
}

.toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.toggle-container {
    color: #00ffcc;
    background-color: #1a1a1a;
    padding: 8px 12px;
    border: 1px solid #00ffcc;
    border-radius: 5px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.toggle-button {
    background: transparent;
    border: none;
    color: #CCCCCC;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 2px 6px;
    transition: color 0.2s ease;
}

.toggle-button:hover {
    background-color: #CCCCCC;
    color: #FFFF00;
}


@media screen and (max-width: 600px) {
    width: 150px;
    height: auto;
}
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

