/* ========== FUTEVOLEI UI FRAMEWORK ========== */
/* Baseado nos estilos existentes do sistema */

/* ========== VARIÁVEIS GLOBAIS ========== */
:root {
    /* Cores principais */
    --primary-color: #000000;
    --secondary-color: #cceb43;
    --text-color: #333333;
    --error-color: #dc3545;
    --success-color: #198754;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    
    /* Backgrounds */
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --bg-color: #f8f9fa;
    
    /* Efeitos */
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Status de pagamento */
    --status-pendente-bg: #fff8e1;
    --status-pendente-border: #ffecb3;
    --status-pago-bg: #e8f5e9;
    --status-pago-border: #c8e6c9;
    --status-atrasado-bg: #ffebee;
    --status-atrasado-border: #ffcdd2;
    --status-cancelado-bg: #f5f5f5;
    --status-cancelado-border: #e0e0e0;
    --status-finalizado-bg: #e3f2fd;
    --status-finalizado-border: #bbdefb;
    
    /* Dimensões */
    --sidebar-width: 300px;
    --transition-speed: 0.3s;
    
    /* Menu */
    --menu-hover: rgba(204, 235, 67, 0.1);
    --menu-active: rgba(204, 235, 67, 0.2);
}

/* ========== RESET E ESTILOS BASE ========== */
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

/* ========== LAYOUT ========== */
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

/* ========== TIPOGRAFIA ========== */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: 700;
    line-height: 1.2;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--error-color) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

.text-info {
    color: var(--info-color) !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-center {
    text-align: center;
}

/* ========== CARDS ========== */
.card {
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    border: none;
    overflow: hidden;
    background-color: white;
    margin-bottom: 20px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    font-weight: 600;
}

.card-header.primary {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
    border-bottom: none;
}

.card-body {
    padding: 30px;
}

.card-footer {
    background-color: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
}

/* ========== BOTÕES ========== */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 12px 20px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #b8d63c;
    border-color: #b8d63c;
}

.btn-light {
    background: #ffc107 !important;
    border: none !important;
    color: var(--primary-color);
}

.btn-light:hover {
    background: #ffb100 !important;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 15px 25px;
    font-size: 1.1rem;
}

/* ========== FORMULÁRIOS ========== */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 8px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
}

.form-floating {
    position: relative;
    margin-bottom: 20px;
}

.form-floating > .form-control {
    padding: 1.5rem 0.75rem;
    height: 58px;
}

.form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem 0.75rem;
    pointer-events: none;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out,transform .1s ease-in-out;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
    opacity: .65;
}

.form-select {
    display: block;
    width: 100%;
    padding: 1rem 0.75rem;
    height: 58px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.is-invalid {
    border-color: var(--error-color) !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: var(--error-color);
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    color: #6c757d;
}

.form-floating .password-toggle {
    top: 32px;
}

/* ========== ALERTAS ========== */
.alert {
    position: relative;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: var(--transition);
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

/* Alertas vazios estilizados */
.alert-empty {
    background-color: #f8f9fa;
    border: none;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    color: #6c757d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.alert-empty:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.alert-empty .alert-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    opacity: 0.6;
}

.alert-empty h6 {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.alert-empty p {
    margin-bottom: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

.alert-empty.alert-info .alert-icon {
    color: #686868;
}

.alert-empty.alert-warning .alert-icon {
    color: #ffc107;
}

.alert-empty.alert-success .alert-icon {
    color: #198754;
}

.alert-empty.alert-danger .alert-icon {
    color: #dc3545;
}

/* ========== BADGES ========== */
.badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50px;
}

.badge-primary {
    background-color: var(--primary-color);
    color: white;
}

.badge-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.badge-success {
    background-color: var(--success-color);
    color: white;
}

.badge-danger {
    background-color: var(--error-color);
    color: white;
}

.badge-warning {
    background-color: var(--warning-color);
    color: var(--primary-color);
}

.badge-info {
    background-color: var(--info-color);
    color: white;
}

.badge-role {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    background-color: rgba(0, 0, 0, 0.05);
}

.badge-role.admin {
    background-color: #dc3545;
    color: white;
}

.badge-role.arena {
    background-color: #fd7e14;
    color: white;
}

.badge-role.player {
    background-color: #0d6efd;
    color: white;
}

.badge-role.aluno {
    background-color: #6f42c1;
    color: white;
}

/* ========== NAVEGAÇÃO ========== */
/* Navbar */
.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-item {
    margin-left: 1rem;
}

.nav-link {
    display: block;
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}

.nav-link:hover, .nav-link:focus {
    color: white;
}

.nav-link.active {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Tabs */
.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: none;
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    margin-right: 10px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.nav-tabs .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.nav-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Tabs com rolagem horizontal */
.tabs-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 1.5rem;
}

.tabs-container .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 5px;
}

.tabs-container .nav-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tabs-container .nav-tabs .nav-item {
    white-space: nowrap;
}

.tabs-container .nav-tabs .nav-link {
    transition: all 0.3s ease;
}

.tabs-container::before,
.tabs-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tabs-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.tabs-container::after {
    right: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}

.tabs-container.scrolled::before {
    opacity: 1;
}

.tabs-container:hover .nav-tabs {
    cursor: grab;
}

.tabs-container .nav-tabs:active {
    cursor: grabbing;
}

/* ========== SIDEBAR ========== */
/* Botão flutuante de menu */
.menu-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s, background-color 0.3s;
}

.menu-toggle-btn:hover {
    transform: scale(1.1);
}

.menu-toggle-btn:active {
    transform: scale(0.95);
}

.menu-toggle-btn i {
    font-size: 1.8rem;
}

/* Overlay para fechar o menu */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed), visibility var(--transition-speed);
    backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar com efeito de vidro */
.sidebar {
    position: fixed;
    top: 20px;
    right: 20px;
    bottom: 20px;
    width: var(--sidebar-width);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    z-index: 1002;
    transform: translateX(calc(var(--sidebar-width) + 40px));
    transition: transform var(--transition-speed);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.sidebar.active {
    transform: translateX(0);
}

/* Efeito de vidro embaçado */
.glass-effect {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cabeçalho da sidebar */
.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
}

.sidebar-logo-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.sidebar-logo-text {
    margin-left: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.close-sidebar-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-sidebar-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Perfil do usuário */
.user-profile-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Estilos para a imagem de perfil */
.user-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.user-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid white;
}

.user-status.online {
    background-color: #28a745;
}

.user-info {
    text-align: center;
    width: 100%;
}

.user-name {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.user-role {
    margin-top: 5px;
}

/* Menu principal */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0 10px;
}

.sidebar-menu li {
    margin: 5px 0;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
    transition: background-color 0.2s;
}

.sidebar-menu li:hover {
    background-color: var(--menu-hover);
}

.sidebar-menu li.active {
    background-color: var(--menu-active);
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    border-radius: 15px;
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.03);
    margin-right: 15px;
    transition: all 0.2s;
}

.sidebar-menu li a:hover .menu-icon {
    background-color: var(--secondary-color);
    transform: translateX(3px);
}

.sidebar-menu li.active .menu-icon {
    background-color: var(--secondary-color);
}

.menu-icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.menu-text {
    font-weight: 500;
    font-size: 1rem;
}

.active-indicator {
    position: absolute;
    right: 15px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

/* Rodapé da sidebar */
.sidebar-footer {
    margin-top: auto;
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #6c757d;
}

.sidebar-actions {
    display: flex;
    gap: 10px;
}

.action-icon {
    color: #6c757d;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.action-icon:hover {
    color: var(--primary-color);
}

/* ========== COMPONENTES ESPECÍFICOS ========== */
/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
    
    background-image: url(https://duudu.com.br/assets/img/torneios.jpg);
    background-size: cover;
    background-position: center;


    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Perfil de Usuário */
.profile-image-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    top: 0px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-image-container:hover .profile-image-overlay {
    opacity: 1;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-image-overlay i {
    color: white;
    font-size: 2rem;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #6c757d;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider::before {
    margin-right: 10px;
}

.divider::after {
    margin-left: 10px;
}

/* Sidebar Divider */
.sidebar-divider {
    padding: 15px 20px 5px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
    position: relative;
}

.sidebar-divider:after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
}

/* Verificação de Email */
.verification-code-input {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    text-align: center;
    border-radius: 8px;
}

.verification-icon {
    font-size: 3rem;
    color: #198754;
    margin-bottom: 1rem;
}

/* ========== COMPONENTES FINANCEIROS ========== */
/* Dashboard Stats */
.dashboard-stat {
    padding: 20px;
    border-radius: 12px;
    color: white;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    padding-left: 65px;
    margin-bottom: 20px;
}

.dashboard-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dashboard-stat h5 {
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.dashboard-stat h2 {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.dashboard-stat i.bi {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    opacity: 0.25;
    z-index: 1;
}

/* Backgrounds para dashboard stats */
.bg-success {
    background: linear-gradient(135deg, #0ba360 0%, #3cba92 100%);
    border-radius: 100px;
}

.bg-warning {
    background: linear-gradient(135deg, #ff9a44 0%, #FF9A45 100%);
    border-radius: 100px;
}

.bg-danger {
    background: linear-gradient(135deg, #f43b47 0%, #fc6076 100%);
    border-radius: 100px;
}

.bg-info {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 100px;
}

.bg-primary, .bg-secondary {
    border-radius: 100px;
}

/* Itens financeiros */
.financeiro-item {
    border-left: 4px solid transparent;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: var(--transition);
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.3s ease-out forwards;
    opacity: 0;
}

.financeiro-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.financeiro-item.status-pendente {
    border-left-color: #ff9a44;
    background-color: rgba(255, 154, 68, 0.08);
}

.financeiro-item.status-pago-pendente {
    border-left-color: #0ba360;
    background-color: rgba(11, 163, 96, 0.08);
}

.financeiro-item.status-finalizado {
    border-left-color: #2575fc;
    background-color: var(--status-finalizado-bg);
}

.financeiro-item.status-cancelado {
    border-left-color: #9e9e9e;
    background-color: var(--status-cancelado-bg);
}

.financeiro-item.status-atrasado {
    border-left-color: #f43b47;
    background-color: var(--status-atrasado-bg);
}

.financeiro-item h6 {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
}

.financeiro-item p {
    margin-bottom: 5px;
    color: #2a2a2a;
}

/* ========== COMPONENTES DE ARENAS ========== */
.arena-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 100%;
    background-color: white;
    margin-bottom: 15px;
}

.arena-card:hover {
    transform: translateY(-5px);
}

.arena-img {
    height: 180px;
    object-fit: cover;
}

.search-container {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 40px;
    z-index: 1;
}

.search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
    border-radius: 20px;
    z-index: -1;
}

.search-heading {
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.city-badge {
    display: inline-block;
    background-color: #f2c300;
    padding: 8px 16px;
    border-radius: 20px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.city-badge:hover {
    background-color: #333;
    color: white;
}

.city-item {
    cursor: pointer;
    padding: 10px;
    transition: all 0.2s;
    border-radius: 8px;
    background: #f2c300;
    border: 1px solid #f2c300;
}

.city-item:hover {
    background-color: #f8f9fa;
    border: 1px solid #333;
}

/* ========== UTILITÁRIOS ========== */
/* Margens */
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.ml-1 { margin-left: 0.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.ml-4 { margin-left: 1.5rem !important; }
.ml-5 { margin-left: 3rem !important; }

.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.mr-5 { margin-right: 3rem !important; }

.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }

/* Paddings */
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.pl-1 { padding-left: 0.25rem !important; }
.pl-2 { padding-left: 0.5rem !important; }
.pl-3 { padding-left: 1rem !important; }
.pl-4 { padding-left: 1.5rem !important; }
.pl-5 { padding-left: 3rem !important; }

.pr-1 { padding-right: 0.25rem !important; }
.pr-2 { padding-right: 0.5rem !important; }
.pr-3 { padding-right: 1rem !important; }
.pr-4 { padding-right: 1.5rem !important; }
.pr-5 { padding-right: 3rem !important; }

/* Flexbox */
.d-flex { display: flex !important; }
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

/* Visibilidade */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }

/* Bordas e sombras */
.border { border: 1px solid #dee2e6 !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid #dee2e6 !important; }
.border-end { border-right: 1px solid #dee2e6 !important; }
.border-bottom { border-bottom: 1px solid #dee2e6 !important; }
.border-start { border-left: 1px solid #dee2e6 !important; }

.rounded { border-radius: 0.25rem !important; }
.rounded-0 { border-radius: 0 !important; }
.rounded-1 { border-radius: 0.2rem !important; }
.rounded-2 { border-radius: 0.25rem !important; }
.rounded-3 { border-radius: 0.5rem !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: 50rem !important; }

.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; }
.shadow { box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; }
.shadow-none { box-shadow: none !important; }

/* ========== ANIMAÇÕES ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes copy-feedback {
    0% { background-color: #fff; }
    50% { background-color: #d1e7dd; }
    100% { background-color: #fff; }
}

.shake {
    animation: shake 0.5s;
}

.copy-feedback {
    animation: copy-feedback 1s ease;
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* Animação para itens em sequência */
.financeiro-item:nth-child(1) { animation-delay: 0.05s; }
.financeiro-item:nth-child(2) { animation-delay: 0.1s; }
.financeiro-item:nth-child(3) { animation-delay: 0.15s; }
.financeiro-item:nth-child(4) { animation-delay: 0.2s; }
.financeiro-item:nth-child(5) { animation-delay: 0.25s; }
.financeiro-item:nth-child(n+6) { animation-delay: 0.3s; }

/* ========== RESPONSIVIDADE ========== */
/* Dispositivos pequenos (telefones, 576px e acima) */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

/* Dispositivos médios (tablets, 768px e acima) */
@media (min-width: 768px) {
    .container {
     
        max-width: 720px;
    }
}

/* Dispositivos grandes (desktops, 992px e acima) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

/* Dispositivos extra grandes (desktops grandes, 1200px e acima) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Dispositivos extra extra grandes (desktops muito grandes, 1400px e acima) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Ajustes responsivos para dispositivos móveis */
@media (max-width: 767.98px) {
    .dashboard-stat {
        margin-bottom: 20px;
    }
    
    .dashboard-stat h2 {
        font-size: 1.5rem;
    }
    
    .nav-tabs .nav-link {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .financeiro-item {
        padding: 12px;
    }
    
    .financeiro-item h6 {
        font-size: 0.95rem;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .sidebar {
        width: 85%;
        max-width: var(--sidebar-width);
        top: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .menu-toggle-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .tabs-container::after {
        opacity: 1;
    }
    
    .profile-container {
        max-width: 100%;
    }
}

/* Ajustes para tablets */
@media (max-width: 991.98px) {
    .dashboard-stat {
        margin-bottom: 20px;
    }
}

/* ========== MODO ESCURO (OPCIONAL) ========== */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #121212;
        --text-color: #e0e0e0;
        --light-bg: #1e1e1e;
    }
    
    body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }
    
    .card {
        background-color: #1e1e1e;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    
    .card-header {
        background-color: #252525;
        border-bottom-color: #333;
    }
    
    .form-control, .form-select {
        background-color: #2a2a2a;
        border-color: #444;
        color: var(--text-color);
    }
    
    .form-control:focus {
        background-color: #2a2a2a;
        border-color: var(--secondary-color);
        color: var(--text-color);
    }
    
    .btn-primary {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }
    
    .sidebar {
        background-color: rgba(33, 37, 41, 0.8);
        color: white;
    }
    
    .sidebar-logo-text,
    .user-name,
    .sidebar-menu li a {
        color: white;
    }
    
    .menu-icon {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .menu-icon i {
        color: white;
    }
    
    .sidebar-menu li a:hover {
        background-color: rgba(204, 235, 67, 0.2);
    }
    
    .sidebar-menu li.active a {
        background-color: rgba(204, 235, 67, 0.3);
    }
    
    .sidebar-divider:after {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .sidebar-header,
    .user-profile-container,
    .sidebar-footer {
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .close-sidebar-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .alert-empty {
        background-color: #252525;
    }
    
    .nav-tabs .nav-link {
        color: #e0e0e0;
    }
    
    .nav-tabs .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .financeiro-item {
        background-color: #252525;
    }
    
    .financeiro-item p {
        color: #c0c0c0;
    }
    
    .tabs-container::before {
        background: linear-gradient(90deg, rgba(18,18,18,1) 0%, rgba(18,18,18,0) 100%);
    }
    
    .tabs-container::after {
        background: linear-gradient(90deg, rgba(18,18,18,0) 0%, rgba(18,18,18,1) 100%);
    }
}

/* ========== CLASSES DE UTILIDADE ADICIONAIS ========== */
/* Espaçamento */
.w-100 { width: 100% !important; }
.w-75 { width: 75% !important; }
.w-50 { width: 50% !important; }
.w-25 { width: 25% !important; }
.w-auto { width: auto !important; }

.h-100 { height: 100% !important; }
.h-75 { height: 75% !important; }
.h-50 { height: 50% !important; }
.h-25 { height: 25% !important; }
.h-auto { height: auto !important; }

/* Posicionamento */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }
.position-static { position: static !important; }

.top-0 { top: 0 !important; }
.right-0 { right: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.left-0 { left: 0 !important; }

.z-index-1 { z-index: 1 !important; }
.z-index-2 { z-index: 2 !important; }
.z-index-3 { z-index: 3 !important; }

/* Texto */
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-center { text-align: center !important; }
.text-justify { text-align: justify !important; }

.text-uppercase { text-transform: uppercase !important; }
.text-lowercase { text-transform: lowercase !important; }
.text-capitalize { text-transform: capitalize !important; }

.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }

.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }
.fs-sm { font-size: 0.875rem !important; }
.fs-xs { font-size: 0.75rem !important; }

/* Cores de fundo */
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-danger { background-color: var(--error-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-info { background-color: var(--info-color) !important; }
.bg-light { background-color: var(--light-bg) !important; }
.bg-dark { background-color: var(--dark-bg) !important; }
.bg-white { background-color: #fff !important; }
.bg-transparent { background-color: transparent !important; }

/* Cores de texto */
.text-white { color: #fff !important; }
.text-black { color: #000 !important; }

/* Overflow */
.overflow-auto { overflow: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-scroll { overflow: scroll !important; }

/* Cursor */
.cursor-pointer { cursor: pointer !important; }
.cursor-default { cursor: default !important; }
.cursor-not-allowed { cursor: not-allowed !important; }

/* Opacidade */
.opacity-0 { opacity: 0 !important; }
.opacity-25 { opacity: 0.25 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-100 { opacity: 1 !important; }

/* Tabelas */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--text-color);
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Notificações */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
