/* ============================================ */
/* COPA ITAQUA - ESTILOS PRINCIPAIS             */
/* ============================================ */

/* BOTÕES */
.btn-primary {
    background-color: #0f3b5f;
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    border: none;
}
.btn-primary:hover {
    background-color: #0c2e4a;
}

.btn-secondary {
    background-color: #e5e7eb;
    color: #1f2937;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
}
.btn-secondary:hover {
    background-color: #d1d5db;
}

.btn-clear {
    background-color: #dc2626;
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.btn-clear:hover {
    background-color: #b91c1c;
}

.btn-edit {
    color: #0f3b5f;
    background-color: #eff6ff;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}
.btn-edit:hover {
    background-color: #dbeafe;
}

/* INPUTS - borda cinza, fundo cinza, foco branco */
.form-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    transition: all 0.2s;
    color: #1f2937;
}
.form-input:focus {
    outline: none;
    border-color: #0f3b5f;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 59, 95, 0.1);
}

/* INPUT FILE */
.form-input-file {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    transition: all 0.2s;
}
.form-input-file:focus {
    outline: none;
    border-color: #0f3b5f;
    background-color: #ffffff;
}

/* INPUT COM ÍCONE DE SENHA */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.password-wrapper input {
    padding-right: 2.75rem;
}
.toggle-password {
    position: absolute;
    right: 0.75rem;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s;
    background: transparent;
    border: none;
    font-size: 1.1rem;
}
.toggle-password:hover {
    color: #0f3b5f;
}

/* CARDS ESTATÍSTICAS */
.card-stats {
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    border-width: 2px;
    border-style: solid;
}
.card-stats:hover {
    transform: scale(1.02);
}
.card-blue {
    background-color: #eff6ff;
    border-color: #3b82f6;
}
.card-yellow {
    background-color: #fefce8;
    border-color: #eab308;
}
.card-green {
    background-color: #ecfdf5;
    border-color: #10b981;
}

/* CARD PADRÃO */
.card-padrao {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.card-header {
    background-color: #f8fafc;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}
.card-body {
    padding: 1.5rem;
}

/* TABELA */
.data-table {
    min-width: 100%;
    border-collapse: collapse;
}
.data-table thead {
    background-color: #e5e7eb;
    border-bottom: 2px solid #d1d5db;
}
.data-table th {
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #374151;
}
.data-table td {
    padding: 1rem 1.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
}
.data-table tbody tr:hover {
    background-color: #f9fafb;
}
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-wrapper::-webkit-scrollbar {
    height: 6px;
}
.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.table-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* BADGES */
.badge-veterano {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: #fef3c7;
    color: #92400e;
}
.badge-esporte {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: #d1fae5;
    color: #065f46;
}

/* BREADCRUMB */
.breadcrumb-link {
    color: #0f3b5f;
    text-decoration: none;
}
.breadcrumb-link:hover {
    text-decoration: underline;
}

/* UTILIDADES */
.text-azul-escuro {
    color: #0f3b5f;
}
.bg-azul-escuro {
    background-color: #0f3b5f;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}