:root {
    --header-border-colors-: linear-gradient(to right, transparent, var(--dot-green-), transparent) 1;
}

::placeholder {
    color: #9b9b9b;
    opacity: 1;
}

/* Header */

.header {
    background-color: var(--primary-color-);
    box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, .1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
    display: block;
    height: auto;
    border-bottom: 3px solid var(--dot-green-);
}

.header.on-dashboard {
    border: unset;
    box-shadow: unset;
    background: unset;
}

.nav-left {
    float: left;
    margin-left: 16px;
    align-content: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
}

.logo.on-dashboard {
    border-bottom: 2px solid;
    border-image: var(--header-border-colors-);
}

.logo img {
    height: 25px;
}

li a#signup-btn {
    margin: 8px 25px 8px 0;
    display: unset;
    padding: 8px 20px;
    height: 36px;
    color: var(--almost-white-);
    box-sizing: border-box;
}

.account-icon {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-icon img {
    height: 24px;
    width: 24px;
}

.account-icon img:hover,
.user-avatar:hover {
    opacity: .75;
}


.user-account-dropdown {
    position: absolute;
    top: 40px;
    right: 0;
    background: var(--almost-white-);
    border-radius: 6px;
    width: 300px;
    padding: 5px;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 0 0px 18px rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 1000;
    cursor: auto;
}

.user-account-dropdown {
    top: 48px;
    right: 10px;
    width: fit-content;
    min-width: 200px;
    overflow: visible;
}

.user-account-dropdown::after {
    content: "";
    position: absolute;
    top: -5px;
    right: 10px;
    width: 10px;
    height: 10px;
    background: inherit;
    transform: rotate(45deg);
    border-radius: 2px 0 0 0;
    z-index: -1;
}

.dropdown {
    position: relative;
}

.dropdown:after {
    border: 10px solid;
    border-color: #0000 #0000 #fff;
    border-top: 0;
    content: "";
    height: 0;
    position: absolute;
    top: -20px;
    right: -3px;
    width: 0;
}

.dropdown-item a {
    border-radius: 3px;
    box-sizing: border-box;
}

header li .user-account-dropdown a, .custom-select-options li:hover {
    color: var(--primary-color-);
}

header li .user-account-dropdown a:hover, .custom-select-options li:hover {
    background: var(--hover-gray-);
    transition: background 300ms ease;
}

.header li a {
    opacity: 1;
    color: var(--almost-white-);
    text-align: center;
    -webkit-text-stroke-width: 0px;
    text-transform: none;
    flex: 0 auto;
    order: 0;
    justify-content: center;
    padding: 10px 20px;
    margin: 0;
    font-style: normal;
    font-weight: 400;
    transition: opacity .2s;
    display: flex;
    text-decoration: none;
}

.header li a:hover {
    background: unset;
    opacity: .75;
}

.header li a#signup-btn:hover {
    opacity: 1;
}

.header .menu {
    clear: none;
    max-height: none;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
}

.navigation-wrapper {
    flex-direction: row;
    padding: 0;
    display: flex;
    justify-content: space-between;
    height: 40px;
}

.navigation-wrapper ul {
    border: none;
    display: flex;
}

.user-avatar {
    width: 24px;
    height: 24px;
    background-color: #007bff;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    cursor: pointer;
    margin-right: 15px;
}

.team-dropdown {
    color: var(--translucent-white-);
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    max-width: 300px;
}

.custom-select-wrapper button:hover {
    background: unset;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--translucent-white-);

}

.customer-select-trigger:active {
    transform: scale(1);
}

.trigger-label {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chevron-down {
    flex-shrink: 0;
    margin-left: 8px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.custom-select-trigger.open .chevron-down {
    transform: rotate(180deg);
}

.custom-select-trigger:active {
    transform: scale(1) !important;
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 10;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    padding: 0;
    list-style: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    color: var(--primary-color-);
    display: flex;
    flex-direction: column;
    transform: translateX(-50%);
    min-width: 200px;
}

.custom-select-options.visible {
    visibility: visible;
    padding: 5px;
    opacity: 1;
    transform: translateY(0) translateX(-50%);
}

.custom-select-options.visible::after {
    border: 10px solid;
    border-color: #0000 #0000 #fff;
    border-top: 0;
    content: "";
    height: 0;
    position: absolute;
    top: -20px;
    right: -3px;
    width: 0;
}


.custom-select-options li {
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 3px;
}