.sg-user-entry__button {
    min-height: 48px;
    padding: 6px 11px 6px 8px;
    border: 1px solid rgba(255, 99, 72, .20);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 248, 242, .98), rgba(255, 255, 255, .98));
    box-shadow: 0 8px 24px rgba(92, 63, 66, .09);
    color: #282326;
}

.sg-user-entry__button:hover,
.sg-user-entry__button:focus { border-color: rgba(255, 99, 72, .42); box-shadow: 0 11px 28px rgba(92, 63, 66, .13); color: #282326; }
.sg-user-entry__title { color: #e64e3b; font-size: 13px; font-weight: 800; line-height: 1.2; }
.sg-user-entry__meta { display: flex; align-items: center; gap: 7px; max-width: 180px; color: #938a8f; font-size: 11px; line-height: 1.3; }
.sg-user-entry__meta > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-user-entry__meta b { flex: 0 0 auto; color: #188277; font-weight: 800; }
.sg-user-entry .dropdown-menu { min-width: 210px; margin-top: 9px !important; padding: 8px; border: 1px solid rgba(82, 65, 72, .10); border-radius: 15px; box-shadow: 0 18px 46px rgba(54, 43, 48, .14); }
.sg-user-entry .dropdown-item { padding: 9px 11px; border-radius: 10px; }

.sg-home-account {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(250px, .72fr) minmax(380px, 1.35fr);
    align-items: center;
    gap: 14px;
    margin-bottom: 17px;
    padding: 17px;
    overflow: hidden;
    border: 1px solid rgba(78, 64, 70, .10);
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% -10%, rgba(255, 198, 138, .24), transparent 28%),
        radial-gradient(circle at 90% 110%, rgba(24, 142, 128, .13), transparent 32%),
        rgba(255, 255, 255, .92);
    box-shadow: 0 16px 44px rgba(62, 49, 55, .08);
    backdrop-filter: blur(16px);
}

.sg-home-account::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(#ff7954, #ef493d); }
.sg-home-account__identity { display: flex; align-items: center; gap: 13px; min-width: 0; padding-left: 5px; }
.sg-home-account__identity img { width: 51px; height: 51px; flex: 0 0 51px; border: 3px solid #fff; border-radius: 16px; background: #f7f4f3; box-shadow: 0 8px 18px rgba(67, 51, 57, .12); object-fit: cover; }
.sg-home-account__identity > div { min-width: 0; }
.sg-home-account__identity span { color: #f05a42; font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.sg-home-account__identity h2 { overflow: hidden; margin: 2px 0 3px; color: #282326; font-size: 17px; font-weight: 820; text-overflow: ellipsis; white-space: nowrap; }
.sg-home-account__identity p { margin: 0; color: #92898e; font-size: 12px; }
.sg-home-account__identity p strong { color: #188277; }

.sg-home-account__primary { display: flex; align-items: center; gap: 11px; min-height: 61px; padding: 10px 13px; border-radius: 16px; background: linear-gradient(135deg, #ff7451, #ed493b); box-shadow: 0 12px 26px rgba(237, 73, 59, .22); color: #fff !important; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.sg-home-account__primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(237, 73, 59, .29); }
.sg-home-account__primary > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, .17); font-size: 18px; }
.sg-home-account__primary > div { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.sg-home-account__primary strong { font-size: 14px; }
.sg-home-account__primary small { margin-top: 2px; opacity: .78; font-size: 10px; }
.sg-home-account__primary > b { font-size: 21px; font-weight: 400; }

.sg-home-account__actions { display: grid; grid-template-columns: repeat(5, minmax(62px, 1fr)); gap: 7px; }
.sg-home-account__actions a { display: flex; align-items: center; justify-content: center; min-height: 59px; flex-direction: column; gap: 5px; border: 1px solid rgba(78, 64, 70, .09); border-radius: 14px; background: rgba(255, 255, 255, .73); color: #5d565a !important; font-size: 11px; text-decoration: none; transition: background .18s ease, transform .18s ease, color .18s ease; }
.sg-home-account__actions a:hover { transform: translateY(-2px); background: #fff7f2; color: #e64e3b !important; }
.sg-home-account__actions i { color: #e95a45; font-size: 17px; }

@media (max-width: 1199px) {
    .sg-home-account { grid-template-columns: minmax(220px, 1fr) minmax(240px, 1fr); }
    .sg-home-account__actions { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
    .sg-user-entry { margin-left: auto !important; }
    .sg-user-entry__button { min-height: 42px; padding: 4px 8px 4px 5px; border-radius: 13px; }
    .sg-user-entry__button img { width: 31px !important; height: 31px !important; margin-right: 6px !important; }
    .sg-user-entry__meta { display: none; }
    .sg-user-entry__title { font-size: 12px; }
    .sg-home-account { grid-template-columns: 1fr; padding: 15px; border-radius: 19px; }
    .sg-home-account__actions { grid-column: auto; grid-template-columns: repeat(5, minmax(50px, 1fr)); }
}

@media (max-width: 460px) {
    .navbar-brand .shopgpt-wordmark { font-size: 20px; }
    .sg-user-entry__copy { display: none !important; }
    .sg-user-entry__button::after { margin-left: 2px; }
    .sg-home-account__actions { grid-template-columns: repeat(3, 1fr); }
    .sg-home-account__actions a { min-height: 56px; }
}
