/**
 * Estilos — graphs.css (restaurado do template original)
 */
.container { 
            margin-top: 10px;
            max-width: 1400px;
        }
        
        .graph-container {
            width: 100%;
            position: relative;
            overflow: hidden;
            background: #ffffff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            padding: 20px;
            margin-bottom: 20px;
            box-sizing: border-box;
            min-height: 500px;
            pointer-events: auto !important;
        }
        
        .graph-container canvas {
            width: 100% !important;
            height: 100% !important;
            max-height: 500px;
        }
        
        .division-section { 
            margin-bottom: 20px;
            background: #ffffff;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .athlete-list {
            max-height: 400px;
            overflow-y: auto;
            padding: 15px;
            background: #ffffff;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        .search-box {
            margin-bottom: 15px;
            position: relative;
        }

        .search-box input {
            width: 100%;
            padding: 8px 12px;
            padding-left: 35px;
            border: 1px solid #e2e8f0;
            border-radius: 4px;
            font-size: 14px;
        }

        .search-box i {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #64748b;
        }

        .athlete-checkbox {
            position: relative;
            overflow: hidden;
            cursor: pointer;
            user-select: none;
            display: flex;
            align-items: center;
            padding: 12px;
            margin: 4px 0;
            border-radius: 4px;
            transition: all 0.2s;
            border: 1px solid #e2e8f0;
            background: #ffffff;
        }

        .athlete-checkbox:hover {
            background-color: #f8fafc;
            transform: translateX(4px);
        }

        .athlete-checkbox.selected {
            border-color: var(--match-accent);
            background-color: rgba(var(--match-brand-rgb), 0.1);
        }

        .athlete-checkbox::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--match-accent);
            opacity: 0;
            transition: opacity 0.2s;
        }

        .athlete-checkbox.selected::after {
            opacity: 1;
        }

        .athlete-checkbox:hover::after {
            opacity: 0.5;
        }

        .athlete-checkbox input[type="checkbox"] {
            position: absolute;
            opacity: 0;
            cursor: pointer;
            height: 0;
            width: 0;
        }

        .athlete-checkbox .custom-checkbox {
            position: relative;
            height: 18px;
            width: 18px;
            background-color: #ffffff;
            border: 2px solid #e2e8f0;
            border-radius: 4px;
            transition: all 0.2s;
            margin-right: 12px;
        }

        .athlete-checkbox:hover .custom-checkbox {
            border-color: var(--match-accent);
        }

        .athlete-checkbox input:checked ~ .custom-checkbox {
            background-color: var(--match-accent);
            border-color: var(--match-accent);
        }

        .athlete-checkbox .custom-checkbox:after {
            content: "";
            position: absolute;
            display: none;
            left: 5px;
            top: 1px;
            width: 5px;
            height: 10px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        .athlete-checkbox input:checked ~ .custom-checkbox:after {
            display: block;
        }

        .athlete-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .athlete-name {
            font-weight: 500;
            font-size: 14px;
            color: #1e293b;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .athlete-position {
            color: #64748b;
            font-size: 0.9em;
        }

        .athlete-category.badge {
            align-self: flex-start;
            margin-top: 4px;
            background-color: var(--match-accent);
            color: white;
            font-size: 0.75em;
            font-weight: 500;
            padding: 2px 8px;
            border-radius: 12px;
        }

        .info-box {
            background: #ffffff;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }

        .info-box h5 {
            color: var(--match-accent);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .info-box p {
            color: #64748b;
            margin-bottom: 5px;
            line-height: 1.5;
        }

        .graph-info {
            background: #ffffff;
            padding: 10px 15px;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            margin-bottom: 10px;
            font-size: 0.9em;
            color: #64748b;
        }

        .graph-info i {
            color: var(--match-accent);
            margin-right: 8px;
        }

        .graphs-section {
            display: none;
            margin-top: 1rem;
        }

        .graphs-section.active {
            display: block;
        }

        .nav-tabs {
            border-bottom: 2px solid var(--match-accent);
            margin-bottom: 1rem;
        }

        .nav-tabs .nav-link {
            color: #1e293b;
            border: none;
            padding: 0.75rem 1.5rem;
            margin-right: 0.5rem;
            border-radius: 8px 8px 0 0;
            font-weight: 500;
        }

        .nav-tabs .nav-link:hover {
            background: rgba(var(--match-brand-rgb), 0.1);
        }

        .nav-tabs .nav-link.active {
            background: var(--match-accent);
            color: white;
        }

        .loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            background: rgba(255, 255, 255, 0.9);
            padding: 10px 20px;
            border-radius: 4px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            z-index: 1000;
        }

        .graph-container canvas {
            transition: opacity 0.3s ease-in-out;
        }

        .graph-container canvas.loading {
            opacity: 0;
        }

        .athlete-checkbox.hidden {
            display: none;
        }

        /* Estilos para o Modal de Informações dos Gráficos */
        .match-page--graphs .modal-content {
            border-radius: 12px;
            border: 1px solid var(--match-border);
            background: var(--match-card);
            color: var(--match-text);
            box-shadow: var(--match-shadow-lg);
        }

        .match-page--graphs .modal-header {
            background: linear-gradient(135deg, var(--match-brand), var(--match-brand-dark));
            color: #0f172a;
            border-radius: 12px 12px 0 0;
            border-bottom: 1px solid var(--match-border);
        }

        .match-page--graphs .modal-header .btn-close {
            filter: none;
            opacity: 0.85;
        }

        .match-page--graphs .modal-body {
            background: var(--match-card);
            color: var(--match-text);
        }

        .match-page--graphs .modal-body .text-muted {
            color: var(--match-text-muted) !important;
        }

        .match-page--graphs .modal-body .alert-info {
            background: var(--match-brand-soft);
            border-color: var(--match-brand-border);
            color: var(--match-text);
        }

        .match-page--graphs .modal-footer {
            border-top: 1px solid var(--match-border);
            padding: 1rem 2rem;
            background: var(--match-card);
        }

        .match-page--graphs .modal-title i {
            margin-right: 8px;
        }

        .match-page--graphs .modal-footer .btn {
            border-radius: 8px;
            padding: 0.5rem 1.5rem;
            font-weight: 500;
        }

        .match-page--graphs .modal-footer .btn-primary {
            background: linear-gradient(135deg, var(--match-brand), var(--match-brand-dark));
            border: none;
            color: #0f172a;
        }

        .match-page--graphs .modal-footer .btn-primary:hover {
            background: linear-gradient(135deg, var(--match-brand-dark), var(--match-brand-dark));
            color: #0f172a;
            transform: translateY(-1px);
        }

        .quick-selection {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-bottom: 1rem;
        }

        .quick-selection .btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
            border-radius: 4px;
            transition: all 0.2s;
            position: relative;
            overflow: hidden;
        }

        .quick-selection .btn::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.3s, height 0.3s;
        }

        .quick-selection .btn:active::after {
            width: 200%;
            height: 200%;
        }

        .quick-selection .btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .quick-selection .btn i {
            font-size: 0.9rem;
            transition: transform 0.2s;
        }

        .quick-selection .btn:hover i {
            transform: scale(1.1);
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 5px;
            }

            .navbar {
                padding: 0.75rem 0;
                margin-bottom: 0.75rem;
            }

            .navbar-brand {
                font-size: 0.9rem;
            }

            .navbar-text {
                font-size: 0.8rem;
            }

            .back-button {
                padding: 0.4rem 0.8rem;
                font-size: 0.8rem;
            }

            .graph-container {
                min-height: 400px;
                padding: 10px;
                margin-bottom: 15px;
            }

            .graph-container canvas {
                width: 100% !important;
                height: 400px !important;
            }

            .division-section {
                padding: 10px;
                margin-bottom: 15px;
            }

            .athlete-list {
                max-height: 300px;
                padding: 10px;
            }

            .athlete-name {
                font-size: 10px;
            }

            .nav-tabs .nav-link {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }

            .nav-tabs {
                overflow-x: auto;
                white-space: nowrap;
                -webkit-overflow-scrolling: touch;
            }

            .nav-tabs::-webkit-scrollbar {
                height: 4px;
            }

            .nav-tabs::-webkit-scrollbar-track {
                background: var(--background-color);
            }

            .nav-tabs::-webkit-scrollbar-thumb {
                background: var(--primary-color);
                border-radius: 2px;
            }

            .navbar-actions {
                flex-direction: column;
                align-items: flex-start;
            }

            .header-buttons {
                flex-direction: column;
                width: 100%;
            }

            .header-buttons .back-button {
                width: 100%;
                justify-content: center;
            }

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

            /* Melhorias para select no mobile */
            select.form-select {
                font-size: 16px; /* Evita zoom automático no iOS */
                padding: 12px;
                height: auto;
                -webkit-appearance: none;
                -moz-appearance: none;
                appearance: none;
                background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
                background-repeat: no-repeat;
                background-position: right 12px center;
                background-size: 16px;
                padding-right: 40px;
            }

            /* Aumentar tamanho dos checkboxes e texto dos atletas */
            .athlete-checkbox {
                padding: 12px 8px;
                margin: 6px 0;
            }

            .athlete-checkbox input[type="checkbox"] {
                width: 20px;
                height: 20px;
                margin-right: 12px;
            }

            .athlete-name {
                font-size: 15px;
                line-height: 1.4;
            }

            .athlete-category.badge {
                font-size: 12px;
                padding: 4px 10px;
                margin-top: 4px;
            }

            .search-box input {
                font-size: 16px;
                padding: 12px 12px 12px 40px;
                height: auto;
            }

            .search-box i {
                font-size: 18px;
                left: 14px;
            }

            .athlete-list {
                max-height: 350px;
                padding: 12px;
            }

            .quick-selection {
                flex-direction: column;
                width: 100%;
            }

            .quick-selection .btn {
                width: 100%;
                justify-content: center;
            }
        }

        @media (max-width: 576px) {
            .graph-container {
                min-height: 350px;
                padding: 10px;
            }

            .navbar-brand {
                font-size: 0.8rem;
            }

            .navbar-text {
                font-size: 0.7rem;
            }

            .back-button {
                padding: 0.3rem 0.6rem;
                font-size: 0.7rem;
            }

            .athlete-name {
                font-size: 10px !important;
            }

            .nav-tabs .nav-link {
                padding: 0.4rem 0.8rem;
                font-size: 0.8rem;
            }

            .athlete-checkbox {
                padding: 14px 8px;
                margin: 8px 0;
            }

            .athlete-checkbox input[type="checkbox"] {
                width: 22px;
                height: 22px;
                margin-right: 14px;
            }

            .athlete-name {
                font-size: 16px;
            }

            .athlete-category.badge {
                font-size: 13px;
                padding: 5px 12px;
            }

            .search-box input {
                font-size: 16px;
                padding: 14px 14px 14px 45px;
            }

            .search-box i {
                font-size: 20px;
                left: 16px;
            }

            .athlete-list {
                max-height: 400px;
                padding: 14px;
            }

            /* Info banner para telas muito pequenas */
            .info-banner {
                width: 98%;
                padding: 18px 15px;
                font-size: 1.2em;
                font-weight: 700;
                background: linear-gradient(135deg, #dc2626, #b91c1c);
                border: 3px solid #ffffff;
                box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
                transform: scale(1.1);
                animation: pulseRed 1.5s infinite;
                bottom: 15px;
            }

            @keyframes pulseRed {
                0% {
                    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
                }
                50% {
                    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.7);
                }
                100% {
                    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
                }
            }

            .info-banner i {
                font-size: 1.4em;
                animation: bounceFast 1s infinite;
            }

            @keyframes bounceFast {
                0%, 20%, 50%, 80%, 100% {
                    transform: translateY(0);
                }
                40% {
                    transform: translateY(-8px);
                }
                60% {
                    transform: translateY(-4px);
                }
            }
        }

        .selected-count {
            font-size: 0.9rem;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--match-accent);
            color: white;
            transition: all 0.2s;
        }

        .selected-count i {
            font-size: 0.9rem;
        }

        .athlete-list {
            position: relative;
        }

        .athlete-list::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 20px;
            background: linear-gradient(to bottom, #ffffff, transparent);
            pointer-events: none;
            z-index: 1;
        }

        .athlete-list::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 20px;
            background: linear-gradient(to top, #ffffff, transparent);
            pointer-events: none;
            z-index: 1;
        }

        .search-box {
            position: sticky;
            top: 0;
            z-index: 2;
            background: #ffffff;
            padding: 10px 0;
            transition: all 0.3s ease;
        }

        .search-box.focused {
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            padding: 15px 0;
        }

        .search-box input {
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }

        .search-box input:focus {
            box-shadow: 0 2px 8px rgba(var(--match-brand-rgb), 0.15);
            border-color: var(--match-accent);
            transform: translateY(-1px);
        }

        .search-box .clear-search {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #64748b;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.2s;
            padding: 4px;
            border-radius: 50%;
        }

        .search-box .clear-search:hover {
            background: #f8fafc;
            color: #1e293b;
        }

        .search-box .clear-search.visible {
            opacity: 1;
        }

        .no-results {
            text-align: center;
            padding: 20px;
            color: #64748b;
            font-style: italic;
            display: none;
        }

        .no-results i {
            font-size: 2em;
            margin-bottom: 10px;
            display: block;
        }

        kbd {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 3px;
            box-shadow: 0 1px 1px rgba(0,0,0,0.2);
            color: #1e293b;
            display: inline-block;
            font-size: 0.85em;
            font-weight: 700;
            line-height: 1;
            padding: 2px 4px;
            white-space: nowrap;
        }

/* alert/header: ver match/layout.css */

        /* Estilos para os badges de divisão */
        .division-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-top: 0.5rem;
        }

        .division-badge {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            background: #ffffff;
            border: 2px solid #e2e8f0;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
            position: relative;
            overflow: hidden;
        }

        .division-badge:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(var(--match-brand-rgb), 0.15);
            border-color: var(--match-accent);
        }

        .division-badge.selected {
            background: linear-gradient(135deg, var(--match-accent), var(--match-accent-dark));
            border-color: var(--match-accent);
            color: white;
            box-shadow: 0 4px 12px rgba(var(--match-brand-rgb), 0.25);
        }

        .division-badge.selected::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
            pointer-events: none;
        }

        .division-badge .badge-text {
            font-weight: 600;
            font-size: 0.9rem;
            white-space: nowrap;
        }

        .division-badge .badge-count {
            background: rgba(var(--match-brand-rgb), 0.1);
            color: var(--match-accent);
            padding: 0.25rem 0.5rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            min-width: 20px;
            text-align: center;
        }

        .division-badge.selected .badge-count {
            background: rgba(255, 255, 255, 0.2);
            color: white;
        }

        .division-badge::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(var(--match-brand-rgb), 0.1);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.3s, height 0.3s;
        }

        .division-badge:active::after {
            width: 200%;
            height: 200%;
        }

        /* Animação de entrada para os badges */
        .division-badge {
            animation: fadeInUp 0.3s ease-out;
        }

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

        /* Efeito de ripple para os badges */
        .division-badge.ripple {
            position: relative;
            overflow: hidden;
        }

        .division-badge.ripple::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(var(--match-brand-rgb), 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .division-badge.ripple:active::before {
            width: 300px;
            height: 300px;
        }

        /* Transições suaves para elementos de seleção */
        #athletes-header,
        #quick-selection-container,
        #search-container,
        .athletes-group {
            transition: opacity 0.3s ease-in-out;
        }

        /* Animação de entrada para elementos de seleção */
        .selection-element-enter {
            animation: slideInDown 0.3s ease-out;
        }

        /* Animação específica para o header */
        #athletes-header {
            animation: slideInFromTop 0.4s ease-out;
        }

        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

        /* Efeito de pulse para feedback visual */
        .division-badge.pulse-feedback {
            animation: pulseFeedback 0.6s ease-in-out;
        }

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

        /* Estilo para a mensagem inicial */
        #no-division-message {
            background: linear-gradient(135deg, #e3f2fd, #bbdefb);
            border: 1px solid #2196f3;
            color: var(--match-nav-active);
            font-size: 1rem;
            padding: 1.5rem;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
        }

        #no-division-message i {
            font-size: 1.2rem;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-5px);
            }
            60% {
                transform: translateY(-3px);
            }
        }

        @media (max-width: 768px) {
            .footer-container {
                margin-top: 2rem;
                padding: 1.5rem 0;
            }
            
            .footer-content {
                font-size: 0.85rem;
            }

            .division-badges {
                gap: 0.5rem;
            }

            .division-badge {
                padding: 0.6rem 0.8rem;
                border-radius: 20px;
            }

            .division-badge .badge-text {
                font-size: 0.8rem;
            }

            .division-badge .badge-count {
                font-size: 0.7rem;
                padding: 0.2rem 0.4rem;
                min-width: 18px;
            }
        }

        @media (max-width: 576px) {
            .division-badges {
                gap: 0.4rem;
            }

            .division-badge {
                padding: 0.5rem 0.7rem;
                border-radius: 18px;
            }

            .division-badge .badge-text {
                font-size: 0.75rem;
            }

            .division-badge .badge-count {
                font-size: 0.65rem;
                padding: 0.15rem 0.3rem;
                min-width: 16px;
            }
        }

        /* Toast de notificação para gráficos */
        #graphs-toast {
            box-shadow: var(--match-shadow-lg);
            font-size: 1rem;
            border-radius: 12px;
            pointer-events: auto;
            opacity: 0.98;
            border: 1px solid var(--match-border);
            background: var(--match-card);
        }

        #graphs-toast .notification-button {
            color: #0f172a !important;
        }

        #graphs-toast .notification-button:hover {
            color: #0f172a !important;
        }

        @media (max-width: 576px) {
            #graphs-toast {
                min-width: 95vw;
                font-size: 0.9rem;
                left: 50% !important;
                transform: translateX(-50%) !important;
            }
        }

        .custom-toast {
            background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
            border-radius: 20px;
            border: 2px solid #dcfce7;
            box-shadow: 0 12px 40px rgba(34,197,94,0.25);
            font-size: 1rem;
            pointer-events: auto;
            opacity: 0.98;
            padding: 0;
            text-align: center;
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }
        .custom-toast::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #22c55e, #16a34a, #15803d);
        }
        .custom-toast .icon-circle {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            font-size: 1.6rem;
            flex-shrink: 0;
            margin: 0 auto;
            background: linear-gradient(135deg, #22c55e, #16a34a);
            color: #fff;
            box-shadow: 0 4px 12px rgba(34,197,94,0.3);
            border: 2px solid #dcfce7;
        }
        .custom-toast a.btn {
            background: linear-gradient(135deg, #22c55e, #16a34a);
            color: #fff;
            border: none;
            box-shadow: 0 4px 12px rgba(34,197,94,0.25);
            display: inline-block;
            margin: 0 auto;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 1px solid #dcfce7;
        }
        .custom-toast a.btn:hover {
            background: linear-gradient(135deg, #16a34a, #15803d);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(34,197,94,0.35);
        }
        .custom-toast .btn-close {
            filter: none;
            background: rgba(34,197,94,0.1);
            border-radius: 50%;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #dcfce7;
            transition: all 0.3s ease;
        }
        .custom-toast .btn-close:hover {
            background: rgba(34,197,94,0.2);
            transform: scale(1.1);
        }
        @media (max-width: 576px) {
            .custom-toast {
                min-width: 98vw;
                font-size: 0.9rem;
                left: 50% !important;
                transform: translateX(-50%) !important;
                padding: 0;
            }
            .custom-toast .icon-circle {
                width: 44px;
                height: 44px;
                font-size: 1.3rem;
            }
            .custom-toast a.btn {
                font-size: 0.9rem;
                padding: 0.5rem 1rem;
            }
        }

        /* Toast de notificação para gráficos */
        .notification-toast {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--match-card);
            border: 1px solid var(--match-border);
            border-radius: 12px;
            box-shadow: var(--match-shadow-lg);
            padding: 16px;
            max-width: 400px;
            width: 90%;
            z-index: 2000;
            display: none;
            font-family: var(--match-font);
            color: var(--match-text);
        }

        .notification-toast .notification-header {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }

        .notification-toast .notification-icon {
            width: 32px;
            height: 32px;
            background: var(--match-brand);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            flex-shrink: 0;
        }

        .notification-toast .notification-icon i {
            color: #0f172a;
            font-size: 14px;
        }

        .notification-toast .notification-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--match-text);
            margin: 0;
        }

        .notification-toast .notification-content {
            font-size: 13px;
            color: var(--match-text-muted);
            line-height: 1.4;
            margin-bottom: 12px;
        }

        .notification-toast .notification-button {
            display: block;
            width: 100%;
            background: var(--match-brand) !important;
            color: #0f172a !important;
            border: none;
            border-radius: 8px;
            padding: 10px 16px;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            text-align: center;
            cursor: pointer;
            transition: background-color 0.2s, transform 0.15s;
        }

        .notification-toast .notification-button:hover {
            background: var(--match-brand-dark) !important;
            color: #0f172a !important;
            text-decoration: none;
            transform: translateY(-1px);
        }

        .notification-toast .notification-footer {
            font-size: 12px;
            color: var(--match-text-muted);
            text-align: center;
            margin-top: 8px;
        }

        .notification-toast .notification-close {
            position: absolute;
            top: 12px;
            right: 12px;
            background: none;
            border: none;
            color: var(--match-text-muted);
            font-size: 16px;
            cursor: pointer;
            padding: 4px;
            border-radius: 4px;
            transition: background-color 0.2s, color 0.2s;
        }

        .notification-toast .notification-close:hover {
            background: var(--match-brand-soft);
            color: var(--match-text);
        }

        @media (max-width: 576px) {
            .notification-toast {
                top: 10px;
                width: 95%;
                padding: 14px;
            }
            
            .notification-toast .notification-icon {
                width: 28px;
                height: 28px;
            }
            
            .notification-toast .notification-icon i {
                font-size: 12px;
            }
            
            .notification-toast .notification-title {
                font-size: 13px;
            }
            
            .notification-toast .notification-content {
                font-size: 12px;
            }
            
            .notification-toast .notification-button {
                font-size: 12px;
                padding: 8px 14px;
            }
            
            .notification-toast .notification-footer {
                font-size: 11px;
            }
        }
