/* Estilos para a página de tutoriais */

.tools-navigation {
    margin-bottom: 2rem;
    background: rgba(30, 41, 59, 0.5);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tools-navigation h3 {
    color: #a5b4fc;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tools-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}

.tool-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: rgba(79, 70, 229, 0.2);
    color: #a5b4fc;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(165, 180, 252, 0.3);
    text-decoration: none;
}

.tool-button:hover {
    background: rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #fff;
    border-color: #a5b4fc;
}

.tool-button i {
    margin-right: 8px;
}

.tutorial-item {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(165, 180, 252, 0.2);
    transition: all 0.3s ease;
}

.tutorial-item:target {
    border-color: #a5b4fc;
    box-shadow: 0 0 15px rgba(165, 180, 252, 0.5);
    animation: highlight 1.5s ease;
}

@keyframes highlight {
    0% { background: rgba(79, 70, 229, 0.3); }
    100% { background: rgba(30, 41, 59, 0.5); }
}

.tutorial-title {
    color: #a5b4fc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.tutorial-title i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.tutorial-steps {
    margin-top: 1.5rem;
}

.tutorial-step {
    display: flex;
    margin-bottom: 1.5rem;
    background: rgba(15, 23, 42, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-number span {
    color: #fff;
    font-weight: bold;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.step-content h4 i {
    margin-right: 8px;
    color: #a5b4fc;
}

.step-content p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Botão de voltar ao topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.8);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(79, 70, 229, 1);
    transform: translateY(-3px);
}

/* Responsividade */
@media (max-width: 768px) {
    .tools-buttons {
        justify-content: center;
    }
    
    .tutorial-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 1rem;
        margin-right: 0;
    }
}
