

.container-input > input {
    padding: 0vh 1vh;
    border-radius: 0.5vh;
    max-width: 7vh;
}


/* Right column */
.rightcolumn {
    min-width: fit-content;
}

/* Main Table */
#pageBody {
    max-height: 77vh;
    padding: 0 5vw;
    margin: 0;
    border: 0;
    align-content: center;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    width: 90vw;
    color: var(--colour-text);
}


/* Footer */
.footer {
    padding: 1vh 1vw;
    text-align: center;
    margin: 0;
    max-height: 5vh;
    overflow-y: auto;
    background-color: var(--colour-accent);
    position: absolute;
    bottom: 0;
    width: 98vw;
}

@media screen and (max-width: 400px) {
    .footer  {
        max-height: 8vh;
        padding: 0.75vh 2vw;
        font-size: 10px;    
        width: 96vw;
        max-width: 96vw;
    }
    .footer > h4 {
        font-size: 10px;
    }
    .footer > h5 {
        font-size: 9px;
    }
}

.footer > h4, h5 {
    padding: 0;
    margin: 0;
}
/* MTG Games Page Styles */

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: tcg-fadeInDown 0.8s ease-out;
    margin: 0 auto;
}

.page-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--tcg-accent-gold), var(--tcg-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--tcg-text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Games Section */
.games-section {
    position: relative;
    animation: tcg-fadeIn 0.8s ease-out 0.2s backwards;
    margin: 2vh auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Filters Form */
.filters-form {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--tcg-bg-card);
    border: 1px solid var(--tcg-border-color);
    border-radius: 12px;
}

.filters-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.filter-group.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.filter-group.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--tcg-accent-purple);
}

.filter-group.checkbox-group .tcg-label {
    margin-bottom: 0;
}

/* Games Table */
.games-table-container {
    overflow-x: auto;
}

.games-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.games-table thead {
    background: var(--tcg-bg-card);
    border-bottom: 2px solid var(--tcg-accent-purple);
}

.games-table th {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tcg-accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem;
    text-align: left;
}

.games-table tbody tr {
    border-bottom: 1px solid var(--tcg-border-color);
    transition: all 0.3s ease;
}

.games-table tbody tr:hover {
    background: rgba(139, 92, 246, 0.1);
}

.games-table tbody tr.inactive {
    opacity: 0.5;
}

.games-table td {
    padding: 1rem;
    vertical-align: middle;
}
.games-table tbody td.game-location,
.games-table tbody td.game-date {
    color: white;
}

.game-id {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--tcg-text-secondary);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-commander {
    background: linear-gradient(135deg, var(--tcg-accent-purple), rgba(139, 92, 246, 0.5));
    color: white;
}

.badge-draft {
    background: linear-gradient(135deg, #2563eb, rgba(37, 99, 235, 0.5));
    color: white;
}

.badge-sealed {
    background: linear-gradient(135deg, #059669, rgba(5, 150, 105, 0.5));
    color: white;
}

.badge-standard {
    background: linear-gradient(135deg, var(--tcg-accent-gold), rgba(212, 175, 55, 0.5));
    color: var(--tcg-bg-primary);
}

/* Status Indicators */
.status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-active::before {
    background: #22c55e;
    animation: pulse-status 2s ease-in-out infinite;
}

.status-ended {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.status-ended::before {
    background: #9ca3af;
}

.status-inactive {
    background: rgba(220, 38, 38, 0.2);
    color: #dc2626;
}

.status-inactive::before {
    background: #dc2626;
}

@keyframes pulse-status {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Join Button */
.btn-join {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* No Games Message */
.no-games {
    text-align: center;
    padding: 3rem !important;
}

.no-games-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.no-games-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.no-games-message p {
    color: var(--tcg-text-secondary);
    font-size: 1.1rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: tcg-fadeIn 0.3s ease-out;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: tcg-scaleIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header .tcg-section-title {
    margin-bottom: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--tcg-text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--tcg-accent-red);
}

/* New Game Form */
.new-game-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group textarea.tcg-input {
    resize: vertical;
    min-height: 80px;
}

.form-group select.tcg-input {
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .filters-row {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .games-table th,
    .games-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    .btn-join {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}


/*# sourceMappingURL=tcg_games.bundle.css.map*/