
/* Loader - Animação de carregamento */
.loader-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid transparent;
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Botões globais */
button:active {
    opacity: 0.8;
}

button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.clear {
    background-color: transparent;
    border: none;
}

.solid {
    background: linear-gradient(45deg, #00C9FF, #6F00FF);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(10, 0, 28, 0.5);
    transition: all 0.3s ease-in-out;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(10, 0, 28, 0.7);
}

.outline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.error {
    color: red;
    background: transparent;
    display: none;
    font-size: 12px;
    margin-top: 4px;
}

/* Logo responsiva */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 90vw;
}

.logo {
    width: 100%;
    max-width: 400px;
    height: auto;
}

@media (max-width: 768px) {
    .logo {
        max-width: 250px;
    }
    
    .sidebar {
        width: 200px;
    }
    
    .content {
        margin-left: 200px;
        width: calc(100% - 200px);
    }
}
