/* Estilos personalizados */
.card-elevated {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-elevated:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.input-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6B7280;
}

.password-toggle:hover {
    color: #3B82F6;
}

/* Animações suaves */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.animate-fadeIn {
    animation: fadeInDropdown 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo para tabelas */
table {
    border-collapse: separate;
    border-spacing: 0;
}

table thead tr th {
    background: linear-gradient(to right, #3B82F6, #60A5FA);
    color: white;
}

table tbody tr:hover {
    background-color: #EFF6FF;
}

/* Botões personalizados */
.btn-primary {
    background: linear-gradient(to right, #3B82F6, #2563EB);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(to right, #2563EB, #1D4ED8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #3B82F6;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Espaçamento para logos inferiores */
body.has-bottom-logos {
    padding-bottom: 80px;
}

.bg-icons-move svg {
    will-change: transform, opacity;
    animation: floatY 16s ease-in-out infinite alternate, driftX 48s linear infinite;
}

.bg-icons-move svg:nth-child(odd) {
    animation-duration: 18s, 60s;
}

.bg-icons-move svg:nth-child(3n) {
    animation-duration: 14s, 54s;
    animation-delay: 0.5s, -10s;
}

.bg-icons-move svg:nth-child(4n) {
    animation-delay: 1.2s, -20s;
}

@keyframes floatY {
    0% { transform: translateY(-10px); }
    100% { transform: translateY(10px); }
}

@keyframes driftX {
    0% { transform: translateX(-15px); }
    50% { transform: translateX(15px); }
    100% { transform: translateX(-15px); }
}
