/* Tournament Page Styles */

/* Page Container */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation Header */
.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #2d3561;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.back-btn:hover {
    border-color: #ff0080;
    background: rgba(255, 0, 128, 0.1);
}

.page-title {
    font-size: 2em;
    font-weight: 700;
    background: linear-gradient(135deg, #ff0080, #7928ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gold-display-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1425 100%);
    border: 1px solid #2d3561;
    border-radius: 8px;
    font-weight: 600;
    color: #ffd700;
}

.gold-icon {
    font-size: 1.2em;
}

.create-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff0080 0%, #7928ca 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1em;
}

.create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 0, 128, 0.4);
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1425 100%);
    border: 1px solid #2d3561;
    border-radius: 10px;
    padding: 15px 20px;
    text-align: center;
}

.stat-value {
    font-size: 1.5em;
    font-weight: 700;
    color: #00ff88;
    font-family: monospace;
}

.stat-label {
    font-size: 0.8em;
    color: #8b92b0;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Invite Code Section */
.invite-code-section {
    margin-bottom: 25px;
}

.invite-code-input-group {
    display: flex;
    gap: 10px;
    max-width: 400px;
}

.invite-code-input {
    flex: 1;
    padding: 12px 16px;
    background: #1a1f3a;
    border: 1px solid #2d3561;
    border-radius: 8px;
    color: #fff;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.invite-code-input:focus {
    outline: none;
    border-color: #ff0080;
}

.join-code-btn {
    padding: 12px 24px;
    background: #2d3561;
    border: 1px solid #3d4571;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.join-code-btn:hover {
    background: #3d4571;
    border-color: #ff0080;
}

/* Featured Section */
.featured-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #ff0080, #7928ca);
    border-radius: 2px;
}

/* Tournament Grid */
.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Tournament Controls */
.tournament-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-tabs {
    display: flex;
    gap: 5px;
    background: #0f1425;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #1a1f3a;
}

.filter-tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: #8b92b0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.filter-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.filter-tab.active {
    background: linear-gradient(135deg, #ff0080 0%, #7928ca 100%);
    color: #fff;
}

.search-group {
    flex: 1;
    min-width: 200px;
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    background: #1a1f3a;
    border: 1px solid #2d3561;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95em;
}

.search-input:focus {
    outline: none;
    border-color: #ff0080;
}

.search-input::placeholder {
    color: #666;
}

/* Tournament List */
.tournament-list-container {
    min-height: 300px;
}

.tournament-list {
    width: 100%;
}

/* Tournament Table */
.tournament-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1425 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2d3561;
}

.tournament-table thead {
    background: #0f1425;
}

.tournament-table th {
    padding: 14px 16px;
    text-align: left;
    color: #8b92b0;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border-bottom: 1px solid #2d3561;
}

.tournament-table tbody tr {
    cursor: pointer;
    transition: all 0.2s;
}

.tournament-table tbody tr:hover {
    background: rgba(255, 0, 128, 0.05);
}

.tournament-table tbody tr:not(:last-child) {
    border-bottom: 1px solid #1a1f3a;
}

.tournament-table td {
    padding: 16px;
    color: #c9d1d9;
    vertical-align: middle;
}

.tournament-row.house-row {
    background: rgba(255, 215, 0, 0.03);
}

.tournament-row.house-row:hover {
    background: rgba(255, 215, 0, 0.08);
}

/* Table Cell Styles */
.name-cell {
    min-width: 200px;
}

.tournament-name-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tournament-name {
    font-weight: 600;
    color: #fff;
}

.house-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    font-size: 0.65em;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-cell {
    width: 100px;
}

.entry-cell {
    font-family: monospace;
    font-weight: 600;
    color: #ffd700;
    width: 80px;
}

.prize-cell {
    font-family: monospace;
    font-weight: 600;
    color: #00ff88;
    width: 100px;
}

.participants-cell {
    color: #8b92b0;
    width: 80px;
}

.scoring-cell {
    color: #ff0080;
    font-weight: 500;
    font-size: 0.9em;
    width: 140px;
}

.time-cell {
    width: 100px;
}

.time-value {
    display: block;
    font-weight: 600;
    color: #fff;
    font-family: monospace;
}

.time-label {
    display: block;
    font-size: 0.75em;
    color: #666;
    margin-top: 2px;
}

/* Mobile responsive table */
@media (max-width: 900px) {
    .tournament-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tournament-table th,
    .tournament-table td {
        white-space: nowrap;
    }
}

/* Tournament Card */
.tournament-card {
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1425 100%);
    border: 1px solid #2d3561;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.tournament-card:hover {
    border-color: #ff0080;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 0, 128, 0.15);
}

.tournament-card.featured {
    border-color: #ffd700;
    background: linear-gradient(135deg, #1a1f3a 0%, #1a1525 100%);
}

.tournament-card.featured:hover {
    border-color: #ffd700;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
}

.house-ribbon {
    position: absolute;
    top: 10px;
    right: -30px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    padding: 4px 40px;
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.card-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-active {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.status-completed {
    background: rgba(139, 146, 176, 0.2);
    color: #8b92b0;
}

.status-cancelled {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

.card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.card-stat {
    text-align: center;
}

.card-stat-value {
    display: block;
    font-size: 1.1em;
    font-weight: 700;
    color: #00ff88;
    font-family: monospace;
}

.card-stat-label {
    font-size: 0.75em;
    color: #8b92b0;
    text-transform: uppercase;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #2d3561;
}

.scoring-type {
    font-size: 0.85em;
    color: #ff0080;
    font-weight: 500;
}

.participant-count {
    font-size: 0.85em;
    color: #8b92b0;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #8b92b0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #2d3561;
    border-top-color: #ff0080;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #0f1425;
    border-radius: 12px;
    border: 1px solid #1a1f3a;
}

.empty-icon {
    font-size: 4em;
    margin-bottom: 15px;
}

.empty-state h3 {
    color: #fff;
    margin-bottom: 10px;
}

.empty-state p {
    color: #8b92b0;
    margin-bottom: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1425 100%);
    border: 1px solid #2d3561;
    border-radius: 16px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    position: relative;
    margin: 40px auto;
}

.modal-large {
    max-width: 800px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #8b92b0;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
}

/* Form Styles */
.tournament-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-section {
    padding-bottom: 20px;
    border-bottom: 1px solid #2d3561;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1em;
    font-weight: 600;
    color: #ff0080;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.9em;
    color: #8b92b0;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #0f1425;
    border: 1px solid #2d3561;
    border-radius: 8px;
    color: #fff;
    font-size: 1em;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff0080;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.8em;
    color: #666;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.input-with-suffix {
    display: flex;
    align-items: stretch;
}

.input-with-suffix input {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.input-suffix {
    padding: 12px 15px;
    background: #2d3561;
    border: 1px solid #2d3561;
    border-radius: 0 8px 8px 0;
    color: #8b92b0;
    font-weight: 600;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
}

/* Prize Inputs */
.prize-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prize-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prize-input-row span {
    width: 40px;
    color: #8b92b0;
}

.prize-input-row input {
    width: 80px;
    text-align: center;
}

.add-prize-btn,
.remove-prize-btn {
    padding: 8px 15px;
    background: #2d3561;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 0.9em;
}

.remove-prize-btn {
    padding: 4px 10px;
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

.prize-total {
    margin-top: 10px;
    font-weight: 600;
    color: #00ff88;
}

/* Cost Summary */
.cost-summary {
    background: #0f1425;
    border-radius: 10px;
    padding: 15px 20px;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #8b92b0;
}

.cost-row.total {
    border-top: 1px solid #2d3561;
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 600;
    color: #fff;
}

.cost-value {
    color: #ffd700;
    font-weight: 600;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-primary {
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff0080 0%, #7928ca 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 0, 128, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    padding: 12px 30px;
    background: transparent;
    border: 1px solid #2d3561;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: #ff0080;
    background: rgba(255, 0, 128, 0.1);
}

.btn-accent {
    padding: 12px 30px;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4);
}

.btn-large {
    padding: 14px 40px;
    font-size: 1.1em;
}

.btn-danger {
    padding: 12px 30px;
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid #ff4444;
    border-radius: 8px;
    color: #ff4444;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: rgba(255, 68, 68, 0.3);
}

/* Validation Messages */
.validation-message {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9em;
}

.validation-message.valid {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.validation-message.invalid {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

/* Tournament Detail Modal */
.tournament-detail-header {
    margin-bottom: 25px;
}

.tournament-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.tournament-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.tournament-description {
    color: #8b92b0;
    margin: 0;
}

.house-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
    margin-top: 10px;
}

/* Detail Stats Grid */
.detail-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.detail-stat {
    text-align: center;
    padding: 15px;
    background: #0f1425;
    border-radius: 10px;
}

.detail-stat-value {
    font-size: 1.5em;
    font-weight: 700;
    color: #00ff88;
    font-family: monospace;
}

.detail-stat-label {
    font-size: 0.8em;
    color: #8b92b0;
    margin-top: 5px;
}

/* Prize Breakdown */
.prize-breakdown {
    margin-bottom: 25px;
}

.prize-breakdown h3 {
    font-size: 1em;
    color: #fff;
    margin-bottom: 15px;
}

.prize-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prize-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prize-place {
    width: 40px;
    font-weight: 600;
    color: #ffd700;
}

.prize-bar {
    height: 24px;
    background: linear-gradient(90deg, #ff0080, #7928ca);
    border-radius: 4px;
    min-width: 20px;
}

.prize-amount {
    color: #00ff88;
    font-weight: 600;
    font-family: monospace;
}

/* Tournament Info Grid */
.tournament-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px;
    background: #0f1425;
    border-radius: 10px;
}

.info-item {
    display: flex;
    gap: 10px;
}

.info-label {
    color: #8b92b0;
}

.info-value {
    color: #fff;
    font-weight: 500;
}

/* Leaderboard Mini */
.tournament-leaderboard {
    margin-bottom: 25px;
}

.tournament-leaderboard h3 {
    font-size: 1em;
    color: #fff;
    margin-bottom: 15px;
}

.leaderboard-table-mini {
    background: #0f1425;
    border-radius: 10px;
    overflow: hidden;
}

.leaderboard-table-mini table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table-mini th {
    padding: 12px 15px;
    text-align: left;
    background: #1a1f3a;
    color: #8b92b0;
    font-size: 0.85em;
    text-transform: uppercase;
}

.leaderboard-table-mini td {
    padding: 12px 15px;
    border-top: 1px solid #1a1f3a;
    color: #c9d1d9;
}

.leaderboard-table-mini .rank-cell {
    font-weight: 700;
    color: #8b92b0;
    width: 60px;
}

.leaderboard-table-mini .rank-1 { color: #ffd700; }
.leaderboard-table-mini .rank-2 { color: #c0c0c0; }
.leaderboard-table-mini .rank-3 { color: #cd7f32; }

.leaderboard-table-mini .handle-cell {
    font-weight: 500;
}

.leaderboard-table-mini .score-cell {
    font-family: monospace;
    color: #00ff88;
    font-weight: 600;
}

.leaderboard-table-mini .prize-cell {
    font-family: monospace;
    color: #ffd700;
}

.highlight-row td {
    background: rgba(0, 255, 136, 0.05);
}

.you-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 700;
}

.no-entries-message {
    padding: 30px;
    text-align: center;
    color: #8b92b0;
}

/* User Entry Section */
.user-entry-section {
    margin-bottom: 25px;
}

.user-entry-status {
    padding: 15px 20px;
    background: #0f1425;
    border-radius: 10px;
}

.not-joined {
    color: #8b92b0;
    margin: 0;
}

.entry-info {
    display: flex;
    gap: 30px;
}

.entry-stat {
    display: flex;
    gap: 10px;
}

.entry-stat-label {
    color: #8b92b0;
}

.entry-stat-value {
    color: #00ff88;
    font-weight: 600;
    font-family: monospace;
}

/* Detail Actions */
.detail-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Invite Code Display */
.invite-code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: #0f1425;
    border-radius: 10px;
}

.invite-label {
    color: #8b92b0;
}

.invite-code-display code {
    font-size: 1.2em;
    font-weight: 600;
    color: #ff0080;
    letter-spacing: 3px;
}

.copy-btn {
    padding: 6px 15px;
    background: #2d3561;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 0.9em;
}

.copy-btn:hover {
    background: #3d4571;
}

/* Host Dashboard */
.host-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.host-stat {
    text-align: center;
    padding: 20px;
    background: #0f1425;
    border-radius: 10px;
}

.host-stat-value {
    font-size: 2em;
    font-weight: 700;
    color: #00ff88;
    font-family: monospace;
}

.host-stat-label {
    font-size: 0.85em;
    color: #8b92b0;
    margin-top: 5px;
}

.host-participants-list {
    margin-bottom: 25px;
}

.host-participants-list h3 {
    font-size: 1em;
    color: #fff;
    margin-bottom: 15px;
}

.participants-table {
    background: #0f1425;
    border-radius: 10px;
    overflow: hidden;
}

.participants-table table {
    width: 100%;
    border-collapse: collapse;
}

.participants-table th {
    padding: 12px 15px;
    text-align: left;
    background: #1a1f3a;
    color: #8b92b0;
    font-size: 0.85em;
}

.participants-table td {
    padding: 12px 15px;
    border-top: 1px solid #1a1f3a;
    color: #c9d1d9;
}

.no-participants {
    padding: 30px;
    text-align: center;
    color: #8b92b0;
    margin: 0;
}

.host-actions {
    text-align: center;
}

.host-warning {
    color: #ff4444;
    font-size: 0.85em;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-header {
        flex-direction: column;
        align-items: stretch;
    }

    .header-actions {
        justify-content: space-between;
    }

    .tournament-controls {
        flex-direction: column;
    }

    .filter-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .detail-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tournament-info-grid {
        grid-template-columns: 1fr;
    }

    .host-stats {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .detail-actions {
        flex-direction: column;
    }

    .detail-actions button {
        width: 100%;
    }
}
