/* Estilos para botones de estado de anime en páginas de anime */
.anime-status-btn {
    background: #007bff;
    color: white;
    border: 1px solid #0056b3;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    margin: 5px;
    position: relative;
    min-width: 140px;
    justify-content: center;
    z-index: 1;
}

.anime-status-btn:hover {
    background: #0056b3;
    border-color: #004085;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Efecto de rotación para la flecha cuando el dropdown está abierto */
.anime-status-btn span:last-child {
    transition: transform 0.2s ease;
}

.anime-status-btn.dropdown-open span:last-child {
    transform: rotate(180deg);
}

/* Estados específicos */
.anime-status-btn.status-watching {
    background: #2196F3;
    border-color: #1976D2;
    color: white;
}

.anime-status-btn.status-watching:hover {
    background: #1976D2;
    border-color: #1565C0;
}

.anime-status-btn.status-plan {
    background: #4CAF50;
    border-color: #388E3C;
    color: white;
}

.anime-status-btn.status-plan:hover {
    background: #388E3C;
    border-color: #2E7D32;
}

.anime-status-btn.status-completed {
    background: #FF9800;
    border-color: #F57C00;
    color: white;
}

.anime-status-btn.status-completed:hover {
    background: #F57C00;
    border-color: #EF6C00;
}

.anime-status-btn.status-onhold {
    background: #9C27B0;
    border-color: #7B1FA2;
    color: white;
}

.anime-status-btn.status-onhold:hover {
    background: #7B1FA2;
    border-color: #6A1B9A;
}

.anime-status-btn.status-dropped {
    background: #F44336;
    border-color: #D32F2F;
    color: white;
}

.anime-status-btn.status-dropped:hover {
    background: #D32F2F;
    border-color: #C62828;
}

/* Dropdown de estados */
.status-dropdown {
    position: fixed;
    background: #23232b;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    z-index: 1000;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    font-family: 'Segoe UI', Arial, sans-serif;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.status-dropdown.show {
    opacity: 1;
    transform: translateY(0);
}

.status-dropdown-header {
    background: #2a2a2a;
    padding: 12px 16px;
    border-bottom: 1px solid #333;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-dropdown-add-btn {
    background: #009dff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.status-dropdown-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
}

.status-dropdown-content {
    padding: 8px 0;
}

.status-dropdown-item {
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #333;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dropdown-item:last-child {
    border-bottom: none;
}

.status-dropdown-item:hover {
    background: #28283a !important;
}

.status-dropdown-item.active {
    background: #00aaff44 !important;
    color: #00aaff;
    font-weight: 600;
}

/* Estilo para el texto de deselección */
.status-dropdown-item.active span:last-child {
    color: #00aaff;
}

.status-dropdown-item.active span:last-child::after {
    content: " (clic para quitar)";
    font-size: 12px;
    opacity: 0.8;
    font-weight: normal;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .anime-watch-later-section {
        align-items: center;
    }
    
    .anime-status-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
} 