/* Event Report Styles */
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.report-actions {
    display: flex;
    gap: 1rem;
}

.report-content {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.event-info {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #333;
}

.event-info h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-item {
    background: #2a2a2a;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #333;
}

.info-item label {
    display: block;
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-item span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}

.report-section {
    margin-bottom: 2rem;
}

.report-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.report-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.report-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.report-btn:hover {
    background: #3a3a3a;
    transform: translateY(-2px);
}

.report-btn i {
    font-size: 1.2rem;
    color: #4CAF50;
}

.report-btn.active {
    background: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 150, 0, 0.2);
    transform: translateY(-2px);
}

.report-btn.active i {
    color: #fff;
}

/* Statistik */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.stat-card h4 {
    color: #ccc;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.stat-card p {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
}

.stat-details p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Tabel */
.table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    background: #333;
    color: #fff;
    font-weight: 500;
}

td {
    background-color: #2a2a2a;
    color: #ccc;
}

/* Kategori */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-card {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.category-card h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #ccc;
}

/* Pertandingan */
.matches-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.category-result {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-result h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

/* Dokumentasi */
.documentation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.doc-card {
    background: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
}

.doc-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.doc-card p {
    padding: 1rem;
    color: #fff;
    text-align: center;
}

/* Tombol */
.btn {
    padding: 0.75rem 1.5rem;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #555;
    color: #fff;
}

.btn-secondary:hover {
    background: #444;
}

/* Tab Styles */
.tabs-container {
    margin-top: 2rem;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #333;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    overflow-x: auto;
}

.tab-btn {
    padding: 10px 15px;
    background: #2a2a2a;
    color: #ccc;
    border: 1px solid #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    background: #3a3a3a;
}

.tab-btn.active {
    background: #4CAF50;
    color: #fff;
    border-color: #4CAF50;
    font-weight: bold;
}

.tab-content {
    padding-top: 1rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .report-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .report-actions {
        width: 100%;
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .report-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .documentation-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    body {
        color: #000;
        background-color: #fff;
    }

    .report-content,
    .event-info,
    .report-section,
    .info-item,
    .stat-card,
    .category-card,
    .match-card,
    .doc-card,
    .table-container,
    table,
    th,
    td {
        background-color: #fff !important;
        color: #000 !important;
        border-color: #ccc !important;
        box-shadow: none !important;
    }

    h3, h4, p, span, label {
        color: #000 !important;
    }

    .report-actions,
    .report-buttons {
        display: none !important;
    }
}

/* Gaya untuk Laporan Bagan Pertandingan */
.bracket-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.filter-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f0f2f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-section label {
    font-weight: 600;
    color: #333;
}

.filter-section select {
    padding: 0.6rem 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    color: #555;
    background-color: #e6f7ff;
    width: 250px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13.2-5.4H18.6c-5%200-9.3%201.8-13.2%205.4A17.6%2017.6%200%200%200%200%2082.2c0%204.4%201.8%208.5%205.4%2011.2l128.4%20129.4c3.4%203.4%207.7%205.4%2011.2%205.4s7.8-2%2011.2-5.4l128.4-129.4c3.6-2.7%205.4-6.8%205.4-11.2s-1.8-8.5-5.4-11.2z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 0.7em top 50%;
    background-size: 0.65em auto;
}

.filter-section select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.category-bracket {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-bracket h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

.round-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.round-item {
    background: #333;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #444;
}

.round-item h5 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #555;
}

.matches-in-round {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.match-card-bracket {
    background: #3a3a3a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-align: center;
    min-width: 250px;
    max-width: 300px;
}

.match-card-bracket p {
    margin: 0.3rem 0;
    color: #ccc;
}

.match-card-bracket p strong {
    color: #007bff;
    font-weight: 600;
} 