/* --- Estilos da Página de Lista de Times (Mercado da Bola) --- */

/* Container de Filtros */
.filter-section {
    background-color: #f9f9f9;
    padding: 30px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 50px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    height: 50px;
    border: 1px solid #e5e5e5;
    padding-left: 20px;
    font-size: 15px;
    color: #636363;
    border-radius: 4px;
    outline: none;
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60px;
    background: #213e5a;
    border: none;
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: 0.3s;
}

.search-box button:hover {
    background: #b2d13a;
    color: #213e5a;
}

.filter-select {
    width: 100%;
    height: 50px;
    border: 1px solid #e5e5e5;
    padding: 0 20px;
    font-size: 15px;
    color: #636363;
    border-radius: 4px;
    background-color: #fff;
    outline: none;
    cursor: pointer;
}

/* Card do Time */
.team-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

.team-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
    border-color: #b2d13a;
}

.tc-header {
    background: #213e5a;
    height: 100px;
    position: relative;
}

/* Escudo do Time (Sobreposto) */
.tc-logo {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-logo img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.tc-content {
    padding: 60px 20px 25px;
    text-align: center;
}

.tc-content h4 {
    color: #151618;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.tc-content span.region {
    font-size: 13px;
    color: #888;
    display: block;
    margin-bottom: 15px;
}

.tc-content span.region i {
    color: #b2d13a;
    margin-right: 4px;
}

/* Tags de Vagas */
.vacancy-tags {
    margin-bottom: 20px;
    min-height: 30px; /* Garante altura mesmo sem tags */
}

.v-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin: 2px;
    text-transform: uppercase;
}

/* Cores das Tags */
.v-tag.gk { background: #ffeaa7; color: #d35400; } /* Goleiro */
.v-tag.df { background: #81ecec; color: #00cec9; } /* Defesa */
.v-tag.mid { background: #55efc4; color: #00b894; } /* Meio */
.v-tag.fw { background: #ff7675; color: #d63031; } /* Ataque */
.v-tag.full { background: #dfe6e9; color: #636e72; } /* Elenco Fechado */

/* Botão de Ação */
.btn-request-spot {
    width: 100%;
    background: #b2d13a;
    color: #213e5a;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    padding: 12px 0;
    border-radius: 4px;
    transition: 0.3s;
    cursor: pointer;
}

.btn-request-spot:hover {
    background: #213e5a;
    color: #fff;
}

/* Botão desabilitado (solicitação enviada) */
.btn-request-spot.sent {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}

/* Ajuste de Paginação */
.pagination-option a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background: #f2f2f2;
    color: #151618;
    font-size: 16px;
    font-weight: 500;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    margin-right: 6px;
}

.pagination-option a:last-child {
    width: auto;
    padding: 0 20px;
    border-radius: 20px;
}

.pagination-option a:hover,
.pagination-option a.active {
    background: #213e5a;
    color: #ffffff;
}