/* UstayaBak Customer Experience Final v1 */
.ub-customer-experience{--ubcx-brand:#f36a2e;--ubcx-brand-dark:#df5720;--ubcx-ink:#172033;--ubcx-muted:#667085;--ubcx-line:#e7eaf0;--ubcx-soft:#fff7f2}
.ub-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.ub-page-head h1{margin:3px 0 6px;font-size:30px;line-height:1.15;letter-spacing:-.035em;color:var(--ubcx-ink)}
.ub-page-head p{margin:0;color:var(--ubcx-muted)}
.ub-eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--ubcx-brand-dark)}
.ub-primary-cta{min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding-inline:18px}

.ub-customer-sidebar{border:1px solid var(--ubcx-line)!important;border-radius:22px!important;overflow:hidden;box-shadow:0 14px 38px rgba(16,24,40,.06)!important;background:#fff}
.ub-customer-profile{display:flex;align-items:center;gap:13px;padding:20px;border-bottom:1px solid #eef0f4;background:linear-gradient(145deg,#fff,#fff9f6)}
.ub-customer-avatar{display:flex;width:52px;height:52px;align-items:center;justify-content:center;flex:none;border-radius:17px;background:linear-gradient(145deg,#f58245,#df5720);color:#fff!important;font-weight:900;font-size:18px;box-shadow:0 9px 20px rgba(243,106,46,.20)}
.ub-customer-profile-copy{min-width:0}
.ub-customer-profile-copy>span{display:block;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#98a2b3}
.ub-customer-profile-copy h3{font-size:15px;margin:2px 0 1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ub-customer-profile-copy small{font-size:11px;color:#667085}
.ub-customer-sidebar .settings-menu{padding:10px}
.ub-customer-sidebar .sidebar-menu ul{display:flex;flex-direction:column;gap:3px}
.ub-customer-sidebar .settings-menu .nav-link{display:flex!important;align-items:center;gap:11px;min-height:44px;padding:10px 12px!important;border-radius:12px!important;color:#475467!important;font-size:13px;font-weight:700}
.ub-customer-sidebar .settings-menu .nav-link i{font-size:17px;color:#98a2b3}
.ub-customer-sidebar .settings-menu .nav-link:hover{background:#fafafa;color:#172033!important}
.ub-customer-sidebar .settings-menu .nav-link.active{background:#fff3ed!important;color:#be4315!important}
.ub-customer-sidebar .settings-menu .nav-link.active i{color:#df5720}
.ub-sidebar-separator{border-top:1px solid #eef0f4;padding-top:7px;margin-top:4px}

.ub-customer-command{border:1px solid #f0ded5;border-radius:22px;background:linear-gradient(135deg,#fff9f6,#fff);overflow:hidden;margin-bottom:24px}
.ub-command-main{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:22px}
.ub-command-icon{display:flex;width:48px;height:48px;align-items:center;justify-content:center;border-radius:15px;background:#fff3ed;color:#df5720;font-size:21px}
.ub-command-copy h4{margin:2px 0 3px;font-size:18px;letter-spacing:-.02em}
.ub-command-copy p{margin:0;color:#667085;font-size:13px}
.ub-command-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #f0ded5;background:rgba(255,255,255,.62)}
.ub-command-metric{display:flex;align-items:center;gap:10px;padding:15px 16px;color:#344054!important;border-right:1px solid #f0e8e3}
.ub-command-metric:last-child{border-right:0}
.ub-command-metric-icon{display:flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:10px;background:#fff3ed;color:#df5720}
.ub-command-metric-icon.is-success{background:#ecfdf3;color:#15956a}
.ub-command-metric-icon.is-waiting{background:#fffaeb;color:#b54708}
.ub-command-metric-icon.is-review{background:#fff6ed;color:#c4320a}
.ub-command-metric div{display:flex;flex-direction:column}
.ub-command-metric strong{font-size:18px;line-height:1;color:#172033}
.ub-command-metric span{font-size:10px;color:#667085;margin-top:4px}

.ub-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}
.ub-overview-card{display:flex;align-items:center;gap:11px;padding:17px;border:1px solid var(--ubcx-line);border-radius:17px;background:#fff;color:#344054!important;box-shadow:0 7px 22px rgba(16,24,40,.045)}
.ub-overview-card:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(16,24,40,.075)}
.ub-overview-icon{display:flex;width:39px;height:39px;align-items:center;justify-content:center;flex:none;border-radius:12px;background:#f7f8fa;color:#667085}
.ub-overview-card div{display:flex;flex-direction:column;min-width:0}
.ub-overview-card strong{font-size:20px;line-height:1.1;color:#172033}
.ub-overview-card span{font-size:11px;color:#667085;margin-top:3px}
.ub-overview-arrow{margin-left:auto;color:#c5cad3}

.ub-recent-panel{border:1px solid var(--ubcx-line);border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 10px 30px rgba(16,24,40,.045)}
.ub-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #eef0f4}
.ub-panel-head h3{font-size:18px;margin:2px 0 0}
.ub-panel-head>a{font-size:12px;font-weight:800;color:#df5720}
.ub-recent-list{display:flex;flex-direction:column}
.ub-recent-request{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:13px;padding:15px 20px;color:#344054!important;border-bottom:1px solid #f0f2f5}
.ub-recent-request:last-child{border-bottom:0}
.ub-recent-request:hover{background:#fffaf7}
.ub-request-type-icon{display:flex;width:39px;height:39px;align-items:center;justify-content:center;border-radius:12px;background:#f7f8fa;color:#667085}
.ub-recent-copy{min-width:0;display:flex;flex-direction:column}
.ub-recent-copy strong{font-size:13px;color:#172033;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ub-recent-copy small{font-size:11px;color:#667085;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ub-recent-offers{display:flex;flex-direction:column;text-align:center;min-width:42px}
.ub-recent-offers strong{font-size:15px;color:#172033}
.ub-recent-offers small{font-size:9px;color:#98a2b3}
.ub-row-arrow{color:#c5cad3}

.ub-status-pill,.ub-category-pill{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800}
.ub-category-pill{background:#f2f4f7;color:#475467}
.ub-status-pill.is-open{background:#fff4ed;color:#b93815}
.ub-status-pill.is-progress{background:#eff8ff;color:#175cd3}
.ub-status-pill.is-completed{background:#ecfdf3;color:#067647}
.ub-status-pill.is-cancelled{background:#f2f4f7;color:#667085}

.ub-filter-tabs{display:flex;gap:7px;overflow-x:auto;padding:4px;margin:0 0 20px;border:1px solid var(--ubcx-line);border-radius:15px;background:#fff;width:max-content;max-width:100%;scrollbar-width:none}
.ub-filter-tabs::-webkit-scrollbar{display:none}
.ub-filter-tabs a{white-space:nowrap;padding:8px 13px;border-radius:11px;font-size:12px;font-weight:800;color:#667085}
.ub-filter-tabs a.active{background:#172033;color:#fff}
.ub-request-list{display:flex;flex-direction:column;gap:14px}
.ub-request-card{border:1px solid var(--ubcx-line);border-radius:20px;background:#fff;box-shadow:0 8px 25px rgba(16,24,40,.045);overflow:hidden}
.ub-request-card:hover{border-color:#ead5cb;box-shadow:0 14px 32px rgba(16,24,40,.07)}
.ub-request-card-main{padding:20px}
.ub-request-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.ub-request-badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:9px}
.ub-request-card h3{font-size:18px;letter-spacing:-.018em;margin:0 0 8px}
.ub-request-meta{display:flex;gap:14px;flex-wrap:wrap;color:#667085;font-size:11px}
.ub-request-meta span{display:inline-flex;align-items:center;gap:5px}
.ub-offer-orb{display:flex;flex-direction:column;align-items:center;justify-content:center;width:62px;height:62px;flex:none;border:1px solid #e7eaf0;border-radius:18px;background:#f9fafb}
.ub-offer-orb.has-offer{background:#fff3ed;border-color:#ffd8c6}
.ub-offer-orb strong{font-size:20px;line-height:1;color:#172033}
.ub-offer-orb span{font-size:9px;color:#667085;margin-top:4px}
.ub-request-card .ub-request-state{margin:16px 0 0}
.ub-request-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px;padding-top:16px;border-top:1px solid #f0f2f5}
.ub-request-card-actions .btn{min-height:40px;display:inline-flex;align-items:center;justify-content:center}
.ub-pagination-wrap{margin-top:22px}

.ub-request-command{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;margin-bottom:20px;padding:18px 20px;border:1px solid #e7eaf0;border-radius:18px;background:#fff}
.ub-request-command-icon{display:flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:13px;background:#fff3ed;color:#df5720;font-size:19px}
.ub-request-command-copy h4{margin:1px 0 2px;font-size:16px}
.ub-request-command-copy p{margin:0;color:#667085;font-size:12px}
.ub-request-command.is-progress{border-color:#d1e9ff;background:#fafdff}
.ub-request-command.is-progress .ub-request-command-icon{background:#eff8ff;color:#175cd3}
.ub-request-command.is-completed{border-color:#d1fadf;background:#fbfffc}
.ub-request-command.is-completed .ub-request-command-icon{background:#ecfdf3;color:#067647}
.ub-request-command.is-cancelled{background:#f9fafb}
.ub-request-command.is-cancelled .ub-request-command-icon{background:#f2f4f7;color:#667085}

.ub-request-detail>.card,
.ub-request-detail>.freelancer-proposals{border-radius:18px!important;border-color:#e7eaf0!important;box-shadow:0 8px 25px rgba(16,24,40,.045)}
.ub-request-detail .pro-head{border-color:#eef0f4!important}
.ub-empty-state{padding:38px 24px;text-align:center}
.ub-empty-state>span{display:flex;margin:0 auto 13px;width:48px;height:48px;align-items:center;justify-content:center;border-radius:15px;background:#fff3ed;color:#df5720;font-size:20px}
.ub-empty-state h4{font-size:17px;margin-bottom:5px}
.ub-empty-state p{max-width:500px;margin:0 auto 16px;color:#667085;font-size:13px}
.ub-empty-state-lg{border:1px dashed #dfe3ea;border-radius:20px;background:#fff}

@media(max-width:1199.98px){
 .ub-command-metrics,.ub-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ub-command-metric:nth-child(2){border-right:0}
 .ub-command-metric:nth-child(-n+2){border-bottom:1px solid #f0e8e3}
}
@media(max-width:991.98px){
 .ub-page-head{align-items:flex-start}
 .ub-customer-sidebar{margin-bottom:22px}
}
@media(max-width:767.98px){
 .ub-page-head{flex-direction:column;align-items:stretch;margin-bottom:18px}
 .ub-page-head h1{font-size:25px}
 .ub-primary-cta{width:100%}
 .ub-command-main{grid-template-columns:auto 1fr;padding:18px}
 .ub-command-main>.btn{grid-column:1/-1;width:100%}
 .ub-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .ub-overview-card{padding:13px}
 .ub-recent-request{grid-template-columns:auto minmax(0,1fr) auto;padding:14px}
 .ub-recent-offers{display:none}
 .ub-recent-request .ub-status-pill{grid-column:2;justify-self:start}
 .ub-row-arrow{grid-column:3;grid-row:1/3}
 .ub-panel-head{padding:17px}
 .ub-panel-head>a{font-size:0}.ub-panel-head>a i{font-size:16px}
 .ub-request-card-main{padding:16px}
 .ub-request-card-top{gap:10px}
 .ub-offer-orb{width:54px;height:54px;border-radius:15px}
 .ub-request-card-actions{display:grid;grid-template-columns:1fr}
 .ub-request-command{grid-template-columns:auto 1fr;padding:16px}
 .ub-request-command>.btn{grid-column:1/-1;width:100%}
}
@media(max-width:479.98px){
 .ub-command-metrics{grid-template-columns:1fr 1fr}
 .ub-command-metric{padding:12px}
 .ub-command-metric strong{font-size:16px}
 .ub-overview-grid{grid-template-columns:1fr}
 .ub-customer-profile{padding:16px}
}
