/* Estilos base e utilitários */
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(96deg, #000000 0%, #e07a47 100%);
    min-height: 100vh;
}
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.player-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}
.player-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.attribute-section {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}
.attribute-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1rem;
}
.attack-icon { background: linear-gradient(135deg, #ef4444, #dc2626); }
.defense-icon { background: linear-gradient(135deg, #22c55e, #16a34a); }
.intensity-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* Estilos do Slider de Avaliação */
.rating-slider-container {
    position: relative;
    height: 40px;
    background: white;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
.rating-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        #ef4444 0%, 
        #f59e0b 25%, 
        #eab308 50%, 
        #22c55e 75%, 
        #16a34a 100%);
    opacity: 0.1;
}
.rating-numbers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    pointer-events: none;
    z-index: 2;
}
.rating-number {
    font-weight: 600;
    color: #64748b;
    font-size: 0.875rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}
.rating-thumb {
    position: absolute;
    top: 50%;
    width: 36px;
    height: 36px;
    background: linear-gradient(145deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    cursor: grab;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    z-index: 10;
    user-select: none;
}
.rating-thumb:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
}
.rating-thumb:active {
    cursor: grabbing;
    transform: translateY(-50%) scale(0.95);
}

/* Estilos de Mensagens Flash */
.flash-message {
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.flash-success {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    border-left: 4px solid #22c55e;
}
.flash-danger {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    color: #991b1b;
    border-left: 4px solid #ef4444;
}
.flash-warning {
    background: linear-gradient(135deg, #fefce8, #fef3c7);
    color: #92400e;
    border-left: 4px solid #f59e0b;
}
.flash-info {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

/* Estilos de Botões e Inputs */
.submit-button {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}
.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
}
.add-player-button {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}
.add-player-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
}
.evaluator-input {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.evaluator-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: rgba(255, 255, 255, 1);
}

/* Estilos de Progresso e Estatísticas */
.progress-bar {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    height: 4px;
    border-radius: 2px;
    transition: width 0.3s ease;
}
.stats-badge {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}
.player-card.evaluated {
    border-color: #22c55e;
    background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
}

/* Estilos do Modal (Adicionar Jogador) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}
.modal-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.modal-button {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}
.modal-button.primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}
.modal-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}
.modal-button.secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}
.modal-button.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
}
.no-players-message {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    font-size: 1.125rem;
}
.no-players-message .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
