/* LOGOS */
.logo {
    position: fixed;
    top: 15px;
    width: 120px;
    opacity: 0.9;
    z-index: 900;
}

.logo.left {
    left: 80px;
}

.logo.right {
    right: 20px;
}

/* BOTÓN MENU */
.menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background: #6c5ce7;
    border: none;
    color: white;
    padding: 10px 12px;
    border-radius: 10px;
    z-index: 1100;
    cursor: pointer;
}

/* OVERLAY */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* SIDEBAR PERFECTO */
.sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: #1e1e2f;
    padding: 20px;
    transition: all 0.3s ease;
    z-index: 1200;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

/* CONTENIDO */
.sidebar-header {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-content p {
    font-size: 14px;
    margin-bottom: 10px;
}

.sidebar-footer {
    margin-top: 30px;
    text-align: center;
}

.uth-logo {
    width: 120px;
}

/* CARD */
.card {
    border-radius: 15px;
    background: #2f2f4a;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    animation: fadeInUp 0.8s ease;
}

/* BOTÓN */
.btn-primary {
    background: #6c5ce7;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* LOADER */
.loader {
    display: none;
    text-align: center;
    margin-top: 15px;
}

.loader span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 3px;
    background: #6c5ce7;
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

@keyframes bounce {
    to {
        transform: translateY(-8px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .logo {
        width: 80px;
    }

    .logo.left {
        left: 70px;
        top: 10px;
    }

    .logo.right {
        right: 10px;
        top: 10px;
    }

    .menu-btn {
        top: 10px;
        left: 10px;
        padding: 8px 10px;
    }

    .card {
        margin-top: 40px;
    }

    h3 {
        font-size: 20px;
    }
}