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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 20px;
    background: #fff;
}

h1 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.controls {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.controls button {
    padding: 8px 16px;
    border: 1px solid #dee2e6;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
}

.controls button:hover {
    background: #f8f9fa;
}

/* Ticker Styles */
.notification-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #f8f9fa;
    border-top: 2px solid #dee2e6;
    overflow: hidden;
    z-index: 1000;
}

.ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 20px;
    padding: 0 20px;
}

.ticker-item {
    padding: 0 15px;
    margin: 0 20px;
    background: white;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
    text-overflow: ellipsis;
    justify-content: center;
    text-align: center;
}

.notification-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #6c757d;
    line-height: 1;
    padding: 0 4px;
}

.notification-close:hover {
    color: #343a40;
}

.ticker-item::before {
    display: none; /* Remove separador */
}

.ticker-item i {
    margin-right: 8px;
    font-size: 1.1rem;
}


.ticker-item:first-child::before {
    display: none;
}

/* Animação */
@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Pausar no hover */
.notification-ticker:hover .ticker-track {
    animation-play-state: paused;
}