﻿.settings-card {
    overflow: hidden;
}

#suggestionTableContainer {
    border-radius: 0 0 12px 12px;
}

    #suggestionTableContainer table {
        border-radius: 0 0 12px 12px;
        border-collapse: separate; /* annars rundningen funkar inte */
    }

.suggestions-open .position-relative.rounded-3 {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Squad Tabs */
.squad-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.squad-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

    .squad-tab:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    .squad-tab.active {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
    }

    .squad-tab .badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
        border-radius: var(--radius-full);
        background: var(--bg-badge-light);
        color: var(--text-secondary);
    }

    .squad-tab.active .badge {
        background: rgba(255,255,255,0.2);
        color: white;
    }

/* Squad Card */
.squad-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 1rem;
}

.squad-card-header {
    background: var(--primary-gradient);
    color: white;
    padding: 0.875rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .squad-card-header.orange {
        background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    }

    .squad-card-header.green {
        background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    }

    .squad-card-header.purple {
        background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    }

.squad-card-title {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.squad-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.00rem;
    opacity: 0.9;
}

    .squad-card-meta span {
        display: flex;
        align-items: center;
        gap: 0.375rem;
    }

/* Squad List */
.squad-list-header {
    display: grid;
    grid-template-columns: 3rem 1fr 1fr 90px;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-badge-light);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 767px) {
    .squad-list-header {
        grid-template-columns: 50px 1fr 60px;
    }
}

.squad-row {
    display: grid;
    grid-template-columns: 3rem 1fr 1fr 90px;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color-light);
    align-items: center;
    transition: background var(--transition-fast);
}

    .squad-row:last-child {
        border-bottom: none;
    }

    .squad-row:hover {
        background: var(--bg-table-row-hover);
    }

    .squad-row.empty {
        color: var(--text-muted);
    }

    .squad-row.highlight {
        background: var(--primary-light);
    }

        .squad-row.highlight:hover {
            background: var(--primary-light);
        }

@media (max-width: 767px) {
    .squad-row {
        grid-template-columns: 50px 1fr 60px;
    }
}
/* Position Circle */
.position-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    background: var(--primary-light);
    color: var(--primary);
}

    .position-circle.empty {
        background: var(--bg-badge-light);
        color: var(--text-muted);
        border: 2px dashed var(--border-dashed);
    }

/* Shooter Info */
.shooter-info {
    min-width: 0;
}

.shooter-name {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .shooter-name a {
        color: inherit;
        text-decoration: none;
    }

        .shooter-name a:hover {
            color: var(--primary);
        }

.shooter-club {
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
}

/* Class Badge */
.class-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 1.5rem;
    padding: 0 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

    .class-badge.c {
        background: #10b981;
    }

    .class-badge.b {
        background: #06b6d4;
    }

    .class-badge.a {
        background: #3b82f6;
    }

    .class-badge.dam {
        background: #ec4899;
    }

    .class-badge.jr {
        background: #f59e0b;
    }

    .class-badge.vet {
        background: transparent;
        color: var(--text-primary)
    }

/* Empty Slot */
.empty-slot {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.85rem;
}

.squad-tab a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .squad-tab a:hover {
        color: antiquewhite; /* hover color */
        text-decoration: none;
    }

        /* optional: keep icons + badge in sync */
        .squad-tab a:hover i,
        .squad-tab a:hover .badge {
            color: antiquewhite;
        }

@@media (max-width: 768px) {
    .start-time {
        display: none;
    }
}

#filterShooter {
    border-radius: 12px;
}

/* .suggestions-open #filterShooter {
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        } */

#clearInputBtn {
    line-height: 1;
}
