@import url('/verification-status.css?v=1.0');

.account-chrome {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.account-chrome-message,
.account-chrome-trigger {
    position: relative;
    width: 46px;
    height: 46px;
    display: inline-flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #cfd9e7;
    border-radius: 50%;
    color: #2f4058;
    background: #fff;
    box-shadow: 0 2px 8px rgba(29, 52, 82, .06);
    cursor: pointer;
    text-decoration: none;
    transition: border-color .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.account-chrome-message:hover,
.account-chrome-message.has-unread,
.account-chrome-trigger:hover,
.account-chrome-trigger[aria-expanded="true"] {
    border-color: #a8bdd8;
    color: #2f7ee6;
    background: #f7faff;
    box-shadow: 0 7px 18px rgba(29, 52, 82, .11);
    transform: translateY(-1px);
}

.account-chrome-message:focus-visible,
.account-chrome-trigger:focus-visible,
.account-chrome-dropdown a:focus-visible,
.account-chrome-signout:focus-visible {
    outline: 3px solid rgba(59, 130, 246, .24);
    outline-offset: 2px;
}

.account-chrome-message svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.account-chrome-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: #e64646;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.account-chrome-badge[hidden] { display: none; }

.account-chrome-menu { position: relative; }

.account-chrome-trigger img {
    width: 38px;
    height: 38px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    background: #eef4fb;
}

.account-chrome-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 100;
    width: 276px;
    padding: 9px;
    border: 1px solid #dbe3ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(25, 47, 76, .18);
}

.account-chrome-dropdown[hidden] { display: none; }

.account-chrome-identity {
    padding: 12px 13px 14px;
    border-bottom: 1px solid #edf1f6;
}

.account-chrome-identity strong,
.account-chrome-identity span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-chrome-identity strong {
    color: #142039;
    font-size: .96rem;
    font-weight: 600;
}

.account-chrome-identity span {
    margin-top: 2px;
    color: #6d7b8e;
    font-size: .79rem;
}

.account-chrome-nav {
    display: grid;
    gap: 2px;
    padding: 8px 0;
}

.account-chrome-dropdown a,
.account-chrome-signout {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 0;
    border-radius: 8px;
    color: #33445c;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: .89rem;
    text-align: left;
    text-decoration: none;
}

.account-chrome-dropdown a:hover,
.account-chrome-signout:hover {
    color: #205fae;
    background: #f0f5fd;
}

.account-chrome-item-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.account-chrome-signout {
    border-top: 1px solid #edf1f6;
    border-radius: 0 0 8px 8px;
    color: #bd3d3d;
}

.account-chrome-signout:hover {
    color: #a52e2e;
    background: #fff3f3;
}

@media (max-width: 680px) {
    .account-chrome { gap: 7px; }
    .account-chrome-message,
    .account-chrome-trigger {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
    .account-chrome-trigger img { width: 34px; height: 34px; }
    .account-chrome-dropdown {
        position: fixed;
        top: 72px;
        right: 14px;
        width: min(292px, calc(100vw - 28px));
    }
}
