.top-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    gap: 2rem;
}

.date-display {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.action-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.action-icon .icon {
    width: 22px;
    height: 22px;
    stroke: white;
    stroke-width: 2;
}

.agenda-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-left: 1rem;
}

.agenda-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.agenda-icon .icon {
    width: 22px;
    height: 22px;
    stroke: white;
    stroke-width: 2;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
}

.notification-dropdown,
.email-dropdown,
.agenda-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin-top: 10px;
    display: none;
    z-index: 1000;
}

.notification-dropdown.active,
.email-dropdown.active,
.agenda-dropdown.active {
    display: block;
}

.dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-header h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin: 0;
}

.dropdown-content {
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item .icon {
    width: 24px;
    height: 24px;
    stroke: var(--secondary-color);
}

.item-content {
    flex: 1;
}

.item-title {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.item-description {
    color: #666;
    font-size: 0.8rem;
}

.item-time {
    color: #999;
    font-size: 0.75rem;
}

.dropdown-footer {
    padding: 0.8rem;
    text-align: center;
    border-top: 1px solid #eee;
}

.dropdown-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.dropdown-footer a:hover {
    text-decoration: underline;
}

.agenda-preview {
    padding: 1rem;
}

.today-appointments {
    margin-top: 1rem;
}

.appointment-preview {
    padding: 0.8rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.appointment-time {
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
}

.appointment-details {
    flex: 1;
}

.appointment-title {
    font-weight: 500;
    color: var(--primary-color);
}