
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-interested {
    background: #f0f0f0;
    color: #666;
}

.status-open {
    background: #d4edda;
    color: #155724;
}

.status-closed {
    background: #f8d7da;
    color: #721c24;
}

.status-complete {
    background: #d1ecf1;
    color: #0c5460;
}

.status-cancelled {
    background: #f5c6cb;
    color: #721c24;
}

.status-default {
    background: #e2e3e5;
    color: #383d41;
}

/* Team Cards */
.team-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.team-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.team-card h3 {
    margin-top: 0;
    color: #333;
}

.team-logo {
    max-width: 60px;
    height: auto;
    border-radius: 4px;
}

.team-location {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.team-record {
    font-weight: bold;
    color: #0073aa;
}

/* Event Cards */
.event-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.event-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.event-card h3 {
    margin-top: 0;
    color: #333;
}

.event-date {
    font-weight: bold;
    color: #0073aa;
    margin: 5px 0;
}

.event-location {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.event-venue {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

/* Rankings */
.rankings-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.ranking-item:last-child {
    border-bottom: none;
}

.rank-number {
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
    min-width: 40px;
    text-align: center;
    margin-right: 15px;
}

.team-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.team-name {
    font-weight: bold;
    flex: 1;
}

.team-location {
    color: #666;
    font-size: 14px;
    margin: 2px 0;
}

.team-record {
    font-weight: bold;
    color: #0073aa;
    margin-left: 15px;
}

/* Filters */
.shook-events-filters {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.filter-group {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
}

.filter-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    min-width: 150px;
}

.filter-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

/* Grid Layouts */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .teams-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .ranking-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .rank-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .team-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .team-record {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .filter-group {
        display: block;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .filter-group select {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .team-card,
    .event-card {
        padding: 15px;
    }
    
    .shook-events-filters {
        padding: 15px;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Buttons */
.shook-events-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.shook-events-btn:hover {
    background: #005a87;
    color: #fff;
    text-decoration: none;
}

.shook-events-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.shook-events-btn.secondary {
    background: #666;
}

.shook-events-btn.secondary:hover {
    background: #555;
}

.shook-events-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Messages */
.shook-events-message {
    padding: 12px;
    margin: 20px 0;
    border-radius: 4px;
    border-left: 4px solid;
}

.shook-events-message.success {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.shook-events-message.error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.shook-events-message.info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

/* Social Media Links */
.team-social {
    margin-top: 10px;
}

.team-social a {
    display: inline-block;
    margin-right: 10px;
    color: #666;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: #0073aa;
}

/* Tournament Results Table */
.tournament-results {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.tournament-results th,
.tournament-results td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.tournament-results th {
    background: #f9f9f9;
    font-weight: bold;
    color: #333;
}

.tournament-results tr:hover {
    background: #f5f5f5;
}

/* Event Gallery */
.event-gallery {
    margin: 20px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Print Styles */
@media print {
    .shook-events-filters,
    .shook-events-btn {
        display: none;
    }
    
    .team-card,
    .event-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .ranking-item {
        break-inside: avoid;
    }
}
