@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Global Placeholder Sharpness */
::placeholder {
    color: #64748b !important;
    /* Slate 500 */
    opacity: 1 !important;
}

input::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

.mud-input-placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

html,
body {
    font-family: var(--font-sans);
    background-color: hsl(var(--background));
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.011em;
    color: #0f172a;
}

:root {
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --background: 210 20% 98%;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --sidebar-bg: #0f172a;
    --sidebar-active: #1e293b;
    --sidebar-text: #94a3b8;
    --sidebar-text-active: #ffffff;
}

a,
.btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
    text-align: start;
}

.heading-center {
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-center {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

/* Global table cell padding - applies to all grid/table cells app-wide */
.mud-data-grid .mud-table-cell,
.mud-table .mud-table-cell {
    padding: 12px !important;
}

.mud-data-grid th p.mud-typography-body2 {
    white-space: nowrap !important;
}

/* Override MudBlazor default uppercase on data grid column headers */
.mud-table-head .mud-table-cell,
.mud-table-head th {
    text-transform: capitalize !important;
    letter-spacing: 0.01em !important;
    font-weight: 700 !important;
    background-color: var(--slate-100) !important;
    background-color: rgb(243 244 246 / 50%) !important;
    color: var(--slate-700) !important;
}

.mud-data-grid .mud-table-cell .column-header {
    justify-content: center !important;
    text-align: center;
}

.file-upload {
    border: 2px solid var(--mud-palette-lines-inputs);
    border-radius: 8px;
}

.tbl-action-btn-set {
    display: inline-flex;
    gap: 8px;
    margin: auto;
    justify-content: center !important;
}

.table-header-center {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

td[data-label="Action"] {
    text-align: center;
}

/* Specific overrides for left-aligned grids */
.grid-header-left .mud-table-cell .column-header {
    justify-content: flex-start !important;
}

.grid-header-left .mud-table-cell {
    text-align: left !important;
}

/**2 april css start*/
:root {
    --mud-typography-body2-size: 14px;
    --mud-typography-body2-lineheight: 21px;
    --mud-typography-h5-size: 1.25rem;
    --mud-typography-h5-lineheight: 1.75rem;
    --mud-typography-h5-weight: 600;
    --bdr-1: #e5e7eb;
    --primary: 224 76% 48%;
    --secondary: 220 14% 96%;
    --mud-typography-subtitle2-size: 12.75px!important;
    --mud-typography-subtitle2-lineheight: 17px!important;
    --mud-typography-subtitle2-weight: normal!important;
}

body .mud-main-content {
    background: hsl(var(--background)) !important;
}

body .intake-page {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

body .intake-kicker {
    color: #575e6b;
    margin-bottom: 2px;
    font-size: var(--mud-typography-body2-size);
    line-height: var(--mud-typography-body2-lineheight);
}

body .mud-typography-h5 {
    color: #0f1729;
    font-size: var(--mud-typography-h5-size);
    line-height: var(--mud-typography-h5-lineheight);
    font-weight: 600 !important;
}

body .mud-tabs-tabbar {
    background: transparent;
    margin-bottom:16px;
}

body .mud-tabs-rounded.mud-elevation-2 {
    box-shadow: none
}

body .mud-tabs-tabbar-content {
    border-bottom: solid 1px var(--bdr-1);
}

body .mud-tab {
    padding: 10px 21px;
    height: auto;
    font-size: 15px;
    line-height: 1.25rem;
    text-transform: capitalize;
    min-width: 1px !important;
    background: transparent !important;
}

body .mud-tab:not(.mud-tab-active):hover {
    background: transparent;
    color: #000000 !important;
}

body .mud-input.mud-input-outlined.mud-input-adorned-start {
    background: hsl(var(--secondary));
}

body .mud-input.mud-input-outlined .mud-input-outlined-border {
    border: solid 1px var(--bdr-1);
}

body .mud-tab-panel .mud-paper,
body .mud-table {
    background: transparent;
    border: none;
}

body .mud-input.mud-input-outlined.mud-input-adorned-start .mud-icon-root.mud-svg-icon {
    width: 17px;
}

body .mud-table-toolbar {
    padding: 0px 0px 0px 0px !important;
    gap: 12px;
    height: auto;
    justify-content: space-between;
}

body .mud-table-container {
    background: #ffffff;
    margin-top: 16px;
}

body .mud-table-container table.mud-table-root thead.mud-table-head {
    background: rgb(243 244 246 / 50%);
}

body .mud-table-container table.mud-table-root {
    border: solid 1px #e5e7eb;
}

body .mud-data-grid th p.mud-typography-body2,
body .fw-semibold,
body .mud-chip>.mud-chip-content {
    font-weight: 500;
}

body .mud-table-bordered .mud-table-container .mud-table-root .mud-table-body .mud-table-row .mud-table-cell:not(:last-child) {
    border-right: none;
}

body .mud-button-outlined.mud-button-outlined-warning,
body button.mud-button-root.mud-button.mud-button-outlined {
    color: hsl(25 85% 45%);
    border-color: rgb(212 98 17 / 50%);
    background: rgb(249 250 251);
    text-transform: capitalize;
    white-space: nowrap;
}

body .mud-button-outlined.mud-button-outlined-warning:hover,
body button.mud-button-root.mud-button.mud-button-outlined:hover {
    background: rgb(253 238 227);
    color: hsl(220 15% 13%);
    border-color: #d4621180;
}

body .mud-data-grid .mud-table-cell:not(.text-center) .column-header {
    justify-content: start !important;
}

body .mud-button-text.mud-button-text-primary {
    text-transform: capitalize;
    text-decoration: underline;
}

body .mud-table-pagination-toolbar {
    background: #ffffff;
    border-radius: 0 0 6px 6px;
    border: solid 1px var(--bdr-1);
}

body .mud-table-pagination-actions button.mud-button-root {
    padding: 0;
}

body {
    --mud-palette-primary: rgb(29 79 215);
}


/* Login Page Unified Styles */
.login-wrapper {
    background-color: #f1f5f9;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.1rem !important;
}

.login-card {
    width: 100%;
    max-width: 500px;
    border-radius: 12px !important;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background-color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1) !important;
}

.login-top-strip {
    height: 4px;
    background-color: #1d4ed8;
    width: 100%;
}

.login-wrapper .mud-input-root,
.login-wrapper .mud-typography {
    font-size: 1.1rem !important;
}

.login-wrapper .font-semibold {
    font-weight: 600;
}

.login-wrapper .gray-700 {
    color: #334155;
}

.login-wrapper .gray-500 {
    color: #64748b;
}

.login-brand-logo {
    display: block;
    width: min(260px, 100%);
    height: auto;
    max-height: 10rem;
    object-fit: contain;
}

.login-wrapper .custom-textfield .mud-input-outlined-border {
    border-color: #e2e8f0 !important;
    border-radius: 8px !important;
    transition: border-color 0.2s, border-width 0.2s;
}

.login-wrapper .custom-textfield .mud-input-root.mud-input-state-focused .mud-input-outlined-border {
    border-color: #2563eb !important;
    border-width: 2px !important;
}

.login-wrapper .custom-textfield .mud-input-root:hover:not(.mud-input-state-focused) .mud-input-outlined-border {
    border-color: #64748b !important;
}

.login-button {
    background-color: #1d4ed8 !important;
    border-radius: 8px !important;
    font-weight: 700;
    font-size: 1.1rem !important;
    letter-spacing: 0.025em;
    box-shadow: none !important;
    color: white !important;
}


.login-button:hover {
    background-color: #1e40af !important;
}

/* Project Name Link Styling */
.project-name-link {
    color: #0f172a;
    /* Slate 900 */
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
}

/* Trigger color and underline when the row is hovered */
.mud-table-row:hover .project-name-link {
    color: #1976d2 !important;
    text-decoration: underline !important;
}

/* Tab Badge Styling */
.tab-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 8px;
    min-width: 24px;
    text-align: center;
    display: inline-block;
}

.ready-badge {
    background-color: #e0f2fe;
    color: #0369a1;
}

.pending-badge {
    background-color: #fff7ed;
    color: #c2410c;
}

.incomplete-badge {
    background-color: #f3f4f6;
    color: #374151;
}

.completed-badge {
    background-color: #dcfce7;
    color: #15803d;
}

.cancelled-badge {
    background-color: #fee2e2;
    color: #b91c1c;
}

/* Deposit Status Chips */
.status-chip {
    font-weight: 600 !important;
    border-radius: 4px !important;
    height: 24px !important;
    padding: 0 8px !important;
}

.status-active {
    background-color: #dcfce7 !important;
    /* Emerald 100 */
    color: #15803d !important;
    /* Emerald 700 */
}

.status-warning {
    background-color: #fff7ed !important;
    /* Orange 50 */
    color: #c2410c !important;
    /* Orange 700 */
}

/* Prototype TopBar Sync */
.mud-appbar .mud-icon-button {
    border-radius: 4px !important;
    width: 32px !important;
    height: 32px !important;
    padding: 4px !important;
}

.topbar-logo-image {
    display: block;
    height: 48px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

/* Prototype Sidebar Sync */
.mud-nav-menu {
    padding: 0 !important;
}

.sidebar-header {
    padding: 20px 16px 4px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;
    /* Slate 600 */
    opacity: 0.8;
}

.sidebar-divider {
    height: 1px;
    background-color: #334155;
    /* Slate 700 */
    margin: 12px 16px;
    opacity: 0.5;
}

.mud-drawer--closed .sidebar-divider {
    margin: 12px 8px;
}

.mud-drawer .mud-nav-link {
    color: #94a3b8 !important;
    /* Slate 400 */
    height: 34px !important;
    padding: 0 12px !important;
    margin: 1px 8px !important;
    border-radius: 0 !important;
    /* Sharp square corners */
    font-size: 13px !important;
    transition: background-color 0.1s, color 0.1s;
    display: flex !important;
    align-items: center !important;
    min-height: unset !important;
    text-decoration: none !important;
}

/* Also target the outer wrappers for safety */
.mud-nav-item,
.mud-nav-group,
.mud-list-item {
    margin: 0 !important;
    padding: 0 !important;
    min-height: unset !important;
    height: auto !important;
}

.mud-drawer .mud-nav-link:hover {
    background-color: #1e293b !important;
    color: #ffffff !important;
}

.mud-drawer .mud-nav-link.active {
    background-color: #1e293b !important;
    color: #ffffff !important;
    font-weight: 600;
}

.mud-drawer .mud-nav-link .mud-nav-link-icon-default {
    color: inherit !important;
    margin-right: 6px !important;
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
}

/* Centering for Mini Drawer */
.mud-drawer--closed.mud-drawer--mini .mud-nav-link,
.mud-drawer--closed .mud-nav-link,
.mud-drawer--closed .mud-nav-group,
.mud-drawer--closed .mud-nav-group-button {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 64px !important;
    max-width: 64px !important;
    height: 40px !important;
    /* Fixed height for alignment */
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
}

.mud-drawer--closed .mud-nav-link-text,
.mud-drawer--closed .mud-nav-group-text,
.mud-drawer--closed .mud-nav-group-expand,
.mud-drawer--closed .sidebar-header {
    display: none !important;
}

.mud-drawer--closed .mud-icon-root {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

.mud-drawer--closed .mud-nav-group .mud-icon-root.mud-svg-icon:last-child {
    display: none !important;
}

.mud-drawer .mud-nav-group .mud-nav-group-button {
    color: #94a3b8 !important;
    height: 34px !important;
    padding: 0 12px !important;
    margin: 1px 8px !important;
    border-radius: 0 !important;
    /* Sharp square corners */
    font-size: 13px !important;
    min-height: unset !important;
    display: flex !important;
    align-items: center !important;
}

.mud-drawer .mud-nav-group .mud-nav-group-button:hover {
    background-color: #1e293b !important;
    color: #ffffff !important;
}

.ml-4,
.mx-4 {
    margin-left: 0px !important;
}

/**setting user page css */
body .mud-typography-subtitle2.subtitle {
    width: 100%;
    padding-left: 30px;
    color: hsl(220 10% 38%);
    font-size: var(--mud-typography-subtitle2-size,12.75px);
    line-height: var(--mud-typography-subtitle2-lineheight,17px);
    font-weight: var(--mud-typography-subtitle2-weight,normal);
}

/* Design review (SalesRep) */
.design-review-muted {
    color: #64748b;
}

.design-review-detail-shell {
    padding: 16px;
    border-radius: 10px;
}

.design-review-messaging-board-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 10px 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    background: rgba(241, 245, 249, 0.65);
    border: 1px solid #e2e8f0;
}

.design-review-messaging-board-bar-title {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    padding-right: 14px;
    margin-right: 4px;
    border-right: 1px solid #e2e8f0;
}

.design-review-board-option-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 28px;
    flex: 1;
    min-width: 0;
}

.design-review-board-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    margin: 0;
}

.design-review-board-checkbox {
    margin-top: 2px;
}

.design-review-board-option-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.design-review-board-option-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: #64748b;
    transition: color 0.15s ease;
}

.design-review-board-option-title--on {
    color: var(--mud-palette-primary);
}

.design-review-board-option-desc {
    font-size: 9px;
    line-height: 1.2;
    color: #94a3b8;
}

.design-review-board-active-count {
    flex-shrink: 0;
    margin-left: auto;
    font-size: 10px;
    font-style: italic;
    color: #94a3b8;
}

.design-review-messaging-no-boards {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 32px 24px;
    text-align: center;
    border-style: dashed !important;
    background: rgba(248, 250, 252, 0.6);
}

.design-review-thread {
    display: flex;
    flex-direction: column;
    height: clamp(480px, calc(100vh - 260px), 820px);
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.85);
    border-color: rgba(226, 232, 240, 0.85) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.design-review-thread-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    flex-shrink: 0;
}

.design-review-thread-title {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    font-size: 11px;
}

.design-review-thread-title--accent {
    color: #059669;
}

.design-review-thread-participant {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
}

.design-review-thread-body {
    flex: 1;
    min-height: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.design-review-thread-messages-scroll {
    flex: 1;
    min-height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.design-review-message-list-loader {
    flex-shrink: 0;
    padding-top: 4px;
}

.design-review-message-inline-refresh {
    flex-shrink: 0;
    padding-top: 8px;
    margin-top: 4px;
}

.design-review-progress-linear-inline {
    height: 2px !important;
    border-radius: 999px;
    overflow: hidden;
    max-width: 120px;
    align-self: flex-start;
}

.design-review-progress-linear-slim {
    height: 3px !important;
    border-radius: 999px;
    overflow: hidden;
}

.design-review-progress-linear-slim .mud-progress-linear-bar {
    border-radius: 999px;
}

.design-review-bubble {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.15s ease;
}

.design-review-bubble:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.design-review-bubble--sales {
    background: rgba(239, 246, 255, 0.65);
    border-color: rgba(191, 219, 254, 0.85);
}

.design-review-bubble-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.design-review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.design-review-avatar--sales {
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.design-review-avatar--internal {
    background: rgba(209, 250, 229, 0.65);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #047857;
}

.design-review-avatar--designer {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}

.design-review-bubble-identity {
    flex: 1;
    min-width: 0;
}

.design-review-bubble-name {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.design-review-bubble-role {
    margin: 4px 0 0;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.design-review-bubble-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.design-review-copy-btn {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 6px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.design-review-copy-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.design-review-copy-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.design-review-copy-btn:hover .design-review-copy-label {
    opacity: 1;
}

.design-review-bubble-time {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
}

.design-review-bubble-body {
    margin: 0;
    padding: 0;
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    resize: none;
    overflow: hidden;
    display: block;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.55;
    color: #0f172a;
    white-space: pre-wrap;
}

.design-review-attachment-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(241, 245, 249, 0.95);
    width: 100%;
}

.design-review-attachment-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
    flex: 0 1 auto;
    width: fit-content;
    max-width: min(280px, 100%);
    min-width: 0;
}

.design-review-attachment-doc-icon {
    color: #94a3b8 !important;
    flex-shrink: 0;
}

.design-review-attachment-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    width: 100%;
    max-width: 100%;
}

.design-review-attachment-info--static {
    cursor: default;
}

.design-review-attachment-dl-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 6px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    color: #94a3b8;
    line-height: 1;
}

.design-review-attachment-dl-btn:hover {
    color: #64748b;
    background: rgba(148, 163, 184, 0.2);
}

.design-review-attachment-name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.design-review-attachment-size {
    font-size: 10px;
    font-weight: 500;
    color: #64748b;
}


.design-review-thread-compose {
    border-top: 1px solid #e2e8f0;
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    flex-shrink: 0;
}

.design-review-compose-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.design-review-reply-label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
}

.design-review-thread-compose--designer .design-review-reply-dot {
    background: #0f172a;
}

.design-review-reply-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
}

.design-review-file-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.design-review-attach-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    font: inherit;
    transition: background 0.15s ease, color 0.15s ease;
}

.design-review-attach-btn--client {
    background: rgba(209, 250, 229, 0.55);
    color: #059669;
}

.design-review-attach-btn--client:hover {
    background: rgba(167, 243, 208, 0.75);
    color: #047857;
}

.design-review-attach-btn--designer {
    background: #f8fafc;
    color: #64748b;
}

.design-review-attach-btn--designer:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.design-review-attach-text {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.design-review-pending-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 80px;
    overflow-y: auto;
    padding-right: 2px;
}

.design-review-pending-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 6px 5px 10px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 700;
    max-width: 100%;
}

.design-review-pending-chip--client {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    color: #047857;
}

.design-review-pending-chip--designer {
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #334155;
}

.design-review-pending-chip-icon {
    flex-shrink: 0;
}

.design-review-pending-chip-name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.design-review-pending-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: none;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    color: inherit;
    opacity: 0.65;
}

.design-review-pending-chip--client .design-review-pending-chip-remove:hover {
    background: rgba(16, 185, 129, 0.2);
    opacity: 1;
}

.design-review-pending-chip--designer .design-review-pending-chip-remove:hover {
    background: rgba(15, 23, 42, 0.08);
    opacity: 1;
}

.design-review-compose-field-wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.design-review-compose-field-wrap .design-review-compose-field {
    flex: 1;
    min-width: 0;
}

.design-review-compose-field-wrap .mud-input-control {
    width: 100%;
}

.design-review-send-fab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    transition: opacity 0.15s ease, transform 0.1s ease;
}

.design-review-send-fab:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.design-review-send-spinner {
    width: 22px !important;
    height: 22px !important;
}

.design-review-send-fab--client {
    background: #059669 !important;
    color: #fff !important;
}

.design-review-send-fab--client:hover:not(:disabled) {
    background: #047857 !important;
}

.design-review-send-fab--client:disabled {
    opacity: 0.45;
}

.design-review-send-fab--designer {
    background: #0f172a !important;
    color: #fff !important;
}

.design-review-send-fab--designer:hover:not(:disabled) {
    background: #1e293b !important;
}

.design-review-send-fab--designer:disabled {
    opacity: 0.45;
}

.design-review-send-fab--client .mud-icon-root,
.design-review-send-fab--designer .mud-icon-root {
    color: #fff !important;
}

.design-review-send-fab .design-review-send-spinner circle {
    stroke: #fff !important;
}

.design-review-assets {
    padding: 12px;
}

.design-review-status-illustration-card {
    margin-bottom: 4px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: var(--mud-palette-surface, #fafafa);
}

.design-review-status-illustration-icon {
    color: rgb(71 85 105);
    font-size: 2.5rem !important;
}

.design-review-status-illustration-title {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgb(30 41 59);
}

.design-review-status-illustration-message {
    margin: 0;
    max-width: 26rem;
    font-size: 13px;
    line-height: 1.45;
    color: rgb(71 85 105);
}

.design-review-empty {
    min-height: 520px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px;
}

/* Design Request Detail card (Design Assets tab) */
.design-request-detail-card {
    padding: 16px 18px;
    border-radius: 8px;
    background: var(--mud-palette-surface, #fff);
}

.design-request-detail-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.design-request-detail-card__header-icon {
    color: rgb(51 65 85);
}

.design-request-detail-card__header-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(30 41 59);
}

.design-request-detail-card__section {
    margin-bottom: 16px;
}

.design-request-detail-card__section:last-child {
    margin-bottom: 0;
}

.design-request-detail-card__section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(148 163 184);
    margin: 0 0 8px;
}

.design-request-detail-card__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.design-request-detail-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.design-request-detail-pill--filled {
    background: rgb(219 234 254);
    color: rgb(29 78 216);
    border: 1px solid transparent;
}

.design-request-detail-pill--outlined {
    background: transparent;
    color: rgb(15 23 42);
    border: 1px solid rgb(226 232 240);
}

.design-request-detail-card__color-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.design-request-detail-color-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgb(241 245 249);
    font-size: 13px;
}

.design-request-detail-color-row:last-child {
    border-bottom: none;
}

.design-request-detail-color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.design-request-detail-color-swatch--light {
    border: 1px solid rgb(203 213 225);
}

.design-request-detail-color-name {
    flex: 1;
    min-width: 0;
    color: rgb(15 23 42);
    font-weight: 500;
}

.design-request-detail-color-hex {
    font-variant-numeric: tabular-nums;
    color: rgb(100 116 139);
    font-size: 12px;
}

.design-request-detail-notes {
    background: rgb(248 250 252);
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 13px;
    font-style: italic;
    line-height: 1.5;
    color: rgb(51 65 85);
}

.design-request-detail-asset-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.design-request-detail-asset-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgb(241 245 249);
    font-size: 13px;
}

.design-request-detail-asset-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.design-request-detail-asset-main--action {
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    padding: 0;
}

.design-request-detail-asset-download-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 6px;
    border: none;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    color: rgb(100 116 139);
    line-height: 1;
}

.design-request-detail-asset-download-btn:hover {
    color: rgb(71 85 105);
    background: rgba(148, 163, 184, 0.2);
}

.design-request-detail-asset-row:last-child {
    border-bottom: none;
}

.design-request-detail-asset-icon {
    color: rgb(148 163 184);
    flex-shrink: 0;
}

.design-request-detail-asset-name {
    flex: 1;
    min-width: 0;
    font-weight: 500;
    color: rgb(15 23 42);
}

.design-request-detail-asset-size {
    font-size: 12px;
    color: rgb(100 116 139);
    font-variant-numeric: tabular-nums;
}
body .tbl-search {
    max-width: 340px;
}

    body .tbl-search input[type="text"] {
        font-weight: 400;
        font-size: var(--mud-typography-subtitle2-size,12.75px);
    }
body .table-w-action .mud-card {
    background: none;
    border: none;
}
body .mud-button.secondary-cta,
body .mud-button.primary-cta {
    font-size: var(--mud-typography-subtitle2-size,12.75px);
    line-height: var(--mud-typography-subtitle2-lineheight,17px);
    font-weight: var(--mud-typography-subtitle2-weight,normal);
    text-transform: capitalize;
    letter-spacing: 0px;
    box-shadow: none;
    border-radius: 4px;
    height: 34px;
}
    body .mud-button.secondary-cta span.mud-button-icon-start svg,
    body .mud-button.primary-cta span.mud-button-icon-start svg {
        width: 13px;
        height: 13px;
    }
body .tbl-action-btn-set.table-action-cta-style-01 button.mud-button-root.mud-button.mud-button-outlined,
body .tbl-action-btn-set.table-action-cta-style-01 button.mud-button-root.mud-icon-button {
    border: none;
    background: transparent;
    width: 33px;
    transition: all .3s ease-in;
    height: 33px;
    border-radius: 6px;
}
    body .tbl-action-btn-set.table-action-cta-style-01 button.mud-button-root.mud-button.mud-button-outlined span.mud-icon-button-label svg,
    body .tbl-action-btn-set.table-action-cta-style-01 button.mud-button-root.mud-icon-button span.mud-icon-button-label svg {
        fill: #333;
        width: 16px;
    }
    body .tbl-action-btn-set.table-action-cta-style-01 button.mud-button-root.mud-icon-button.mud-error-text span.mud-icon-button-label svg,
    body .tbl-action-btn-set.table-action-cta-style-01 button.mud-button-root.mud-icon-button.mud-button-outlined-error span.mud-icon-button-label svg {
        fill: rgb(244, 67, 54);
    }
        body .tbl-action-btn-set.table-action-cta-style-01 button.mud-button-root.mud-button.mud-button-outlined:hover,
        body .tbl-action-btn-set.table-action-cta-style-01 button.mud-button-root.mud-icon-button:hover {
            background: #f3f4f6;
        }
body .mud-table-hover .mud-table-container .mud-table-root .mud-table-body .mud-table-row:hover {
    background-color: rgb(243 244 246 / 30%);
}
body .mud-table .mud-table-body .mud-table-row {
    cursor: pointer;
}
body .mud-table .mud-table-cell span.column-header p,
body .mud-table .mud-table-cell span.column-header {
    font-weight: 500 !important;
    font-size: 14.875px;
    color: rgb(87, 94, 107);
}
/*body .mud-drawer.mud-drawer-temporary.mud-drawer--open.center-drawer {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    animation: none;
}
body .mud-drawer.mud-drawer-temporary.mud-drawer--open.center-drawer {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    animation: none;
}*/

body .gap-3 {
    gap: .75rem;
}

body .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body .grid {
    display: grid;
}
.justify-content-between{
    justify-content:space-between;
}
body .custom-modal-style-01 .mud-typography-subtitle2 {
    padding-left: 0;
    color: rgb(15 23 41);
    font-size: var(--mud-typography-subtitle2-size,12.75px);
    line-height: var(--mud-typography-subtitle2-lineheight,17px);
    font-weight: 500 !important;
    margin-bottom: 5px;
}
    body .custom-modal-style-01 .mud-typography-subtitle2 span.required-star {
        color: #f00;
    }
body .custom-modal-style-01 .mud-input-control:not(.textarea-style) input[type="text"],
body .custom-modal-style-01 .mud-input-control input[type="email"],
body .custom-modal-style-01 .mud-input-control:not(.textarea-style) .mud-input-control-input-container .mud-input {
    background: rgb(243 244 246);
    height: 38px;
    box-sizing: border-box;
    font-size: 12.75px;
    font-weight: 400;
}
body .custom-modal-style-01 .mud-input-control.textarea-style .mud-input-control-input-container .mud-input textarea {
    box-sizing: border-box;
    font-size: 12.75px;
    font-weight: 400;
    background: rgb(243 244 246);
    mask-image:initial;
}

    .mud-popover .mud-list .mud-list-item .mud-list-item-text {
        padding: 2px 10px;
        font-size: 15px;
    }
    .mud-popover .mud-list .mud-list-item .mud-list-item-text .mud-typography-body1,
    body .custom-modal-style-01 .mud-typography-body1 {
        font-size: 14px;
        color: rgb(15 23 41)
    }
body .custom-modal-style-01 .mud-ripple-checkbox {
    padding-left: 0px;
    padding-right: 5px;
    color: rgb(15 23 41)
}
body .custom-modal-style-01 .mud-input-control-helper-container.px-2 {
    padding-left: 0px !important;
}
body .mud-table-bordered .mud-table-container .mud-table-root .mud-table-body .mud-table-row .mud-table-cell .input-sm-style {
    margin:0px;
}
body .mud-table-bordered .mud-table-container .mud-table-root .mud-table-body .mud-table-row .mud-table-cell,
body .mud-table-bordered .mud-table-container .mud-table-root .mud-table-head .mud-table-row .mud-table-cell {
    padding: 10px 16px !important;
}
body .input-sm-style .mud-input input {
    background: hsl(210 20% 98%);
    padding: 8px 12px;
    height: 34px;
    border-radius: 4px;
    border-color: hsl(220 13% 91%);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    box-sizing: border-box;
}
body .mud-tabs.mud-tabs-rounded.tab-panel-style-02 .mud-tabs-tabbar {
    margin: 0;
    border: solid 1px hsl(220 13% 91%);
    padding: 4px;
    background: hsl(220 14% 96% / .5);
}
    body .mud-tabs.mud-tabs-rounded.tab-panel-style-02 .mud-tabs-tabbar .mud-tab {
        padding: 6px 17px;
        font-size: 13px;
        line-height: 17px;
        letter-spacing: 1px;
        border-radius: 4px;
        background: #ffffff;
        min-height: 1px;
        --tw-text-opacity: 1;
        font-weight:800;
        text-transform:uppercase;
        color: rgb(148 163 184 / var(--tw-text-opacity, 1));
    }
        body .mud-tabs.mud-tabs-rounded.tab-panel-style-02 .mud-tabs-tabbar .mud-tab:hover {
            --tw-text-opacity: 1;
            color: rgb(71 85 105 / var(--tw-text-opacity, 1));
        
    }
body .mud-tabs.mud-tabs-rounded.tab-panel-style-02 .mud-tabs-tabbar .mud-tab.mud-tab-active {
    background: #ffffff !important;
    --tw-text-opacity: 1;
    color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}

    body .mud-tabs.mud-tabs-rounded.tab-panel-style-02 .mud-tabs-tabbar .mud-tabs-tabbar-inner {
        min-height: 1px;
    }
body .mud-tabs.mud-tabs-rounded.tab-panel-style-02 .mud-tab-slider.mud-tab-slider-horizontal {
    display: none;
}
body .mud-tabs.mud-tabs-rounded.tab-panel-style-02 .mud-tabs-tabbar-content {
    border: none;
}

body .badge-style-01 .mud-chip.mud-chip-size-small{
    margin:0px;
}
body .badge-style-01 .mud-chip.mud-chip-size-small {
    border-radius: 4px;
    font-size: 10px;
    height: 24px;
    padding: 0 8px;
    --tw-bg-opacity: 1;
    background-color: rgb(236 253 245 / var(--tw-bg-opacity, 1));
    font-weight: 900;
    --tw-border-opacity: 1;
    border: rgb(209 250 229 / var(--tw-border-opacity, 1)) solid 1px;
    text-transform: uppercase;
}
    body .badge-style-01 .mud-chip.mud-chip-size-small .mud-chip-content {
        font-weight: 600;
        --tw-text-opacity: 1;
        color: rgb(5 150 105 / var(--tw-text-opacity, 1));
    }