* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
    background: #050810;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 10px;
    position: relative;
    overflow-x: hidden;
}

/* Fundo Animado */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #9b59b6;
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #00bcd4;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: #00e5ff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

.top-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 24px;
}

/* Efeito Glass */
.glass {
    background: rgba(20, 25, 41, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.glass:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 188, 212, 0.1);
    transform: translateY(-2px);
}

/* Clock Card */
.clock-card { 
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.clock-card .time {
    font-size: 64px;
    font-weight: 200;
    letter-spacing: -2px;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #fff 0%, #00e5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.clock-card .day { 
    font-size: 20px; 
    font-weight: 600; 
    margin-bottom: 8px;
    color: #c0c8d8;
}
.clock-card .date { 
    font-size: 15px; 
    color: #8892a4; 
    margin-bottom: 24px;
}
.clock-extra {
    display: flex;
    gap: 24px;
    width: 100%;
    justify-content: center;
}
.clock-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #8892a4;
    background: rgba(255,255,255,0.05);
    padding: 8px 16px;
    border-radius: 20px;
}
.clock-icon { font-size: 16px; }

/* Player Card */
.player-card { padding: 28px; }
.now-playing-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #00e5ff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.player-content { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.album-art {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a2035, #0a0e1a);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
}
.album-art img { width: 100%; height: 100%; object-fit: cover; }

.player-title { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.player-artist { font-size: 15px; color: #8892a4; }

/* Progress Bar */
.progress-bar-container { width: 100%; margin-bottom: 8px; }
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00bcd4, #00e5ff);
    border-radius: 3px;
    position: relative;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}
.progress-fill::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
    opacity: 0;
    transition: opacity 0.2s;
}
.progress-bar:hover .progress-fill::after { opacity: 1; }

.progress-times { 
    display: flex; 
    justify-content: space-between; 
    font-size: 12px; 
    color: #8892a4; 
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
}

/* Controles */
.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #8892a4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: scale(1.1);
}

.control-btn.active {
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bcd4, #00e5ff);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: #050810;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.3);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 188, 212, 0.5);
}

/* Volume */
.volume-control { display: flex; align-items: center; gap: 12px; }
.volume-icon { font-size: 18px; color: #8892a4; }
.volume-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}
.volume-fill {
    height: 100%;
    background: linear-gradient(90deg, #00bcd4, #00e5ff);
    border-radius: 3px;
    position: relative;
    transition: width 0.1s linear;
}
.volume-fill::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    opacity: 0;
}
.volume-bar:hover .volume-fill::after { opacity: 1; }
.volume-label { font-size: 13px; color: #8892a4; min-width: 35px; }

/* Calendar Card */
.calendar-card { 
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.calendar-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #c0c8d8;
}
.calendar-nav {
    display: flex;
    gap: 8px;
}
.cal-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cal-btn:hover {
    background: rgba(0, 188, 212, 0.2);
    border-color: #00bcd4;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 16px;
}
.cal-day-header {
    text-align: center;
    font-size: 11px;
    color: #8892a4;
    padding: 8px 0;
    font-weight: 600;
}
.cal-day {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: #c0c8d8;
}
.cal-day:hover {
    background: rgba(0, 188, 212, 0.2);
}
.cal-day.today {
    background: linear-gradient(135deg, #00bcd4, #00e5ff);
    color: #050810;
    font-weight: 700;
}
.cal-day.other-month {
    color: rgba(136, 146, 164, 0.3);
}
.cal-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    background: #9b59b6;
    border-radius: 50%;
}
.calendar-events {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    max-height: 120px;
    overflow-y: auto;
}
.event-item {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.event-time {
    color: #00e5ff;
    font-weight: 600;
    min-width: 50px;
}
.event-title {
    color: #c0c8d8;
}

/* Apps Section */
.apps-section {
    width: 100%;
}
.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #c0c8d8;
    padding-left: 8px;
    border-left: 3px solid #00bcd4;
}

/* Bottom Row - Apps */
.bottom-row { 
    display: grid; 
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.app-card {
    position: relative;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.2);
}

.app-card.editing {
    animation: shake 0.5s ease-in-out;
    border-color: rgba(255, 51, 102, 0.5);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.app-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(155, 89, 182, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.app-card:hover .app-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

.app-label {
    font-size: 12px;
    color: #c0c8d8;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

.app-remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #ff3366, #ff6b6b);
    border-radius: 50%;
    border: 2px solid #0a0e1a;
    color: #fff;
    font-size: 16px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.4);
    z-index: 10;
}

.app-remove-btn:hover {
    transform: scale(1.2) rotate(90deg);
}

.app-card.show-remove .app-remove-btn {
    display: flex;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: rgba(20, 25, 41, 0.95);
    padding: 32px;
    border-radius: 24px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 16px;
    animation: bounce 0.6s ease;
}

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

.modal-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.modal-text {
    font-size: 15px;
    color: #8892a4;
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn.cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #c0c8d8;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.modal-btn.confirm {
    background: linear-gradient(135deg, #ff3366, #ff6b6b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.modal-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.4);
}

/* Video Section */
.video-section { padding: 0; overflow: hidden; }
.video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.video-header h3 { font-size: 18px; font-weight: 600; }
.video-toggle {
    background: none;
    border: none;
    color: #8892a4;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}
.video-toggle.active { transform: rotate(180deg); }
.video-content { padding: 28px; }
.video-content.hidden { display: none; }

.video-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 188, 212, 0.2);
}

.video-title {
    font-size: 14px;
    color: #00e5ff;
    font-weight: 500;
}

.video-counter {
    font-size: 13px;
    color: #8892a4;
    font-variant-numeric: tabular-nums;
}

.video-player-wrapper { width: 100%; margin-bottom: 20px; }
#videoPlayer {
    width: 100%;
    max-height: 450px;
    border-radius: 16px;
    background: #0a0e1a;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.video-playlist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.video-item {
    background: rgba(255,255,255,0.05);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}
.video-item:hover {
    background: rgba(0, 188, 212, 0.1);
    border-color: #00bcd4;
    transform: translateY(-2px);
}
.video-item.active {
    border-color: #00bcd4;
    background: rgba(0, 188, 212, 0.15);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.2);
}
.video-item-name {
    font-size: 13px;
    color: #c0c8d8;
    margin-bottom: 4px;
}
.video-item-status {
    font-size: 12px;
    color: #00e5ff;
}

/* Toast */
.toast-notification {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(16px);
    padding: 14px 28px;
    border-radius: 50px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: #fff;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 188, 212, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 188, 212, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .top-row { grid-template-columns: 1fr; }
    .bottom-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .bottom-row { 
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    .app-card {
        padding: 16px 8px;
    }
    .app-icon-wrapper {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    .app-label {
        font-size: 11px;
    }
    .clock-card .time { font-size: 48px; }
}

@media (max-width: 480px) {
    .bottom-row { 
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .app-card {
        padding: 12px 4px;
        gap: 6px;
    }
    .app-icon-wrapper {
        width: 42px;
        height: 42px;
        font-size: 20px;
        border-radius: 10px;
    }
    .app-label {
        font-size: 10px;
    }
    .clock-card .time { font-size: 42px; }
    .clock-card { padding: 24px 16px; }
    .player-card { padding: 20px 16px; }
}

/* ===== LOGOS E IMAGENS ===== */

/* Logo pequeno no clock */
.clock-logo {
    margin-bottom: 12px;
}

.megam-logo-small {
    height: 20vh;
    max-height: 120px;
    width: auto;
    opacity: 0.8;
    filter: drop-shadow(0 0 20px rgba(155, 89, 182, 0.2));
    transition: all 0.3s ease;
}

.megam-logo-small:hover {
    opacity: 1;
    filter: drop-shadow(0 0 30px rgba(155, 89, 182, 0.4));
}

/* Logo no footer */
.footer { 
    text-align: center; 
    margin-top: 10px; 
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

.footer-logo-img {
    height: 28px;
    width: auto;
    opacity: 0.6;
    filter: drop-shadow(0 0 20px rgba(155, 89, 182, 0.15));
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
    filter: drop-shadow(0 0 30px rgba(155, 89, 182, 0.3));
}

.footer-logo span {
    color: rgba(255, 255, 255, 0.3);
}

/* Album art com fallback */
.album-art {
    position: relative;
    overflow: hidden;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-art .fallback-icon {
    font-size: 32px;
    color: #8892a4;
}

/* Favicon no head */
/* Já está no head do HTML */

/* ===== MEGAM LOGO NO MEGAM CARD ===== */
/* Se você quiser usar a logo no card MEGAM */
.megam-card-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #9b59b6;
    box-shadow: 0 0 40px rgba(155, 89, 182, 0.2);
    transition: all 0.3s ease;
}

.megam-card-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(155, 89, 182, 0.4);
}

/* ===== MEGAM CARD - card grande e destacado (#megamGrid) ===== */

.megam-card {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(0, 188, 212, 0.06));
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-top: 1px solid rgba(155, 89, 182, 0.4);
    border-left: 1px solid rgba(155, 89, 182, 0.4);
    cursor: pointer;
}

.megam-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(155, 89, 182, 0.35), 0 0 20px rgba(0, 229, 255, 0.1);
    border-color: rgba(155, 89, 182, 0.5);
}

.megam-card .megam-card-logo {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.megam-card .megam-card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.megam-card .app-label {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.megam-card .app-sublabel {
    font-size: 13px;
    color: #c0c8d8;
}

@media (max-width: 480px) {
    .megam-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .megam-card .megam-card-text {
        align-items: center;
        text-align: center;
    }
    .megam-card .megam-card-logo {
        width: 64px;
        height: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .orb {
        animation: none;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.chat-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #bc13fe, #00f3ff);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(188, 19, 254, 0.4);
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none;
    animation: pulse-fab 2s infinite;
    padding: 5px;
}

.chat-fab img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.chat-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 243, 255, 0.5);
}

@keyframes pulse-fab {
    0%, 100% { box-shadow: 0 8px 25px rgba(188, 19, 254, 0.4); }
    50% { box-shadow: 0 8px 40px rgba(0, 243, 255, 0.6); }
}

/* ============================================
   TOGGLE SWITCH - APPS MANAGER
   ============================================ */
.app-manager-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
    flex-shrink: 0;
}

.app-manager-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.app-manager-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e74c3c !important;
    border-radius: 28px;
    transition: all 0.3s ease;
}

.app-manager-toggle .slider:before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.app-manager-toggle input:checked + .slider {
    background: linear-gradient(135deg, #00f3ff, #2ecc71) !important;
}

.app-manager-toggle input:checked + .slider:before {
    transform: translateX(20px);
}

/* Hover */
.app-manager-toggle:hover .slider {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.app-manager-toggle input:checked:hover .slider {
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

/* Animação para cards filtrados */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo para o campo de pesquisa */
.search-input-wrapper input::placeholder {
    color: #4a5568;
}

.search-input-wrapper input:focus::placeholder {
    color: #6c7a9e;
}

.logout-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.logout-button:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: rgba(255, 68, 68, 0.5);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.25);
    transform: translateY(-3px);
}

.logout-button:active {
    transform: translateY(-1px);
}

.logout-button i {
    font-size: 18px;
}