﻿.button-login {
    appearance: button;
    backface-visibility: hidden;
    background-color: #405cf5;
    border-radius: 6px;
    border-width: 0;
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .1) 0 2px 5px 0, rgba(0, 0, 0, .07) 0 1px 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, sans-serif;
    font-size: 100%;
    height: 44px;
    line-height: 1.15;
    margin: 12px 0 0;
    outline: none;
    overflow: hidden;
    padding: 0 25px;
    position: relative;
    right: 16%;
    text-align: center;
    text-transform: none;
    transform: translateZ(0);
    transition: all .2s, box-shadow .08s ease-in;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100%;
}

    .button-login:disabled {
        cursor: default;
    }

    .button-login:focus {
        box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .2) 0 6px 15px 0, rgba(0, 0, 0, .1) 0 2px 2px 0, rgba(50, 151, 211, .3) 0 0 0 4px;
    }

.button-generic {
    align-items: center;
    background-color: #06f;
    border: 2px solid #06f;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    fill: #000;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 600;
    height: 48px;
    justify-content: center;
    letter-spacing: -.8px;
    line-height: 24px;
    min-width: 140px;
    outline: 0;
    padding: 0 17px;
    text-align: center;
    text-decoration: none;
    transition: all .3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

    .button-generic:focus {
        color: #171e29;
    }

    .button-generic:hover {
        background-color: #3385ff;
        border-color: #3385ff;
        fill: #06f;
    }

    .button-generic:active {
        background-color: #3385ff;
        border-color: #3385ff;
        fill: #06f;
    }

@media (min-width: 768px) {
    .button-generic {
        min-width: 170px;
    }
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
}

.user-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100%+ 2px);
    min-width: 220px;
    background-color: #072c60;
    border: 1px solid #000000;
    z-index: 2000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

    .user-dropdown-content.show {
        display: block;
    }

.user-dropdown-name {
    padding: 12px 15px;
    color: lightblue;
    font-weight: bold;
    border-bottom: 1px solid #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-content a,
.user-dropdown-content form button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px;
    border: none;
    background: transparent;
    color: lightblue;
    text-decoration: none;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

    .user-dropdown-content a:hover,
    .user-dropdown-content form button:hover {
        background-color: #010214;
    }

.user-dropdown-content form {
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .user-dropdown-content {
        right: 0;
        min-width: 190px;
    }

    .user-dropdown-button {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
