#topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1010;
    box-sizing: border-box;
}

.topbar-right {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.sidebar-logo {
    float: left;
    height: 30px;
    width: auto;
    margin-right: 10px;
    display: block;
}

.header-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    color: #3d3d3d;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    transition: background 0.2s;
}

.header-btn:hover {
    background: #EEEEEE;
}

.btn-close-sidebar {
    background: transparent;
}

.btn-nouveau-trace, .btn-importer-gpx {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    border-radius: 10px;
    padding: 8px 16px;
    cursor: pointer;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-nouveau-trace .icon-right, 
.btn-importer-gpx .icon-right {
    display: flex;
    align-items: center;
}

.btn-nouveau-trace {
    background: #FFFFFF;
    color: #181713;
    border: 2px solid #DDDDDD;
}

.btn-nouveau-trace:hover {
    background: #F9F9F9;
}

.btn-importer-gpx {
    background: transparent;
    color: #181713;
    border: 2px solid #6f9182;
}

.btn-importer-gpx:hover {
    background: #f2f7f4;
    border-color: #6f9182;
}

.title-container {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
    margin-right: 20px;
}

.sidebar-title {
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #326d47;
    margin: 0;
    text-decoration: none;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.title-separator {
    width: 1px;
    height: 30px;
    background-color: #dadad6;
    margin: 0 5px;
}

.btn-edit-title {
    background: transparent;
    border: none;
    color: #777777;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-edit-title:hover {
    background: #EEEEEE;
    color: #181713;
}

.title-and-dates {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 2px;
    margin-top: 2px;
}

.title-row {
    display: flex;
    align-items: center;
}

.current-project-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #181713;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: normal;
    margin-top: 3px;
}

.project-dates {
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    color: #777777;
    white-space: nowrap;
    margin-top: 1px;
}

.publish-badge {
    background: #E8F5EC;
    color: #1B6E4B;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
}

.publish-badge.read-only {
    background: #EEF4FF;
    color: #2563EB;
}