/* Estilos para Páginas de Erro - Sistema Prático */

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #313131;
    background: linear-gradient(135deg, #2BB0B5 0%, #1A6872 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.error-container {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.error-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #E87E10, #EDAC40);
}

.error-icon {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

.error-code {
    font-size: 4rem;
    font-weight: 800;
    color: #E87E10;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(232, 126, 16, 0.3);
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: #313131;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.1rem;
    color: #1A6872;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.error-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(45deg, #E87E10, #EDAC40);
    color: white;
    box-shadow: 0 10px 25px rgba(232, 126, 16, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(232, 126, 16, 0.4);
}

.btn-secondary {
    background: rgba(43, 176, 181, 0.1);
    color: #2BB0B5;
    border: 2px solid #2BB0B5;
}

.btn-secondary:hover {
    background: #2BB0B5;
    color: white;
    transform: translateY(-2px);
}

.error-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(43, 176, 181, 0.2);
    font-size: 0.9rem;
    color: #666;
}

.error-details {
    background: rgba(237, 172, 64, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: left;
}

.error-details h4 {
    color: #E87E10;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.error-details ul {
    list-style: none;
    padding: 0;
}

.error-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(237, 172, 64, 0.2);
    color: #1A6872;
}

.error-details li:last-child {
    border-bottom: none;
}

.error-details li:before {
    content: '💡';
    margin-right: 0.5rem;
}

.logo-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 1;
}

.logo-link img {
    height: 40px;
    width: auto;
}

/* Animações */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

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

.error-container {
    animation: fadeIn 0.8s ease-out;
}

/* Responsividade */
@media (min-width: 768px) {
    .error-container {
        padding: 4rem 3rem;
    }
    
    .error-actions {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .error-code {
        font-size: 5rem;
    }
    
    .error-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .error-icon {
        font-size: 4rem;
    }
    
    .error-code {
        font-size: 3rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .error-container {
        padding: 2rem 1.5rem;
    }
}

/* Efeitos especiais para diferentes tipos de erro */
.error-404 .error-icon {
    color: #E87E10;
}

.error-403 .error-icon {
    color: #dc2626;
}

.error-500 .error-icon {
    color: #7c3aed;
}

.error-generic .error-icon {
    color: #1A6872;
}