.topbar {
    background-color: white;
    color: #fff;
    margin-left: 250px;
    padding: 0 0 0 20px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0 10px;
    box-sizing: border-box;
    transition: margin-left 0.3s;
}

body:has(.sidebar.collapsed) .topbar {
    margin-left: 50px;
}

.page-icon-title {
    display: flex;
    width: fit-content;
    align-items: center;
}

.page-icon-title i {
    margin-right: 8px;
}

.page-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.btn-gold {
    background-color: #D4785C;
    color: black;
    border-radius: 0 0 16px 16px;
    border: none;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: bold;
    width: auto;
    /* min-width: 100px; */
    padding: 0; /* reset default padding */
    box-sizing: border-box;
}

.btn-gold:hover,
.btn-gold:focus {
    background-color: #D4785C;
    color: black;
    text-decoration: none;
}

.btn-gold .btn-text {
    padding-left: 10px;
    flex-grow: 1;
    text-align: left;
}

.btn-gold .btn-icon {
    padding-right: 10px;
}

.date-time {
    color: black;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.date-time i {
    color: #9DD4DD;
    margin-right: 20px;
    font-size: 16px;
}

.user-dropdown .dropdown-toggle {
    background-color: #353A5B;
    color: white !important;
    padding: 10px 25px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    border-radius: 0 0 0 16px; 
    width: fit-content;
    justify-content: center;
    box-sizing: border-box;
    height: 50px;
    text-align: center;
    text-decoration: none;
}

.page-info-wrapper {
    align-items: start;
    gap: 0.5rem 1rem;
}

.account-wrapper {
    display: none;
    gap: 0.5rem 1rem;
}

#add-new-button-text, #add-new-button-icon-right {
    display: none;
}

@media (min-width: 1024px) {
    .user-dropdown .dropdown-toggle {
        width: 300px;
    }
    .user-dropdown .dropdown-menu {
        min-width: 300px;
    }

    .page-info-wrapper {
        align-items: center;
        flex-direction: row;
    }

    .account-wrapper {
        display: flex;
    }

    #add-new-button-icon {
        display: none;
    }

    #add-new-button-text, #add-new-button-icon-right {
        display: block;
    }

    .btn-gold {
        min-width: 300px;
    }
}

.user-dropdown .dropdown-toggle i {
    margin-right: 20px;
    color: #D4785C;
    font-size: 16px;
}

