.announcement-bar {
    background: linear-gradient(45deg, #34bec1, #2a9a9d);
    color: white;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.announcement-icon {
    font-size: 1.1rem;
}

.announcement-text {
    font-weight: 500;
    margin: 0;
}

.announcement-link {
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.announcement-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.announcement-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.announcement-close:hover {
    opacity: 1;
}

.navbar.with-announcement {
    top: 50px;
}

body.with-announcement {
    padding-top: 50px;
}