/* Úcademy · shared top bar (same look as the About us page) */
.uh{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #e5e7eb;font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;line-height:1.5;color:#111827}
.uh *{box-sizing:border-box}
.uh a{color:inherit;text-decoration:none}
.uh__inner{max-width:1200px;margin:0 auto;padding:0 28px;height:58px;display:flex;align-items:center;gap:28px}
.uh__brand{display:flex;align-items:center;gap:9px}
.uh__logo{width:26px;height:26px;display:grid;place-items:center;background:#3b52c4;color:#fff;font-weight:700;font-size:14px;border-radius:6px}
.uh__name{font-weight:600;font-size:15px}
.uh__nav{display:flex;align-items:center;gap:22px}
.uh__link{font-size:13px;color:#6b7280;padding:4px 0;transition:color .15s}
.uh__link:hover{color:#111827}
.uh__link.is-active{color:#3b52c4;font-weight:500}
.uh__actions{margin-left:auto;display:flex;align-items:center}
.uh .account{font:inherit;font-size:13px;color:#374151;background:none;border:0;cursor:pointer;display:inline-flex;align-items:center;gap:5px;max-width:190px;padding:0}
.uh .account__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.uh .account__caret{font-size:10px}
.uh__toggle{display:none;width:36px;height:36px;margin-left:auto;padding:8px;background:none;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;flex-direction:column;justify-content:space-between}
.uh__toggle span{display:block;height:2px;background:#374151;border-radius:2px}
.account-wrap{position:relative}
.account-menu{display:none;position:absolute;right:0;top:calc(100% + 10px);z-index:60;min-width:210px;padding:6px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 8px 24px rgba(16,24,40,.12)}
.account-menu.is-open{display:block}
.account-menu__head{display:grid;gap:1px;padding:8px 10px}
.account-menu__head strong{font-size:13px;font-weight:600;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-menu__head span{font-size:11.5px;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-menu__sep{height:1px;margin:4px 0;background:#e5e7eb}
.account-menu__role{justify-self:start;margin-top:5px;padding:2px 8px;border-radius:5px;font-size:10.5px;font-style:normal;font-weight:600;color:#3b52c4;background:#eef0fd}
.account-menu__role--admin{color:#fff;background:#3b52c4}
.account-menu__count,.account__badge{display:inline-block;min-width:18px;padding:1px 6px;font-size:11px;font-weight:700;line-height:1.5;text-align:center;color:#fff;background:#dc2626;border-radius:9px}
.account-menu__count{margin-left:6px}
.account-menu__item{display:block;width:100%;padding:8px 10px;font:inherit;font-size:13px;text-align:left;color:#374151;background:none;border:0;border-radius:4px;cursor:pointer}
.account-menu__item:hover,.account-menu__item:focus-visible{background:#f6f7f9;color:#3b52c4;outline:none}
.account-menu__logout:hover{color:#dc2626}
@media(max-width:760px){
  .uh__inner{padding:0 18px;gap:12px;flex-wrap:wrap;height:auto;min-height:58px}
  .uh__toggle{display:flex}
  .uh__nav,.uh__actions{display:none;width:100%}
  .uh__nav{flex-direction:column;align-items:flex-start;gap:4px;padding-bottom:8px}
  .uh__link{padding:8px 0;width:100%}
  .uh__actions{margin-left:0;padding-bottom:14px}
  .uh.is-open .uh__nav,.uh.is-open .uh__actions{display:flex}
  .account-menu{right:auto;left:0}
}

/* Orders / calendar pages */
.orders-page{max-width:900px;margin:0 auto;padding:28px 20px 56px;font-family:"Inter",system-ui,sans-serif;color:#111827}
.orders-page h1{margin:0 0 4px;font-size:24px}
.orders-page .sub{margin:0 0 22px;color:#6b7280}
.order{display:flex;justify-content:space-between;gap:18px;padding:16px 18px;margin-bottom:12px;background:#fff;border:1px solid #e5e7eb;border-radius:10px}
.order__info h3{margin:2px 0 4px;font-size:15px}
.order__info p{margin:0;color:#374151;font-size:13px}
.order__info .order__when{color:#3b52c4;font-weight:500;margin-top:4px}
.order__service{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#3b52c4}
.order__side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;white-space:nowrap}
.order__status{padding:2px 10px;font-size:12px;font-weight:500;color:#92400e;background:#fef3c7;border-radius:999px}
.order__cancel{font:inherit;font-size:12px;color:#6b7280;background:none;border:0;cursor:pointer;text-decoration:underline}
.order__cancel:hover{color:#dc2626}
.orders-empty{padding:36px 20px;text-align:center;color:#6b7280;background:#fff;border:1px dashed #d1d5db;border-radius:10px}
.orders-empty a{color:#3b52c4;font-weight:500}
@media(max-width:560px){.order{flex-direction:column}.order__side{align-items:flex-start}}

.uh__bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;margin-right:8px;border-radius:50%;color:#3b4350;text-decoration:none}
.uh__bell:hover{background:rgba(0,0,0,.06)}.uh__bell[hidden]{display:none}
.uh__badge{position:absolute;top:1px;right:-1px;min-width:17px;height:17px;padding:0 4px;box-sizing:border-box;border-radius:9px;background:#d92d20;color:#fff;font:700 10.5px/17px Inter,system-ui,sans-serif;text-align:center}
.uh__badge[hidden]{display:none}

/* "Làm slide hộ": delivered product shown on "Yêu cầu của tôi" */
.order__status--done{color:#15803d;font-weight:600;background:#dcfce7}
.order__delivery{margin-top:12px;padding:12px 14px;background:#f0f9f4;border:1px solid #cfe9da;border-radius:8px;font-size:13px;color:#14532d}
.order__delivery p{margin:6px 0 0;color:#166534;overflow-wrap:anywhere}
.order__dl{display:block;margin-top:8px;color:#3b52c4;font-weight:500;text-decoration:none;overflow-wrap:anywhere}
.order__dl:hover{text-decoration:underline}
