/* Signed-in profile menu in the public header (replaces the Dashboard button) */
.tc-user-menu { position: relative; display: inline-block; text-align: left; }
.tc-user-btn { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); color: #fff; padding: 5px 14px 5px 5px; border-radius: 40px; cursor: pointer; font-weight: 600; font-size: 15px; line-height: 1; transition: background .15s ease; }
.tc-user-btn:hover, .tc-user-menu.is-open .tc-user-btn { background: rgba(255, 255, 255, .18); }
.tc-user-btn:focus-visible { outline: 2px solid #8fb3ff; outline-offset: 2px; }
.tc-user-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #1b5cff, #7a4dff); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.tc-user-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-user-btn .fa-chevron-down { font-size: 11px; opacity: .8; transition: transform .15s ease; }
.tc-user-menu.is-open .fa-chevron-down { transform: rotate(180deg); }
.tc-user-dropdown { position: absolute; right: 0; top: calc(100% + 12px); min-width: 250px; background: #fff; border: 1px solid #e3eaf5; border-radius: 14px; box-shadow: 0 18px 50px rgba(16, 24, 40, .22); padding: 8px; z-index: 1100; display: none; }
.tc-user-menu.is-open .tc-user-dropdown { display: block; }
.tc-user-head { padding: 10px 12px 12px; border-bottom: 1px solid #eef2f8; margin-bottom: 6px; }
.tc-user-head strong { display: block; color: #10152b; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-user-head span { display: block; color: #667085; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-user-dropdown a, .tc-user-dropdown button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; background: transparent; border-radius: 8px; color: #344054; font-size: 14.5px; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; }
.tc-user-dropdown a:hover, .tc-user-dropdown button:hover { background: #f2f6ff; color: #1b5cff; }
.tc-user-dropdown i { width: 18px; text-align: center; color: #667085; }
.tc-user-dropdown a:hover i, .tc-user-dropdown button:hover i { color: #1b5cff; }
.tc-user-divider { height: 1px; background: #eef2f8; margin: 6px 0; }
.tc-user-menu-mobile { margin-right: 10px; vertical-align: middle; }
.tc-user-menu-mobile .tc-user-name, .tc-user-menu-mobile .fa-chevron-down { display: none; }
.tc-user-menu-mobile .tc-user-btn { padding: 3px; }
@media (max-width: 991px) { .tc-user-dropdown { right: -8px; } }
