html {
  width: 100%;
}

body {
  overflow-x: hidden !important;
}

body.show-spinner>main {
  overflow: hidden !important;
}

/* Hide everything under body tag */
body.show-spinner>* {
  opacity: 0;
}

/* Spinner */
body.show-spinner::after {
  content: " ";
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border-top-color: rgba(0, 0, 0, 0.3);
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  position: fixed;
  z-index: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

/* Login: liquid glass */
body.login-page {
  min-height: 100%;
  color: #f5f7f5;
  background: #16231d;
}

body.login-page.show-spinner > main {
  overflow: auto !important;
}

body.login-page .fixed-background {
  overflow: hidden;
  background-color: #73777a;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .2) 0, rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 88% 82%, rgba(35, 40, 44, .3) 0, rgba(35, 40, 44, 0) 34%),
    linear-gradient(135deg, #85898c 0%, #676b6f 48%, #555a5e 100%);
}

body.login-page .fixed-background::before,
body.login-page .fixed-background::after {
  content: '';
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 42%;
  transform: rotate(-18deg);
  pointer-events: none;
}

body.login-page .fixed-background::before {
  top: -28%;
  left: -8%;
  width: 58vw;
  height: 86vh;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0));
  box-shadow: 0 0 90px rgba(255, 255, 255, .08);
}

body.login-page .fixed-background::after {
  right: -12%;
  bottom: -30%;
  width: 62vw;
  height: 78vh;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0), rgba(18, 23, 27, .18));
  box-shadow: 0 0 100px rgba(18, 23, 27, .14);
}

body.login-page main {
  position: relative;
  z-index: 1;
}

.login-page .auth-card {
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 28px;
  background: rgba(255, 255, 255, .14);
  box-shadow: 0 24px 70px rgba(3, 20, 12, .35), inset 0 1px rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  backdrop-filter: blur(24px) saturate(130%);
}

.login-page .auth-card .image-side,
.login-page .auth-card .form-side {
  width: 50%;
  padding: 64px;
}

.login-page .auth-card .image-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 540px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .18), transparent 32%),
    linear-gradient(160deg, rgba(80, 86, 90, .62), rgba(35, 40, 44, .86));
}

.login-page .auth-card .image-side .h2 {
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.03em;
}

.login-page .auth-card .image-side hr {
  width: 56px;
  margin: 0 0 20px;
  border-top: 2px solid rgba(255, 255, 255, .7);
}

.login-page .auth-card .login-brand-image {
  display: block;
 width: min(100%, 360px);
height: 343px;
  margin: 0 0 34px;
  object-fit: contain;
  object-position: left center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(17, 23, 27, .22), inset 0 1px rgba(255, 255, 255, .28);
  opacity: .94;
}

.login-page .auth-card .form-side {
  background: rgba(255, 255, 255, .22);
}

.login-page .auth-card .logo-single {
  margin-bottom: 34px;
}

.login-page .auth-card h6,
.login-page .auth-card label {
  color: #fff;
}

.login-page .auth-card h6 {
  font-size: 1.35rem;
  font-weight: 700;
}

.login-page .auth-card .auth-help-text {
  margin: -8px 0 24px;
  color: rgba(255, 255, 255, .76);
  font-size: .9rem;
  line-height: 1.55;
}

.login-page .auth-card .form-group {
  margin-bottom: 22px;
}

.login-page .auth-card .form-control {
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px rgba(255, 255, 255, .12);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.login-page .auth-card .form-control::placeholder {
  color: rgba(255, 255, 255, .62);
}

.login-page .auth-card .form-control:focus {
  border-color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .2);
  box-shadow: 0 0 0 4px rgba(174, 220, 190, .2);
}

.login-page .auth-card .form-check-label {
  color: rgba(255, 255, 255, .82);
}

.login-page .auth-card .form-check-input {
  margin-top: .2rem;
  background-color: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .5);
}

.login-page .auth-card .form-check-input:checked {
  background-color: #6e9d78;
  border-color: #6e9d78;
}

.login-page .auth-card .btn-primary {
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 14px;
  background: linear-gradient(135deg, #78a882, #4f7f5d);
  box-shadow: 0 8px 20px rgba(27, 65, 39, .3);
}

.login-page .auth-card .btn-primary:hover,
.login-page .auth-card .btn-primary:focus {
  background: linear-gradient(135deg, #8eba98, #5b8d67);
  box-shadow: 0 10px 24px rgba(27, 65, 39, .42);
}

.login-page .auth-card .btn-link {
  color: rgba(255, 255, 255, .86);
}

.login-page .auth-card .alert {
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.login-page .auth-card .invalid-feedback {
  color: #ffd1d1;
}

@media (max-width: 991px) {
  .login-page .auth-card .image-side,
  .login-page .auth-card .form-side {
    width: 100%;
    padding: 42px;
  }

  .login-page .auth-card .image-side {
    min-height: 250px;
  }
}

@media (max-width: 575px) {
  .login-page .auth-card {
    border-radius: 22px;
  }

  .login-page .auth-card .image-side,
  .login-page .auth-card .form-side {
    padding: 30px 24px;
  }
}

/* Dashboard: liquid glass system */
body#app-container {
  min-height: 100vh;
  color: #26332c;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, .95), transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(185, 205, 193, .42), transparent 32%),
    linear-gradient(135deg, #eef2ef 0%, #dfe7e2 52%, #d5ded9 100%);
}

body#app-container::before,
body#app-container::after {
  content: '';
  position: fixed;
  z-index: 0;
  width: 38vw;
  height: 42vh;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 38%;
  pointer-events: none;
  transform: rotate(18deg);
}

body#app-container::before {
  top: -24vh;
  right: -10vw;
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 0 80px rgba(255, 255, 255, .26);
}

body#app-container::after {
  bottom: -26vh;
  left: -10vw;
  background: rgba(120, 148, 132, .1);
  box-shadow: 0 0 90px rgba(95, 122, 106, .12);
}

#app-container > .navbar,
#app-container > .menu,
#app-container > main,
#app-container > .page-footer {
  position: relative;
  z-index: 1;
}

#app-container > .navbar {
  border-bottom: 1px solid rgba(255, 255, 255, .56);
  background: rgba(245, 248, 246, .72);
  box-shadow: 0 8px 28px rgba(53, 73, 61, .08);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
}

#app-container > .navbar .navbar-logo,
#app-container > .navbar .menu-button,
#app-container > .navbar .menu-button-mobile,
#app-container > .navbar .header-icon,
#app-container > .navbar .user .name {
  color: #314238;
}

#app-container > .navbar .user img {
  border: 2px solid rgba(255, 255, 255, .8);
  box-shadow: 0 4px 12px rgba(45, 67, 53, .16);
}

#app-container > .menu {
  border-right: 1px solid rgba(255, 255, 255, .38);
  background: rgba(224, 232, 226, .62);
  box-shadow: 8px 0 28px rgba(53, 73, 61, .06);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
}

#app-container > .menu a {
  border-radius: 12px;
  color: #3d4f43;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

#app-container > .menu a:hover,
#app-container > .menu li.active > a {
  color: #294a34;
  background: rgba(255, 255, 255, .56);
  box-shadow: inset 0 1px rgba(255, 255, 255, .62), 0 5px 16px rgba(63, 91, 70, .08);
  transform: translateX(2px);
}

#app-container > main {
  background: transparent;
}

#app-container > main .card {
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 20px;
  background: rgba(255, 255, 255, .56);
  box-shadow: 0 14px 34px rgba(61, 82, 68, .1), inset 0 1px rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

#app-container > main .card:hover {
  box-shadow: 0 18px 40px rgba(61, 82, 68, .14), inset 0 1px rgba(255, 255, 255, .8);
}

#app-container > main .form-control,
#app-container > main input:not([type='hidden']):not([type='checkbox']):not([type='radio']):not([type='file']),
#app-container > main select,
#app-container > main textarea {
  min-height: 42px;
  border: 1px solid rgba(92, 113, 99, .28);
  border-radius: 12px;
  color: #2d3b32;
  background: rgba(255, 255, 255, .5);
  box-shadow: inset 0 1px rgba(255, 255, 255, .72), 0 4px 12px rgba(50, 72, 57, .04);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#app-container > main .form-control:focus,
#app-container > main input:not([type='hidden']):not([type='checkbox']):not([type='radio']):not([type='file']):focus,
#app-container > main select:focus,
#app-container > main textarea:focus {
  border-color: rgba(83, 129, 94, .72);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 0 0 4px rgba(115, 164, 124, .18), inset 0 1px rgba(255, 255, 255, .86);
  outline: 0;
}

#app-container > main .form-control::placeholder,
#app-container > main input::placeholder,
#app-container > main textarea::placeholder {
  color: #829088;
}

#app-container > main .table {
  color: #33463a;
}

#app-container > main .table thead th {
  border-bottom: 1px solid rgba(92, 113, 99, .2);
  color: #52665a;
  background: rgba(255, 255, 255, .28);
}

#app-container > main .btn-primary {
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 12px;
  background: linear-gradient(135deg, #6f9e78, #4f7b5b);
  box-shadow: 0 7px 16px rgba(58, 99, 67, .2);
}

#app-container > main .btn-primary:hover,
#app-container > main .btn-primary:focus {
  background: linear-gradient(135deg, #82ad8a, #5b8b66);
  box-shadow: 0 10px 22px rgba(58, 99, 67, .28);
}

#app-container > .page-footer {
  border-top: 1px solid rgba(255, 255, 255, .42);
  background: rgba(237, 243, 239, .45);
}

/* Dashboard neutral gray refinement */
body#app-container {
  --theme-color-1: #687077;
  --theme-color-2: #80868b;
  --theme-color-3: #9aa0a4;
  --theme-color-4: #4b5156;
  --theme-color-5: #c8cdd0;
  --theme-color-6: #747b80;
  --primary-color: #4c5358;
  color: #343a3f;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, .92), transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(160, 166, 170, .3), transparent 32%),
    linear-gradient(135deg, #eef0f1 0%, #dfe2e4 52%, #d2d6d8 100%);
}

body#app-container::before,
body#app-container::after {
  border-radius: 24px;
  border-color: rgba(255, 255, 255, .42);
}

body#app-container::before {
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 80px rgba(255, 255, 255, .2);
}

body#app-container::after {
  background: rgba(82, 89, 94, .08);
  box-shadow: 0 0 90px rgba(82, 89, 94, .1);
}

#app-container > .navbar {
  border-bottom-color: rgba(255, 255, 255, .68);
  background: rgba(243, 245, 246, .78);
  box-shadow: 0 8px 28px rgba(58, 64, 69, .1);
}

#app-container > .navbar .navbar-logo,
#app-container > .navbar .menu-button,
#app-container > .navbar .menu-button-mobile,
#app-container > .navbar .header-icon,
#app-container > .navbar .user .name {
  color: #3e464b;
}

#app-container > .menu {
  border-right-color: rgba(255, 255, 255, .54);
  background: transparent;
  box-shadow: 8px 0 28px rgba(58, 64, 69, .08);
}

#app-container > .menu .main-menu,
#app-container > .menu .sub-menu {
  border-color: rgba(255, 255, 255, .58);
  background: rgba(218, 222, 224, .88);
  box-shadow: 0 8px 26px rgba(58, 64, 69, .1);
  -webkit-backdrop-filter: blur(18px) saturate(105%);
  backdrop-filter: blur(18px) saturate(105%);
}

#app-container > .menu .main-menu ul li a {
  min-height: 88px;
  height: auto;
  padding: 12px 7px;
  border-bottom-color: rgba(96, 104, 110, .12);
  color: #465057;
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
}

#app-container > .menu .main-menu ul li a:hover,
#app-container > .menu .main-menu ul li a:focus,
#app-container > .menu .main-menu ul li.active a {
  color: #30383e;
  background: rgba(255, 255, 255, .58);
}

#app-container > .menu .main-menu ul li.active:after {
  background: #687077;
}

#app-container > .menu .main-menu ul li i {
  color: #687077;
}

#app-container > .menu .sub-menu a {
  color: #4a5359;
}

#app-container > .menu .sub-menu a:hover,
#app-container > .menu .sub-menu a:focus,
#app-container > .menu .sub-menu li.active a {
  color: #30383e;
  background: rgba(255, 255, 255, .52);
}

#app-container > main .card {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 14px 34px rgba(58, 64, 69, .12), inset 0 1px rgba(255, 255, 255, .8);
}

#app-container > main .form-control,
#app-container > main input:not([type='hidden']):not([type='checkbox']):not([type='radio']):not([type='file']),
#app-container > main select,
#app-container > main textarea {
  border-color: rgba(87, 96, 102, .28);
  color: #343c41;
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 1px rgba(255, 255, 255, .82), 0 4px 12px rgba(58, 64, 69, .05);
}

#app-container > main .form-control:focus,
#app-container > main input:not([type='hidden']):not([type='checkbox']):not([type='radio']):not([type='file']):focus,
#app-container > main select:focus,
#app-container > main textarea:focus {
  border-color: rgba(88, 101, 110, .72);
  box-shadow: 0 0 0 4px rgba(110, 121, 128, .18), inset 0 1px rgba(255, 255, 255, .92);
}

#app-container > main .table {
  color: #3f494f;
}

#app-container > main .table thead th {
  color: #59636a;
  background: rgba(255, 255, 255, .34);
}

#app-container > main .btn-primary {
  background: linear-gradient(135deg, #737c82, #535c62);
  box-shadow: 0 7px 16px rgba(58, 64, 69, .2);
}

#app-container > main .btn-primary:hover,
#app-container > main .btn-primary:focus {
  background: linear-gradient(135deg, #858e94, #626c72);
  box-shadow: 0 10px 22px rgba(58, 64, 69, .28);
}

#app-container > .page-footer {
  border-top-color: rgba(255, 255, 255, .55);
  background: rgba(232, 235, 237, .52);
}

/* Dashboard cards and uniform actions */
#app-container > main .dashboard-module-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 22px;
  color: #3d474d;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 14px 30px rgba(58, 64, 69, .1), inset 0 1px rgba(255, 255, 255, .84);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

#app-container > main .dashboard-module-card:hover,
#app-container > main .dashboard-module-card:focus {
  color: #2f383e;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 20px 38px rgba(58, 64, 69, .16), inset 0 1px rgba(255, 255, 255, .92);
  transform: translateY(-4px);
  outline: none;
}

.dashboard-module-card__content {
  min-height: 320px;
  padding: 34px 24px 28px;
  text-align: center;
}

.dashboard-module-card__content img {
  width: 240px;
  max-width: 80%;
  height: 190px;
  margin: 0 auto 22px;
  object-fit: contain;
}

.dashboard-module-card__content p {
  color: #68737a;
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.dashboard-module-card__content h3 {
  margin: 0;
  color: #303a40;
  font-size: 1.2rem;
  font-weight: 700;
}

#app-container > main .dashboard-link-card {
  display: block;
  height: 100%;
  color: #3f494f;
  text-decoration: none;
}

#app-container > main .dashboard-link-card .card-body {
  min-height: 104px;
  gap: 16px;
  padding: 20px 18px;
}

#app-container > main .dashboard-link-card h6 {
  flex: 1 1 auto;
  color: #424d53;
  font-size: .86rem;
  line-height: 1.35;
}

#app-container > main .dashboard-link-card:hover {
  color: #273137;
  transform: translateY(-3px);
}

#app-container > main .dashboard-go-button {
  display: inline-flex;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 32px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(91, 101, 108, .38);
  border-radius: 9px;
  color: #4b565d;
  background: rgba(255, 255, 255, .54);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
}

#app-container > main .dashboard-link-card:hover .dashboard-go-button {
  color: #fff;
  background: #687077;
  border-color: #687077;
}

/* Dashboard home: module navigation */
#app-container > main .dashboard-home {
  max-width: 1480px;
  padding-top: 18px;
}

.dashboard-home__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.dashboard-home__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #758089;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.dashboard-home__intro h1 {
  margin: 0 0 8px;
  padding: 0;
  color: #263239;
  font-size: clamp(1.65rem, 2.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.04em;
}

.dashboard-home__intro p {
  margin: 0;
  color: #758089;
  font-size: .96rem;
}

.dashboard-home__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(104, 112, 119, .15);
  border-radius: 999px;
  color: #5f6b72;
  background: rgba(255, 255, 255, .45);
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-home__status i {
  color: #5d9872;
  font-size: .7rem;
}

/* Búsqueda global del dashboard */
.global-search { position: relative; z-index: 5; margin: 0 0 34px; padding: 26px; border: 1px solid #e2e8e6; border-radius: 18px; background: linear-gradient(135deg, #ffffff 0%, #f7fbf9 100%); box-shadow: 0 12px 34px rgba(48, 75, 66, .08); }
.global-search__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.global-search__heading h2 { margin: 5px 0 4px; color: #253b37; font-size: 24px; font-weight: 700; }
.global-search__heading p { margin: 0; color: #71817d; font-size: 13px; }
.global-search__shortcut { display: flex; gap: 4px; }
.global-search__shortcut kbd { min-width: 26px; padding: 4px 7px; border: 1px solid #d5e0db; border-radius: 6px; background: #fff; color: #73817d; font-size: 11px; text-align: center; box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.global-search__input-wrap { display: flex; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid #ccd9d4; border-radius: 11px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.global-search__input-wrap:focus-within { border-color: #6c9b84; box-shadow: 0 0 0 4px rgba(108, 155, 132, .13); }
.global-search__input-wrap > i { color: #77918a; font-size: 17px; }
.global-search__input-wrap input { flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; background: transparent; color: #2e403c; font-size: 15px; }
.global-search__input-wrap input::placeholder { color: #9aa9a5; }
.global-search__status { white-space: nowrap; color: #8a9995; font-size: 11px; }
.global-search__results { max-height: 520px; overflow-y: auto; }
.global-search__group { margin-top: 18px; }
.global-search__group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 4px 7px; border-bottom: 1px solid #e5ece8; }
.global-search__group-title span { color: #385b4e; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.global-search__group-title span i { margin-right: 7px; font-size: 13px; }
.global-search__group-title small { color: #9aa7a3; font-size: 11px; }
.global-search__result { display: flex; align-items: center; gap: 11px; padding: 10px 8px; border-bottom: 1px solid #eef2f0; color: inherit; text-decoration: none !important; transition: background .15s, transform .15s; }
.global-search__result:hover, .global-search__result:focus { border-radius: 8px; background: #edf6f1; transform: translateX(3px); outline: 0; }
.global-search__result-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; background: #e7f1eb; color: #54806a; }
.global-search__result span:nth-child(2) { min-width: 0; flex: 1; }
.global-search__result strong, .global-search__result small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.global-search__result strong { color: #344a44; font-size: 13px; }
.global-search__result small { margin-top: 2px; color: #82918d; font-size: 11px; }
.global-search__arrow { color: #9aaba4; font-size: 11px; }
.global-search__empty, .global-search__loading { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 100px; color: #8a9995; font-size: 13px; }
.global-search__empty { flex-direction: column; gap: 3px; }
.global-search__empty strong { color: #536862; }
.global-search__empty i { margin-bottom: 4px; color: #94aaa0; font-size: 20px; }
.global-search__loading span { width: 14px; height: 14px; border: 2px solid #d8e5df; border-top-color: #5f9279; border-radius: 50%; animation: global-search-spin .7s linear infinite; }
@keyframes global-search-spin { to { transform: rotate(360deg); } }
@media (max-width: 767px) { .global-search { padding: 18px; } .global-search__heading h2 { font-size: 20px; } .global-search__shortcut { display: none; } .global-search__status { display: none; } .global-search__group-title small { display: none; } }

/* Catálogo profesional de maquinaria */
.machinery-catalog { padding-bottom: 36px; }
.machinery-catalog__header { align-items: center; margin-bottom: 22px; }
.machinery-catalog__header h1 { color: #263d38; font-size: 28px; font-weight: 700; }
.machinery-catalog__header-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, #dbece2, #f1f8f4); color: #4f8068; font-size: 25px; }
.machinery-catalog__header-actions { display:flex; align-items:center; gap:12px; }.machinery-catalog__export { display:inline-flex; align-items:center; white-space:nowrap; }
.machinery-catalog__alert { border: 0; border-radius: 10px; box-shadow: 0 5px 16px rgba(56, 106, 75, .08); }
.machinery-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.machinery-stat { display: flex; align-items: center; gap: 13px; padding: 18px 20px; border: 1px solid #e2ebe6; border-radius: 14px; background: #fff; box-shadow: 0 5px 20px rgba(42, 72, 60, .05); }
.machinery-stat__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; font-size: 17px; }
.machinery-stat__icon--brand { background: #e8f1ed; color: #4e806b; }
.machinery-stat__icon--model { background: #edf1f8; color: #5c749d; }
.machinery-stat__icon--series { background: #faf1df; color: #a67d36; }
.machinery-stat small, .machinery-stat strong { display: block; }
.machinery-stat small { margin-bottom: 3px; color: #82918d; font-size: 11px; }
.machinery-stat strong { color: #2f4941; font-size: 24px; line-height: 1; }
.machinery-catalog__workspace, .machinery-catalog__table-card { padding: 24px; border: 1px solid #e1ebe5; border-radius: 16px; background: #fff; box-shadow: 0 7px 25px rgba(42, 72, 60, .05); }
.machinery-catalog__workspace { margin-bottom: 24px; background: linear-gradient(135deg, #fff 0%, #f7fbf8 100%); }
.machinery-catalog__section-heading, .machinery-catalog__table-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.machinery-catalog__section-heading h2, .machinery-catalog__table-header h2 { margin: 4px 0 3px; color: #2e4740; font-size: 21px; font-weight: 700; }
.machinery-catalog__hint { padding-top: 8px; color: #86958f; font-size: 11px; }
.machinery-catalog__hint i { margin-right: 5px; color: #6c9880; }
.machinery-catalog__forms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.machinery-form-card { display: flex; min-height: 334px; flex-direction: column; padding: 18px; border: 1px solid #e4ece7; border-radius: 13px; background: #fff; }
.machinery-form-card__icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 13px; border-radius: 10px; background: #edf6f0; color: #54816a; font-size: 16px; }
.machinery-form-card__body { flex: 1; }
.machinery-form-card__step { color: #88a095; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.machinery-form-card h3 { margin: 4px 0 4px; color: #304b42; font-size: 17px; font-weight: 700; }
.machinery-form-card p { min-height: 32px; margin: 0 0 16px; color: #83918d; font-size: 11px; }
.machinery-form-card label { display: block; margin: 0 0 6px; color: #566b64; font-size: 11px; font-weight: 700; }
.machinery-form-card .form-control { border-color: #dce6e1; border-radius: 8px; font-size: 13px; }
.machinery-form-card .form-control:focus { border-color: #71a088; box-shadow: 0 0 0 3px rgba(113, 160, 136, .12); }
.machinery-form-card__submit { align-self: flex-start; margin-top: 18px; border-radius: 8px; font-size: 12px; }
.machinery-form-card .select2-container { margin-bottom: 0; }
.machinery-form-card .select2-container--bootstrap .select2-selection--single { height: 38px; border-color: #dce6e1; border-radius: 8px; padding: 9px 28px 9px 12px; font-size: 13px; }
.machinery-form-card .select2-container--bootstrap .select2-selection--single .select2-selection__rendered { color: #536761; line-height: 18px; }
.machinery-form-card .select2-container--bootstrap.select2-container--focus .select2-selection, .machinery-form-card .select2-container--bootstrap.select2-container--open .select2-selection { border-color: #71a088; box-shadow: 0 0 0 3px rgba(113, 160, 136, .12); }
.machinery-catalog__table-card { overflow: hidden; padding-bottom: 10px; }
.machinery-catalog__table-header { align-items: center; margin: -2px 0 18px; }
.machinery-catalog__table-header p { margin: 0; color: #86958f; font-size: 12px; }
.machinery-catalog__search { display: flex; align-items: center; gap: 8px; min-width: 280px; padding: 0 10px; border: 1px solid #dce6e1; border-radius: 8px; background: #fbfdfc; }
.machinery-catalog__search i { color: #78958a; font-size: 13px; }
.machinery-catalog__search input { width: 100%; height: 38px; border: 0; outline: 0; background: transparent; color: #496158; font-size: 12px; }
.machinery-catalog__search kbd { color: #9bacA5; font-size: 11px; }
.machinery-catalog__table thead th { padding-top: 12px; padding-bottom: 12px; background: #f4f8f5; color: #637a70; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.machinery-catalog__table tbody td { padding-top: 16px; padding-bottom: 16px; vertical-align: top; }
.machinery-brand-cell { display: flex; align-items: center; gap: 11px; }
.machinery-brand-cell__avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #e6f1ea; color: #4c7b64; font-size: 14px; font-weight: 700; }
.machinery-brand-cell strong, .machinery-brand-cell small { display: block; }
.machinery-brand-cell strong { color: #344d44; font-size: 13px; }
.machinery-brand-cell small { margin-top: 3px; color: #9aa9a3; font-size: 10px; }
.machinery-model-list { display: grid; gap: 6px; }
.machinery-model-row { display: flex; align-items: center; gap: 15px; padding: 8px 10px; border-radius: 7px; background: #fafcfb; }
.machinery-model-row > span:first-child { min-width: 130px; color: #4d665c; font-size: 12px; }
.machinery-model-row > span:first-child i { margin-right: 6px; color: #789c87; font-size: 11px; }
.machinery-model-row__names { color: #8b9b95; font-size: 11px; }
.machinery-count-badge { display: inline-block; padding: 5px 8px; border-radius: 6px; background: #edf6f0; color: #59806b; font-size: 10px; }
.machinery-count-badge strong { margin-right: 3px; font-size: 12px; }
.machinery-summary-line { display: block; margin-top: 6px; color: #9aa9a3; font-size: 10px; }
.machinery-empty-inline { color: #a2afaa; font-size: 11px; font-style: italic; }
.machinery-empty-state { display: flex; align-items: center; flex-direction: column; gap: 5px; padding: 24px; color: #92a19b; }
.machinery-empty-state span { color: #83a391; font-size: 24px; }
.machinery-empty-state strong { color: #657a71; font-size: 13px; }
.machinery-empty-state small { font-size: 11px; }
@media (max-width: 991px) { .machinery-catalog__forms { grid-template-columns: 1fr; } .machinery-form-card { min-height: 0; } .machinery-form-card p { min-height: 0; } }
@media (max-width: 767px) { .machinery-stats { grid-template-columns: 1fr; } .machinery-catalog__workspace, .machinery-catalog__table-card { padding: 16px; } .machinery-catalog__section-heading, .machinery-catalog__table-header { flex-direction: column; } .machinery-catalog__search { min-width: 0; width: 100%; } .machinery-model-row { align-items: flex-start; flex-direction: column; gap: 4px; } }
.machinery-catalog__browser { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.5fr); gap: 20px; }
.machinery-catalog__navigator, .machinery-catalog__detail { min-height: 540px; padding: 22px; border: 1px solid #e1ebe5; border-radius: 16px; background: #fff; box-shadow: 0 7px 25px rgba(42, 72, 60, .05); }
.machinery-catalog__navigator { background: #f8fbf9; }
.machinery-catalog__browser-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.machinery-catalog__browser-header h2 { margin: 4px 0; color: #304940; font-size: 20px; font-weight: 700; }
.machinery-catalog__browser-header p { margin: 0; color: #84928d; font-size: 11px; }
.machinery-catalog__browser-count { padding: 5px 8px; border-radius: 6px; background: #e5f1e9; color: #5b806b; font-size: 10px; white-space: nowrap; }
.machinery-tree { max-height: 455px; margin: 16px -7px 0; padding: 0 7px; overflow-y: auto; }
.machinery-tree__brand { margin-bottom: 8px; }
.machinery-tree__brand-button, .machinery-tree__model { display: flex; width: 100%; align-items: center; border: 0; text-align: left; cursor: pointer; }
.machinery-tree__brand-button { gap: 10px; padding: 10px; border-radius: 10px; background: transparent; color: #40584f; }
.machinery-tree__brand-button:hover, .machinery-tree__brand-button.is-selected { background: #e5f1e9; }
.machinery-tree__brand-button > span:nth-child(2), .machinery-tree__model > span { flex: 1; min-width: 0; }
.machinery-tree__brand-button strong, .machinery-tree__brand-button small, .machinery-tree__model strong, .machinery-tree__model small { display: block; }
.machinery-tree__brand-button strong { font-size: 12px; }
.machinery-tree__brand-button small, .machinery-tree__model small { margin-top: 3px; color: #8c9b95; font-size: 10px; }
.machinery-tree__brand-button > i { color: #92a59c; font-size: 10px; }
.machinery-tree__models { margin: 3px 0 8px 22px; padding-left: 10px; border-left: 1px solid #dce8e0; }
.machinery-tree__model { gap: 8px; padding: 7px 8px; border-radius: 7px; background: transparent; color: #698077; }
.machinery-tree__model:hover, .machinery-tree__model.is-selected { background: #edf6f0; color: #416a55; }
.machinery-tree__model > i { width: 18px; color: #81a08d; font-size: 11px; text-align: center; }
.machinery-tree__model strong { font-size: 11px; font-weight: 600; }
.machinery-catalog__detail { position: relative; overflow: hidden; }
.machinery-catalog__detail:before { position: absolute; top: -90px; right: -70px; width: 240px; height: 240px; border-radius: 50%; background: #edf6f0; content: ''; opacity: .7; }
.machinery-detail__eyebrow, .machinery-detail__title, .machinery-detail__metrics, .machinery-detail__section-heading, .machinery-variant-list { position: relative; z-index: 1; }
.machinery-detail__eyebrow { display: flex; justify-content: space-between; color: #8a9993; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.machinery-detail__status { color: #5b896e; letter-spacing: 0; text-transform: none; }
.machinery-detail__status i { margin-right: 4px; }
.machinery-detail__title { display: flex; align-items: center; gap: 15px; margin: 28px 0 24px; }
.machinery-detail__large-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 16px; background: #e5f1e9; color: #54816a; font-size: 23px; }
.machinery-detail__title > div > span { color: #719080; font-size: 11px; }
.machinery-detail__title h2 { margin: 3px 0 4px; color: #2f4a40; font-size: 27px; font-weight: 700; }
.machinery-detail__title p { margin: 0; color: #84938d; font-size: 12px; }
.machinery-detail__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
.machinery-detail__metrics > div { padding: 12px; border: 1px solid #e5ede8; border-radius: 9px; background: rgba(255,255,255,.72); }
.machinery-detail__metrics small, .machinery-detail__metrics strong { display: block; }
.machinery-detail__metrics small { margin-bottom: 4px; color: #91a09a; font-size: 10px; }
.machinery-detail__metrics strong { overflow: hidden; color: #536c61; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.machinery-detail__metrics strong.is-active { color: #5c936f; }
.machinery-detail__section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.machinery-detail__section-heading h3 { margin: 0 0 3px; color: #3b554b; font-size: 16px; font-weight: 700; }
.machinery-detail__section-heading p { margin: 0; color: #8b9994; font-size: 11px; }
.machinery-variant-list { display: grid; gap: 8px; }
.machinery-variant { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px; border: 1px solid #e4ece7; border-radius: 9px; background: rgba(255,255,255,.86); color: #466055; text-align: left; transition: .15s; }
.machinery-variant:hover { border-color: #a9c9b5; background: #f4faf6; transform: translateX(3px); }
.machinery-variant__icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: #eef6f0; color: #679078; }
.machinery-variant > span:nth-child(2) { flex: 1; }
.machinery-variant strong, .machinery-variant small { display: block; }
.machinery-variant strong { font-size: 12px; }
.machinery-variant small { margin-top: 3px; color: #91a099; font-size: 10px; }
.machinery-variant > i { color: #a0aea8; font-size: 10px; }
.machinery-detail__empty, .machinery-detail__welcome { display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 260px; gap: 6px; color: #91a19a; text-align: center; }
.machinery-detail__empty i, .machinery-detail__welcome > span { color: #8caf99; font-size: 28px; }
.machinery-detail__empty strong, .machinery-detail__welcome h2 { color: #61786d; font-size: 14px; font-weight: 700; }
.machinery-detail__empty span, .machinery-detail__welcome p { margin: 0; font-size: 11px; }
.machinery-detail__welcome h2 { margin: 9px 0 0; font-size: 19px; }
.machinery-detail__welcome p { max-width: 300px; line-height: 1.6; }
@media (max-width: 991px) { .machinery-catalog__browser { grid-template-columns: 1fr; } .machinery-catalog__navigator { min-height: 0; } .machinery-tree { max-height: 350px; } }
@media (max-width: 767px) { .machinery-catalog__detail { padding: 17px; } .machinery-detail__title h2 { font-size: 23px; } .machinery-detail__metrics { grid-template-columns: 1fr 1fr; } .machinery-detail__metrics > div:last-child { grid-column: span 2; } .machinery-detail__section-heading { align-items: flex-start; flex-direction: column; } .machinery-catalog__header-actions { width:100%; justify-content:space-between; } .machinery-catalog__export { flex:1; justify-content:center; } }
.machinery-entry-subtitle { margin: 2px 0 0; color: #8a9993; font-size: 11px; }
.machinery-entry-form { display: grid; gap: 20px; }
.machinery-entry-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 680px; }
.machinery-entry-type { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid #dfe9e3; border-radius: 9px; background: #fff; color: #71817a; text-align: left; transition: .15s; }
.machinery-entry-type:hover, .machinery-entry-type.is-active { border-color: #78a489; background: #edf7f0; color: #456d56; }
.machinery-entry-type i { font-size: 16px; }
.machinery-entry-type span, .machinery-entry-type small { display: block; }
.machinery-entry-type span { font-size: 12px; font-weight: 700; }
.machinery-entry-type small { margin-top: 2px; color: #9aa8a2; font-size: 10px; }
.machinery-entry-fields { display: flex; align-items: flex-end; gap: 14px; max-width: 980px; }
.machinery-entry-main { flex: 1.1; }
.machinery-entry-parent { flex: 1; }
.machinery-entry-fields label { display: block; margin: 0 0 6px; color: #586d64; font-size: 11px; font-weight: 700; }
.machinery-entry-fields .form-control { height: 40px; border-color: #dce6e1; border-radius: 8px; font-size: 13px; }
.machinery-entry-fields .form-control:focus { border-color: #71a088; box-shadow: 0 0 0 3px rgba(113, 160, 136, .12); }
.machinery-entry-fields .select2-container--bootstrap .select2-selection--single { height: 40px; border-color: #dce6e1; border-radius: 8px; padding: 10px 28px 10px 12px; font-size: 13px; }
.machinery-entry-fields .select2-container--bootstrap .select2-selection--single .select2-selection__rendered { line-height: 18px; }
.machinery-entry-submit { height: 40px; min-width: 150px; border-radius: 8px; font-size: 12px; }
@media (max-width: 767px) { .machinery-entry-types { grid-template-columns: 1fr; max-width: none; } .machinery-entry-fields { align-items: stretch; flex-direction: column; gap: 12px; } .machinery-entry-submit { width: 100%; } }
.client-details { padding: 4px 0 36px; }
.client-details__header, .client-details__section-header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.client-details__header { margin-bottom:22px; }
.client-details__header h1 { margin:5px 0 4px; color:#263d38; font-size:28px; font-weight:700; }
.client-details__header p, .client-details__section-header p { margin:0; color:#82918d; font-size:12px; }
.client-details__alert { border:0; border-radius:10px; }
.client-details__summary { display:grid; grid-template-columns:1.45fr repeat(3,1fr); gap:14px; margin-bottom:22px; }
.client-details__summary > div { min-width:0; padding:17px; border:1px solid #e1ebe5; border-radius:14px; background:#fff; box-shadow:0 7px 25px rgba(42,72,60,.05); }
.client-details__summary-icon { display:flex; align-items:center; justify-content:center; width:34px; height:34px; margin-bottom:12px; border-radius:10px; background:#e5f1e9; color:#54816a; font-size:15px; }
.client-details__summary-icon--orange { background:#fff0e5; color:#ce732d; }.client-details__summary-icon--blue { background:#eaf0fa; color:#5b76a1; }.client-details__summary-icon--gold { background:#fbf3df; color:#aa843b; }
.client-details__summary small, .client-details__summary strong, .client-details__summary span { display:block; }.client-details__summary small { color:#8c9b95; font-size:10px; }.client-details__summary strong { overflow:hidden; margin:4px 0; color:#304b42; font-size:17px; text-overflow:ellipsis; white-space:nowrap; }.client-details__summary span:last-child { overflow:hidden; color:#8c9b95; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.client-details__tabs { display:flex; gap:5px; margin-bottom:16px; padding:5px; border:1px solid #e1ebe5; border-radius:12px; background:#f7faf8; }
.client-details__tab { display:flex; align-items:center; gap:7px; padding:10px 16px; border:0; border-radius:8px; background:transparent; color:#7d8d86; font-size:12px; font-weight:700; }.client-details__tab i { font-size:13px; }.client-details__tab:hover, .client-details__tab.is-active { background:#fff; color:#4c7d64; box-shadow:0 3px 12px rgba(42,72,60,.08); }
.client-details__panel { padding:24px; border:1px solid #e1ebe5; border-radius:16px; background:#fff; box-shadow:0 7px 25px rgba(42,72,60,.05); }.client-details__panel h2 { margin:5px 0 4px; color:#304940; font-size:21px; }.client-details__overview > div:first-child { padding-bottom:20px; border-bottom:1px solid #e6eee9; }.client-details__overview dl { display:grid; grid-template-columns:repeat(2,1fr); gap:0 30px; margin:0; }.client-details__overview dl div { padding:15px 0; border-bottom:1px solid #edf2ef; }.client-details__overview dt { color:#8b9994; font-size:10px; text-transform:uppercase; }.client-details__overview dd { margin:5px 0 0; color:#40584f; font-size:13px; }
.client-details__form { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:22px 0; padding:17px; border:1px solid #e4ece7; border-radius:12px; background:#f8fbf9; }.client-details__form > div { min-width:0; }.client-details__form label { display:block; margin-bottom:6px; color:#586d64; font-size:11px; font-weight:700; }.client-details__form label em { color:#9aa8a2; font-weight:400; }.client-details__form input, .client-details__form select { width:100%; height:39px; padding:0 11px; border:1px solid #dce6e1; border-radius:8px; background:#fff; color:#536761; font-size:12px; }.client-details__form input:focus, .client-details__form select:focus { border-color:#71a088; outline:0; box-shadow:0 0 0 3px rgba(113,160,136,.12); }.client-details__form small { display:block; margin-top:4px; color:#c44e42; font-size:10px; }.client-details__form > button { align-self:end; height:39px; }.client-details__form--contacts { grid-template-columns:repeat(4,1fr); }.client-details__table-wrap { overflow-x:auto; }.client-details__table-wrap table { min-width:650px; }.client-details__section-header { margin-bottom:4px; }
.client-details__contact-grid, .client-details__category-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }.client-details__contact-grid article, .client-details__category-grid article { display:flex; align-items:flex-start; gap:12px; padding:15px; border:1px solid #e4ece7; border-radius:11px; background:#fbfdfc; }.client-details__contact-avatar { display:flex; align-items:center; justify-content:center; flex:0 0 46px; width:46px; height:46px; border-radius:50%; background:#e5f1e9; color:#4c7b64; font-size:17px; font-weight:700; letter-spacing:.02em; }.client-details__contact-grid article > div, .client-details__category-grid article > div { flex:1; min-width:0; }.client-details__contact-grid strong, .client-details__contact-grid small, .client-details__contact-grid span, .client-details__category-grid strong, .client-details__category-grid span { display:block; }.client-details__contact-grid strong, .client-details__category-grid strong { color:#40584f; font-size:13px; }.client-details__contact-grid small { margin:3px 0 8px; color:#789087; }.client-details__contact-grid article > div span { color:#687b73; font-size:11px; line-height:1.5; }.client-details__category-grid article > i { color:#6d9b7d; font-size:17px; }.client-details__category-grid span { margin-top:5px; color:#82918d; font-size:11px; }.client-details__empty { grid-column:1/-1; padding:28px; color:#8c9b95; text-align:center; }
@media (max-width:991px) { .client-details__summary { grid-template-columns:repeat(2,1fr); }.client-details__summary > div:first-child { grid-column:span 2; }.client-details__form, .client-details__form--contacts { grid-template-columns:repeat(2,1fr); } }
@media (max-width:767px) { .client-details__header, .client-details__section-header { flex-direction:column; }.client-details__header .btn, .client-details__section-header .btn { width:100%; }.client-details__summary { grid-template-columns:1fr; }.client-details__summary > div:first-child { grid-column:auto; }.client-details__tabs { overflow-x:auto; }.client-details__tab { flex:0 0 auto; }.client-details__panel { padding:16px; }.client-details__overview dl, .client-details__form, .client-details__form--contacts, .client-details__contact-grid, .client-details__category-grid { grid-template-columns:1fr; }.client-details__form > button { width:100%; } }
.client-details { max-width: 1420px; margin: 0 auto; }
.client-details__header { position:relative; align-items:center; margin:0 -18px 24px; padding:28px 28px 27px; border:1px solid rgba(225,235,229,.9); border-radius:18px; background:linear-gradient(118deg,#f5faf7 0%,#fff 62%,#fff8f1 100%); overflow:hidden; }
.client-details__header:after { position:absolute; right:-80px; bottom:-125px; width:300px; height:300px; border:35px solid rgba(217,92,0,.07); border-radius:50%; content:''; }
.client-details__header > div { position:relative; z-index:1; padding-left:56px; }.client-details__header > div:before { position:absolute; top:1px; left:0; display:flex; width:42px; height:42px; align-items:center; justify-content:center; border-radius:13px; background:#e1f0e6; color:#4c8064; content:'\e616'; font-family:'simple-line-icons'; font-size:19px; }
.client-details__header h1 { font-size:30px; letter-spacing:-.02em; }.client-details__header p { color:#687b73; font-size:12px; }.client-details__header .btn { position:relative; z-index:2; border-radius:10px; box-shadow:0 6px 15px rgba(71,116,88,.15); }
.client-details__header-actions { position:relative; z-index:2; display:flex; align-items:center; gap:9px; }.client-details__header-actions .btn-outline-secondary { border-color:#cbd9d0; color:#637a70; background:rgba(255,255,255,.7); box-shadow:none; }.client-details__header-actions .btn-outline-secondary:hover { color:#456d56; border-color:#86b297; background:#fff; }
.client-details__summary { grid-template-columns:1.6fr repeat(3,1fr); gap:12px; }.client-details__summary > div { position:relative; min-height:116px; padding:16px 18px; transition:transform .18s ease, box-shadow .18s ease; }.client-details__summary > div:hover { transform:translateY(-2px); box-shadow:0 10px 28px rgba(42,72,60,.1); }.client-details__summary > div:first-child { background:linear-gradient(145deg,#fff,#f8fcf9); }.client-details__summary-icon { width:36px; height:36px; margin-bottom:13px; }
.client-details__summary-icon i, .client-details__overview-icon i, .client-details__overview-equipment-icon i, .client-details__category-grid article > i { display:inline-flex; align-items:center; justify-content:center; width:1em; height:1em; line-height:1; text-align:center; }.client-details__summary-icon i { font-size:16px; }.client-details__overview-icon i { font-size:14px; }.client-details__overview-equipment-icon i { font-size:14px; }
.client-details__tabs { position:sticky; top:86px; z-index:4; width:max-content; max-width:100%; margin:0 auto 18px; padding:4px; border-radius:11px; background:#eef5f0; box-shadow:0 5px 16px rgba(42,72,60,.07); }.client-details__tab { padding:10px 18px; }.client-details__tab.is-active { color:#fff; background:#52856a; box-shadow:0 4px 10px rgba(63,115,82,.2); }.client-details__tab.is-active i { color:#dff2e5; }
.client-details__panel { min-height:270px; padding:27px 28px; box-shadow:0 10px 30px rgba(42,72,60,.06); }.client-details__panel h2 { font-size:22px; letter-spacing:-.01em; }.client-details__section-header { padding-bottom:16px; border-bottom:1px solid #edf2ef; }.client-details__overview > div:first-child { padding-bottom:24px; }.client-details__overview dl { margin-top:4px; }.client-details__overview dl div { padding:18px 4px; }
.client-details__status-pill { display:inline-flex; align-items:center; gap:6px; padding:7px 10px; border-radius:8px; background:#e9f5ec; color:#528466; font-size:10px; font-weight:700; white-space:nowrap; }.client-details__status-pill i { font-size:9px; }.client-details__overview-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:11px; margin-top:22px; }.client-details__overview-grid article { display:flex; align-items:flex-start; gap:11px; min-width:0; padding:14px; border:1px solid #e5ede8; border-radius:10px; background:#fbfdfc; }.client-details__overview-icon { display:flex; align-items:center; justify-content:center; flex:0 0 32px; width:32px; height:32px; border-radius:9px; background:#e5f1e9; color:#54816a; font-size:14px; }.client-details__overview-icon--blue { background:#eaf0fa; color:#5b76a1; }.client-details__overview-icon--orange { background:#fff0e5; color:#ce732d; }.client-details__overview-icon--gold { background:#fbf3df; color:#aa843b; }.client-details__overview-grid article > div { min-width:0; }.client-details__overview-grid small, .client-details__overview-grid strong, .client-details__overview-grid a, .client-details__overview-grid span { display:block; }.client-details__overview-grid small { margin-bottom:4px; color:#91a099; font-size:9px; text-transform:uppercase; letter-spacing:.04em; }.client-details__overview-grid strong, .client-details__overview-grid a { overflow:hidden; color:#40584f; font-size:12px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }.client-details__overview-grid a:hover { color:#d0641b; }.client-details__overview-grid span { margin-top:4px; overflow:hidden; color:#8a9993; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.client-details__overview-footer { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:16px; padding:15px; border:1px solid #e5ede8; border-radius:10px; background:#f5f9f6; }.client-details__overview-footer small, .client-details__overview-footer span { display:block; }.client-details__overview-footer small { margin-bottom:6px; color:#8b9994; font-size:9px; text-transform:uppercase; }.client-details__overview-footer span { color:#536c61; font-size:11px; line-height:1.6; }.client-details__overview-footer b { display:inline-block; margin:0 4px 3px 0; padding:3px 7px; border-radius:5px; background:#e2f0e6; color:#54816a; font-size:10px; font-weight:600; }
.client-details__overview-equipment { display:grid; grid-template-columns:1fr auto; gap:4px 16px; margin-top:16px; padding:20px 24px; border:1px solid #e1ebe5; border-radius:14px; background:#fff; box-shadow:0 7px 22px rgba(42,72,60,.045); }.client-details__overview-equipment h3 { margin:4px 0 3px; color:#40584f; font-size:16px; }.client-details__overview-equipment p { margin:0; color:#8a9993; font-size:11px; }.client-details__overview-equipment > .btn { align-self:center; grid-column:2; grid-row:1; border-radius:8px; }.client-details__overview-equipment-list { display:grid; grid-column:1/-1; grid-template-columns:repeat(2,1fr); gap:9px; margin-top:13px; }.client-details__overview-equipment-list article { display:flex; align-items:center; gap:10px; min-width:0; padding:10px; border:1px solid #e7eee9; border-radius:9px; background:#fbfdfc; }.client-details__overview-equipment-icon { display:flex; align-items:center; justify-content:center; flex:0 0 30px; width:30px; height:30px; border-radius:8px; background:#fff0e5; color:#ce732d; }.client-details__overview-equipment-list article > div { min-width:0; }.client-details__overview-equipment-list strong, .client-details__overview-equipment-list small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.client-details__overview-equipment-list strong { color:#536c61; font-size:11px; }.client-details__overview-equipment-list small { margin-top:3px; color:#91a099; font-size:10px; }
.client-details__form { margin:22px 0 25px; padding:20px; border-color:#dfeae3; background:linear-gradient(135deg,#f8fbf9,#fbfdfc); box-shadow:inset 0 1px rgba(255,255,255,.8); }.client-details__form > button { border-radius:9px; font-weight:600; }.client-details__table-wrap { border:1px solid #e5ede8; border-radius:11px; }.client-details__table-wrap .user-table { margin-bottom:0; }.client-details__table-wrap .user-table thead th { background:#f5f9f6; }.client-details__contact-grid article, .client-details__category-grid article { background:#fff; box-shadow:0 3px 12px rgba(42,72,60,.035); transition:transform .18s ease, border-color .18s ease; }.client-details__contact-grid article:hover, .client-details__category-grid article:hover { border-color:#b9d4c1; transform:translateY(-2px); }.client-details__category-grid { margin-top:20px; }
@media (max-width:767px) { .client-details__header { margin:0 -4px 20px; padding:22px 19px; }.client-details__header > div { padding-left:0; }.client-details__header > div:before { display:none; }.client-details__header-actions { width:100%; flex-direction:column; align-items:stretch; }.client-details__header-actions .btn { width:100%; }.client-details__tabs { position:static; width:100%; justify-content:flex-start; margin-bottom:14px; }.client-details__tab { padding:10px 13px; font-size:11px; }.client-details__panel { padding:20px 16px; }.client-details__overview-grid, .client-details__overview-footer, .client-details__overview-equipment-list { grid-template-columns:1fr; }.client-details__overview-equipment { grid-template-columns:1fr; }.client-details__overview-equipment > .btn { grid-column:auto; grid-row:auto; width:100%; margin-top:10px; }.client-details__section-header { align-items:flex-start; flex-direction:column; }.client-details__status-pill { align-self:flex-start; } }
.client-categories-manager__toolbar, .client-categories-manager__footer { display:flex; align-items:center; justify-content:space-between; gap:16px; }.client-categories-manager__toolbar { padding-bottom:18px; border-bottom:1px solid #edf2ef; }.client-categories-manager__toolbar h2 { margin:5px 0 4px; color:#304940; font-size:22px; }.client-categories-manager__toolbar p { margin:0; color:#82918d; font-size:12px; }.client-categories-manager__counter { padding:8px 11px; border-radius:8px; background:#e8f3eb; color:#4f8068; font-size:11px; font-weight:700; white-space:nowrap; }.client-categories-manager__search { display:flex; align-items:center; gap:9px; margin:19px 0 14px; padding:0 12px; border:1px solid #dce6e1; border-radius:9px; background:#fbfdfc; }.client-categories-manager__search i { color:#7c9b89; }.client-categories-manager__search input { flex:1; height:40px; border:0; outline:0; background:transparent; color:#4c6259; font-size:12px; }.client-categories-manager__search span { color:#91a099; font-size:10px; white-space:nowrap; }.client-categories-manager__grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; max-height:330px; overflow-y:auto; padding:2px 2px 4px; }.client-category-option { display:flex; align-items:flex-start; gap:10px; min-width:0; margin:0; padding:13px; border:1px solid #e2ebe5; border-radius:10px; background:#fff; cursor:pointer; transition:.16s ease; }.client-category-option:hover, .client-category-option.is-selected { border-color:#86b297; background:#f4faf6; }.client-category-option input { position:absolute; opacity:0; pointer-events:none; }.client-category-option__check { display:flex; align-items:center; justify-content:center; flex:0 0 20px; width:20px; height:20px; border:1px solid #c7d8cd; border-radius:6px; background:#fff; color:transparent; font-size:10px; }.client-category-option.is-selected .client-category-option__check { border-color:#5d9270; background:#5d9270; color:#fff; }.client-category-option strong, .client-category-option small { display:block; }.client-category-option strong { overflow:hidden; color:#40584f; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }.client-category-option small { margin-top:4px; overflow:hidden; color:#8a9993; font-size:10px; line-height:1.4; text-overflow:ellipsis; white-space:nowrap; }.client-categories-manager__footer { margin-top:18px; padding-top:15px; border-top:1px solid #edf2ef; }.client-categories-manager__footer span { color:#91a099; font-size:10px; }.client-categories-manager__footer .btn { border-radius:9px; }.client-categories-manager .alert { margin:15px 0 0; border:0; border-radius:8px; font-size:11px; }@media (max-width:767px) { .client-categories-manager__toolbar, .client-categories-manager__footer { align-items:flex-start; flex-direction:column; }.client-categories-manager__counter { align-self:flex-start; }.client-categories-manager__search span { display:none; }.client-categories-manager__grid { grid-template-columns:1fr; max-height:360px; }.client-categories-manager__footer .btn { width:100%; } }

#app-container > main .dashboard-module-grid {
  margin-bottom: 4px;
}

#app-container > main .dashboard-module-card {
  position: relative;
  min-height: 300px;
  border: 0;
  border-radius: 26px;
  color: #fff;
  background: #54636b;
  box-shadow: 0 18px 32px rgba(58, 64, 69, .15), inset 0 1px rgba(255, 255, 255, .3);
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}

#app-container > main .dashboard-module-card::before,
#app-container > main .dashboard-module-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

#app-container > main .dashboard-module-card::before {
  top: -150px;
  right: -80px;
  width: 370px;
  height: 370px;
  background: rgba(255, 255, 255, .12);
}

#app-container > main .dashboard-module-card::after {
  right: 16%;
  bottom: -140px;
  width: 260px;
  height: 260px;
  background: rgba(24, 39, 46, .18);
}

#app-container > main .dashboard-module-card--parts {
  background: linear-gradient(120deg, #364f5b 0%, #527483 100%);
}

#app-container > main .dashboard-module-card--construction {
  background: linear-gradient(120deg, #61533e 0%, #9a805a 100%);
}

#app-container > main .dashboard-module-card:hover,
#app-container > main .dashboard-module-card:focus {
  color: #fff;
  background: #54636b;
  transform: translateY(-5px);
  box-shadow: 0 24px 42px rgba(58, 64, 69, .23), inset 0 1px rgba(255, 255, 255, .38);
  outline: none;
}

#app-container > main .dashboard-module-card--parts:hover,
#app-container > main .dashboard-module-card--parts:focus {
  background: linear-gradient(120deg, #364f5b 0%, #527483 100%);
}

#app-container > main .dashboard-module-card--construction:hover,
#app-container > main .dashboard-module-card--construction:focus {
  background: linear-gradient(120deg, #61533e 0%, #9a805a 100%);
}

.dashboard-module-card__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, .88fr) minmax(220px, 1.12fr);
  align-items: center;
  min-height: 300px;
  padding: 28px 34px;
  text-align: left;
}

.dashboard-module-card__number {
  position: absolute;
  top: 24px;
  right: 30px;
  color: rgba(255, 255, 255, .55);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.dashboard-module-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
}

.dashboard-module-card__visual img {
  width: 100%;
  max-width: 280px;
  height: 220px;
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 14px 12px rgba(22, 31, 35, .22));
  transition: transform .25s ease;
}

.dashboard-module-card:hover .dashboard-module-card__visual img {
  transform: scale(1.06) rotate(-2deg);
}

.dashboard-module-card__copy {
  padding: 22px 0 12px 26px;
  border-left: 1px solid rgba(255, 255, 255, .28);
}

.dashboard-module-card__copy > span:first-child {
  color: rgba(255, 255, 255, .7);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.dashboard-module-card__copy h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.dashboard-module-card__copy p {
  max-width: 270px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .78);
  font-size: .86rem;
  line-height: 1.55;
}

.dashboard-module-card__action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
}

.dashboard-module-card__action i {
  transition: transform .2s ease;
}

.dashboard-module-card:hover .dashboard-module-card__action i {
  transform: translateX(4px);
}

.dashboard-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  gap: 14px;
  padding: 0 15px;
}

#app-container > main .dashboard-link-card {
  min-height: 168px;
  border-radius: 18px;
  color: #3e4a51;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

#app-container > main .dashboard-link-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 168px;
  padding: 19px 17px 16px;
}

.dashboard-link-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: #58717b;
  background: rgba(87, 116, 127, .12);
  font-size: 18px;
}

.dashboard-link-card__label {
  min-height: 38px;
  color: #3b474e;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.35;
}

#app-container > main .dashboard-link-card .dashboard-go-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  height: auto;
  margin-top: auto;
  padding: 0;
  border: 0;
  color: #728087;
  background: transparent;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .02em;
}

#app-container > main .dashboard-link-card .dashboard-go-button i {
  font-size: .65rem;
  transition: transform .2s ease;
}

#app-container > main .dashboard-link-card:hover {
  transform: translateY(-4px);
}

#app-container > main .dashboard-link-card:hover .dashboard-link-card__icon {
  color: #fff;
  background: #687077;
}

#app-container > main .dashboard-link-card:hover .dashboard-go-button {
  color: #4e5c64;
  background: transparent;
}

#app-container > main .dashboard-link-card:hover .dashboard-go-button i {
  transform: translateX(4px);
}

@media (max-width: 1199px) {
  .dashboard-link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .dashboard-home { padding-top: 8px; }
  .dashboard-home__intro { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 22px; }
  .dashboard-home__status { align-self: flex-start; }
  .dashboard-module-card__content { grid-template-columns: 1fr; min-height: 0; padding: 26px 24px 28px; }
  .dashboard-module-card__visual { height: 150px; }
  .dashboard-module-card__visual img { height: 155px; }
  .dashboard-module-card__copy { padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .28); border-left: 0; }
  .dashboard-module-card__copy p { max-width: none; }
  .dashboard-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 15px; }
}

@media (max-width: 440px) {
  .dashboard-link-grid { grid-template-columns: 1fr; }
}

/* Reparaciones: Livewire filters and form */
#app-container .reparacion-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#app-container .reparacion-filters .user-search {
  flex: 1 1 260px;
}

#app-container .reparacion-filters > select {
  min-width: 145px;
  min-height: 38px;
  border: 1px solid rgba(87, 96, 102, .28);
  border-radius: 10px;
  color: #465159;
  background: rgba(255, 255, 255, .58);
}

#app-container .reparacion-filters .user-per-page {
  margin-left: auto;
}

#app-container .reparacion-table th:last-child,
#app-container .reparacion-table td:last-child {
  min-width: 170px;
}

#app-container .reparacion-table .user-actions {
  white-space: nowrap;
}

#app-container .reparacion-form__parts {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(87, 96, 102, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .28);
}

#app-container .reparacion-form__parts h3 {
  color: #354149;
  font-size: 1.05rem;
  font-weight: 800;
}

#app-container .reparacion-part-row {
  display: grid;
  grid-template-columns: 1.1fr 1.35fr .55fr 1.1fr 32px;
  align-items: end;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(87, 96, 102, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .4);
}

#app-container .reparacion-part-row .form-group { margin-bottom: 0; }
#app-container .reparacion-part-row__remove { margin-bottom: 8px; padding: 5px; }

@media (max-width: 767px) {
  #app-container .reparacion-filters .user-per-page { margin-left: 0; }
  #app-container .reparacion-part-row { grid-template-columns: 1fr 1fr; }
  #app-container .reparacion-part-row__quantity { grid-column: span 1; }
  #app-container .reparacion-part-row__remove { justify-self: end; }
}

/* Project management */
#app-container .project-table { min-width: 1040px; }
#app-container .project-table .user-actions { white-space: nowrap; }
#app-container .project-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
#app-container .project-kpi { padding: 18px 20px; border: 1px solid rgba(255,255,255,.72); border-radius: 16px; background: rgba(255,255,255,.5); box-shadow: 0 10px 24px rgba(58,64,69,.08); }
#app-container .project-kpi span { display: block; margin-bottom: 8px; color: #78838a; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
#app-container .project-kpi strong { color: #364149; font-size: 1.25rem; }
#app-container .project-manage-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr); gap: 20px; align-items: start; }
#app-container .project-cost-form { padding: 24px; border: 1px solid rgba(255,255,255,.72); border-radius: 18px; background: rgba(255,255,255,.52); box-shadow: 0 14px 30px rgba(58,64,69,.1); }
#app-container .project-cost-form h3 { color: #354149; font-size: 1.1rem; font-weight: 800; }
@media (max-width: 991px) { #app-container .project-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } #app-container .project-manage-grid { grid-template-columns: 1fr; } }
@media (max-width: 575px) { #app-container .project-kpi-grid { grid-template-columns: 1fr; } }

/* CRM */
#app-container .crm-task-table { min-width: 1040px; }
#app-container .crm-task-table .user-actions { white-space: nowrap; }
#app-container .crm-detail-grid .project-kpi strong { font-size: 1rem; }
#app-container .crm-entry-card .dashboard-module-card__visual img { max-width: 220px; height: 180px; }
#app-container .crm-entry-card .dashboard-module-card__content { min-height: 280px; }
#app-container .crm-catalog-forms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#app-container .crm-catalog-forms h3 { margin-bottom: 16px; color: #354149; font-size: 1.05rem; font-weight: 800; }
@media (max-width: 991px) { #app-container .crm-catalog-forms { grid-template-columns: 1fr; } }
#app-container .crm-task-header { align-items: flex-end; }
#app-container .crm-task-header__actions { display: flex; align-items: center; gap: 12px; }
#app-container .crm-export-actions { display: flex; align-items: center; gap: 6px; }
#app-container .crm-export-actions > span { margin-right: 3px; color: #879197; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
#app-container .crm-task-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
#app-container .crm-task-stat { display: flex; flex-direction: column; align-items: flex-start; min-height: 112px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.72); border-radius: 15px; color: #5c6870; text-align: left; background: rgba(255,255,255,.5); box-shadow: 0 8px 20px rgba(58,64,69,.07); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
#app-container .crm-task-stat:hover { transform: translateY(-2px); background: rgba(255,255,255,.76); box-shadow: 0 12px 25px rgba(58,64,69,.12); }
#app-container .crm-task-stat span { color: #77838a; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
#app-container .crm-task-stat strong { margin: 7px 0 2px; color: #354149; font-size: 1.65rem; line-height: 1; }
#app-container .crm-task-stat small { color: #899298; font-size: .72rem; }
#app-container .crm-task-stat--alert strong { color: #c86b60; }
#app-container .crm-task-filters { flex-wrap: wrap; gap: 10px; }
#app-container .crm-task-filters .user-search { flex: 1 1 270px; }
#app-container .crm-task-filters > select { min-height: 38px; min-width: 145px; border: 1px solid rgba(87,96,102,.24); border-radius: 10px; background: rgba(255,255,255,.65); }
#app-container .crm-date-filter { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #768188; font-size: .72rem; font-weight: 700; white-space: nowrap; }
#app-container .crm-date-filter input { min-height: 36px; padding: 5px 8px; border: 1px solid rgba(87,96,102,.22); border-radius: 9px; color: #4d5960; background: rgba(255,255,255,.65); font-size: .75rem; }
#app-container .crm-task-title { display: flex; align-items: flex-start; gap: 10px; }
#app-container .crm-task-dot { flex: 0 0 9px; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: #a4adb1; box-shadow: 0 0 0 3px rgba(164,173,177,.14); }
#app-container .crm-task-dot--pendiente { background: #d19a4e; box-shadow: 0 0 0 3px rgba(209,154,78,.16); }
#app-container .crm-task-dot--en-progreso { background: #5d8fb1; box-shadow: 0 0 0 3px rgba(93,143,177,.16); }
#app-container .crm-task-dot--completada { background: #65a47b; box-shadow: 0 0 0 3px rgba(101,164,123,.16); }
#app-container .crm-task-dot--cancelada { background: #a8afb3; }
#app-container .crm-due-date { color: #526068; font-weight: 700; white-space: nowrap; }
#app-container .crm-due-date.is-overdue, #app-container .crm-overdue-label { color: #bf655b; }
#app-container .crm-overdue-label { font-size: .68rem; font-weight: 700; }
#app-container .crm-inline-status { min-height: 32px; padding: 4px 25px 4px 9px; border: 1px solid transparent; border-radius: 8px; color: #526068; background: rgba(198,204,208,.58); font-size: .72rem; font-weight: 700; }
#app-container .crm-inline-status--pendiente { color: #8a642c; background: rgba(240,216,171,.65); }
#app-container .crm-inline-status--en-progreso { color: #38647b; background: rgba(184,211,226,.7); }
#app-container .crm-inline-status--completada { color: #3f7452; background: rgba(191,222,200,.72); }
#app-container .crm-empty-state { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 42px 20px; }
#app-container .crm-empty-state i { color: #70a583; font-size: 28px; }
#app-container .crm-empty-state strong { color: #4b575e; font-size: .95rem; }
#app-container .crm-empty-state span { margin-bottom: 8px; color: #8a9499; font-size: .8rem; }
#app-container .crm-calendar-card { margin-bottom: 22px; padding: 22px; border: 1px solid rgba(255,255,255,.72); border-radius: 18px; background: rgba(255,255,255,.48); box-shadow: 0 10px 24px rgba(58,64,69,.07); }
#app-container .crm-calendar-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 0; cursor: pointer; list-style: none; }
#app-container .crm-calendar-card__header::-webkit-details-marker { display: none; }
#app-container .crm-calendar-card__header:focus-visible { outline: 3px solid rgba(91,143,177,.28); outline-offset: 4px; }
#app-container .crm-calendar-card__header > div:first-child { min-width: 0; }
#app-container .crm-calendar-card__header h2 { margin: 4px 0 3px; color: #354149; font-size: 1.15rem; font-weight: 800; }
#app-container .crm-calendar-card__header p { margin: 0; color: #89949a; font-size: .76rem; }
#app-container .crm-calendar-card__count { padding: 7px 10px; border-radius: 9px; color: #5a7078; background: rgba(215,225,229,.62); font-size: .72rem; white-space: nowrap; }
#app-container .crm-calendar-card__count strong { margin-right: 3px; color: #3e5962; font-size: 1rem; }
#app-container .crm-calendar-card__count i { display: inline-block; margin-left: 6px; font-size: .58rem; transition: transform .18s ease; }
#app-container .crm-calendar-card[open] .crm-calendar-card__count i { transform: rotate(180deg); }
#app-container .crm-calendar-card[open] .crm-calendar-card__header { margin-bottom: 18px; }
#app-container .crm-calendar__weekdays, #app-container .crm-calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
#app-container .crm-calendar__weekdays { color: #879298; font-size: .67rem; font-weight: 800; letter-spacing: .05em; text-align: center; text-transform: uppercase; }
#app-container .crm-calendar__weekdays span { padding: 8px 4px; }
#app-container .crm-calendar__grid { overflow: hidden; border: 1px solid rgba(87,96,102,.13); border-radius: 12px; }
#app-container .crm-calendar__day { min-height: 92px; padding: 8px; border-top: 1px solid rgba(87,96,102,.1); border-left: 1px solid rgba(87,96,102,.1); background: rgba(255,255,255,.36); }
#app-container .crm-calendar__day:nth-child(7n + 1) { border-left: 0; }
#app-container .crm-calendar__day:nth-child(-n + 7) { border-top: 0; }
#app-container .crm-calendar__day.is-muted { background: rgba(224,229,231,.2); }
#app-container .crm-calendar__day.is-muted .crm-calendar__number { color: #b2babd; }
#app-container .crm-calendar__number { display: block; margin-bottom: 6px; color: #56636a; font-size: .72rem; font-weight: 800; }
#app-container .crm-calendar__events { display: grid; gap: 4px; }
#app-container .crm-calendar__event { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-width: 0; padding: 4px 5px; border-radius: 5px; color: #526068; background: rgba(214,222,225,.7); font-size: .62rem; text-decoration: none; }
#app-container .crm-calendar__event:hover { color: #293d45; background: rgba(198,213,218,.9); }
#app-container .crm-calendar__event strong { overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
#app-container .crm-calendar__event small { flex: 0 0 auto; color: #7f8e94; font-size: .58rem; }
#app-container .crm-calendar__event--pendiente { background: rgba(240,216,171,.7); color: #806333; }
#app-container .crm-calendar__event--en-progreso { background: rgba(184,211,226,.72); color: #38647b; }
#app-container .crm-calendar__event--completada { background: rgba(191,222,200,.75); color: #3f7452; }
@media (max-width: 767px) { #app-container .crm-calendar-card { padding: 16px 10px; } #app-container .crm-calendar-card__header { align-items: stretch; flex-direction: column; gap: 10px; } #app-container .crm-calendar-card__count { align-self: flex-start; } #app-container .crm-calendar__day { min-height: 72px; padding: 5px 3px; } #app-container .crm-calendar__event { display: block; padding: 3px; } #app-container .crm-calendar__event small { display: block; } }
@media (max-width: 1100px) { #app-container .crm-task-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { #app-container .crm-task-header { align-items: stretch; flex-direction: column; } #app-container .crm-task-header__actions { align-items: stretch; flex-wrap: wrap; } #app-container .crm-export-actions { flex: 1; } #app-container .crm-task-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } #app-container .crm-date-filter { width: 100%; justify-content: space-between; } #app-container .crm-date-filter input { flex: 1; } }

/* CRM task detail */
#app-container .crm-task-detail__hero { margin-bottom: 22px; padding: 20px 24px 24px; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(229,235,237,.48)); box-shadow: 0 14px 30px rgba(58,64,69,.09); }
#app-container .crm-task-detail__back { margin-bottom: 18px; font-size: .76rem; font-weight: 700; }
#app-container .crm-task-detail__back a { color: #718087; }
#app-container .crm-task-detail__back i { margin-right: 6px; font-size: .65rem; }
#app-container .crm-task-detail__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
#app-container .crm-task-detail__header h1 { margin: 0 0 8px; padding: 0; color: #29363d; font-size: clamp(1.55rem, 2.6vw, 2.25rem); font-weight: 800; letter-spacing: -.04em; }
#app-container .crm-task-detail__header p { margin: 0; color: #718087; font-size: .9rem; }
#app-container .crm-task-detail__header p span { padding: 0 6px; color: #a5afb3; }
#app-container .crm-task-detail__actions { display: flex; align-items: center; gap: 10px; }
#app-container .crm-task-detail__alert { display: flex; align-items: center; gap: 9px; margin-top: 20px; padding: 10px 13px; border: 1px solid rgba(191,101,91,.22); border-radius: 10px; color: #a85c53; background: rgba(246,218,213,.56); font-size: .78rem; font-weight: 700; }
#app-container .crm-task-detail__layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr); gap: 20px; align-items: start; }
#app-container .crm-task-detail__layout main { display: grid; gap: 20px; min-width: 0; margin: 0; }
#app-container .crm-detail-card { padding: 22px; border: 1px solid rgba(255,255,255,.72); border-radius: 18px; background: rgba(255,255,255,.54); box-shadow: 0 12px 28px rgba(58,64,69,.08); }
#app-container .crm-detail-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
#app-container .crm-detail-card__eyebrow { display: block; margin-bottom: 7px; color: #839097; font-size: .66rem; font-weight: 800; letter-spacing: .13em; }
#app-container .crm-detail-card h2 { margin: 0; color: #3a474e; font-size: 1.1rem; font-weight: 800; }
#app-container .crm-detail-card__heading > strong { color: #5b8d6c; font-size: 1.5rem; }
#app-container .crm-progress { height: 10px; overflow: hidden; border-radius: 99px; background: rgba(190,199,203,.44); }
#app-container .crm-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6e9d7d, #98bea0); transition: width .25s ease; }
#app-container .crm-progress__footer { display: flex; justify-content: space-between; margin-top: 10px; color: #839097; font-size: .72rem; font-weight: 700; }
#app-container .crm-detail-notes { min-height: 78px; margin: 0; color: #5c686f; font-size: .9rem; line-height: 1.7; white-space: pre-line; }
#app-container .crm-count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; border-radius: 99px; color: #5f7078; background: rgba(200,208,212,.58); font-size: .78rem; font-weight: 800; }
#app-container .crm-subtask-list { display: grid; gap: 10px; }
#app-container .crm-subtask-item { display: flex; align-items: center; gap: 12px; padding: 13px 10px; border-bottom: 1px solid rgba(87,96,102,.1); }
#app-container .crm-subtask-item:last-child { border-bottom: 0; }
#app-container .crm-subtask-item .crm-task-dot { margin: 0 2px 0 0; }
#app-container .crm-subtask-item__body { flex: 1; min-width: 0; }
#app-container .crm-subtask-item__body strong { color: #46545b; font-size: .86rem; }
#app-container .crm-subtask-item__body p { overflow: hidden; margin: 4px 0; color: #7d888e; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
#app-container .crm-subtask-item__body small { color: #9aa3a7; font-size: .68rem; }
#app-container .crm-detail-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 10px 10px; color: #899398; text-align: center; }
#app-container .crm-detail-empty i { color: #6d9d7b; font-size: 22px; }
#app-container .crm-detail-empty strong { color: #56636a; font-size: .88rem; }
#app-container .crm-detail-empty span { font-size: .76rem; }
#app-container .crm-detail-sidebar { display: grid; gap: 20px; }
#app-container .crm-info-list { display: grid; gap: 16px; }
#app-container .crm-info-list div { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid rgba(87,96,102,.1); }
#app-container .crm-info-list div:last-child { padding-bottom: 0; border-bottom: 0; }
#app-container .crm-info-list span { color: #899398; font-size: .7rem; font-weight: 700; }
#app-container .crm-info-list strong { color: #4b5960; font-size: .82rem; }
#app-container .crm-info-list strong.is-overdue { color: #b96158; }
#app-container .crm-detail-card--tip { color: #64727a; background: linear-gradient(145deg, rgba(232,241,235,.72), rgba(255,255,255,.48)); }
#app-container .crm-detail-card--tip > i { display: block; margin-bottom: 14px; color: #6c9d7a; font-size: 22px; }
#app-container .crm-detail-card--tip strong { color: #4c6855; font-size: .88rem; }
#app-container .crm-detail-card--tip p { margin: 8px 0 0; font-size: .78rem; line-height: 1.6; }
@media (max-width: 900px) { #app-container .crm-task-detail__header { align-items: flex-start; flex-direction: column; } #app-container .crm-task-detail__actions { width: 100%; } #app-container .crm-task-detail__actions .crm-inline-status { flex: 1; } #app-container .crm-task-detail__layout { grid-template-columns: 1fr; } }
@media (max-width: 575px) { #app-container .crm-task-detail__hero { padding: 16px; } #app-container .crm-task-detail__actions { align-items: stretch; flex-direction: column; } #app-container .crm-task-detail__actions .btn, #app-container .crm-task-detail__actions select { width: 100%; } #app-container .crm-detail-card { padding: 17px; } #app-container .crm-subtask-item { align-items: flex-start; flex-wrap: wrap; } #app-container .crm-subtask-item .user-role { margin-left: 22px; } }

/* DataTables: readable on the neutral glass dashboard */
#app-container > main .dataTables_wrapper {
  width: 100%;
  min-height: 520px;
  contain: layout paint;
  padding: 18px 0 4px;
  color: #4a545a;
}

#app-container > main .dataTables_wrapper .dataTables_length,
#app-container > main .dataTables_wrapper .dataTables_filter,
#app-container > main .dataTables_wrapper .dataTables_info {
  color: #59636a;
  font-size: .82rem;
}

#app-container > main .dataTables_wrapper .dataTables_filter input,
#app-container > main .dataTables_wrapper .dataTables_length select {
  min-height: 38px;
  margin-left: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(87, 96, 102, .28);
  border-radius: 10px;
  color: #343c41;
  background: rgba(255, 255, 255, .66);
  box-shadow: inset 0 1px rgba(255, 255, 255, .82);
}

#app-container > main .dataTables_wrapper .dataTables_filter input:focus,
#app-container > main .dataTables_wrapper .dataTables_length select:focus {
  border-color: rgba(88, 101, 110, .7);
  outline: none;
  box-shadow: 0 0 0 3px rgba(110, 121, 128, .16);
}

#app-container > main table.dataTable {
  width: 100% !important;
  min-width: 100%;
  table-layout: fixed;
  margin: 12px 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  background: rgba(255, 255, 255, .38);
}

#app-container > main table.dataTable thead th {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(87, 96, 102, .2);
  color: #465158;
  background: rgba(221, 225, 227, .72);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .035em;
}

#app-container > main table.dataTable tbody td {
  padding: 12px;
  border-top-color: rgba(87, 96, 102, .12);
  color: #4a555b;
  vertical-align: middle;
}

#app-container > main table.dataTable tbody tr {
  background: rgba(255, 255, 255, .22);
  transition: background-color .18s ease;
}

#app-container > main table.dataTable tbody tr:hover {
  background: rgba(255, 255, 255, .62);
}

#app-container > main .dataTables_wrapper .dataTables_paginate .paginate_button {
  margin-left: 4px;
  padding: 6px 11px;
  border: 1px solid transparent !important;
  border-radius: 9px;
  color: #566169 !important;
  background: transparent !important;
}

#app-container > main .dataTables_wrapper .dataTables_paginate .paginate_button.current,
#app-container > main .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  border-color: rgba(87, 96, 102, .25) !important;
  color: #fff !important;
  background: #687077 !important;
}

#app-container > main .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  color: #a0a7ab !important;
}

#app-container > main .dataTables_wrapper .badge {
  margin: 2px 3px 2px 0;
  border-radius: 8px;
  background: #7b858b;
}

/* Consistent dashboard typography */
#app-container > main,
#app-container > main .card,
#app-container > main .table,
#app-container > main .dataTables_wrapper,
#app-container > main .dataTables_wrapper input,
#app-container > main .dataTables_wrapper select,
#app-container > main .dataTables_wrapper button,
#app-container > main .dataTables_wrapper .paginate_button {
  font-size: 15px;
}

#app-container > main table.dataTable thead th,
#app-container > main table.dataTable tbody td {
  font-size: 15px;
}

/* Bootstrap modal always stays above the glass dashboard and its backdrop */
.modal-backdrop {
  z-index: 1040 !important;
}

#app-container .modal {
  z-index: 1050 !important;
}

#app-container .modal-content {
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  background: rgba(242, 244, 245, .96);
  box-shadow: 0 20px 50px rgba(45, 51, 56, .22);
}

#app-container .modal-content .form-control {
  font-size: 15px;
}

/* Cotizador: modales independientes, opacos y visibles sobre el editor */
#app-container .quote-editor-modal {
  position: fixed;
  z-index: 99999 !important;
  inset: 0;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 32px 18px;
  opacity: 1 !important;
  background: rgba(49, 59, 64, .54);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
#app-container .quote-editor-modal.show { display: block !important; }
#app-container .quote-editor-modal .modal-dialog { width: min(100%, 760px); max-width: 760px; margin: 0 auto; transform: none !important; }
#app-container .quote-editor-modal .modal-dialog.modal-lg { width: min(100%, 1080px); max-width: 1080px; }
#app-container .quote-editor-modal .modal-content { overflow: hidden; border: 1px solid rgba(255,255,255,.92); border-radius: 20px; background: #f4f7f7; box-shadow: 0 24px 70px rgba(24, 36, 41, .3); opacity: 1 !important; }
#app-container .quote-editor-modal .modal-header { display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; border-bottom: 1px solid rgba(87,96,102,.14); background: #fff; }
#app-container .quote-editor-modal .modal-title { color: #354b53; font-size: 1.1rem; font-weight: 800; }
#app-container .quote-editor-modal .modal-subtitle { display: block; margin-top: 4px; color: #78868b; font-size: .82rem; font-weight: 500; line-height: 1.45; }
#app-container .quote-editor-modal .modal-header .close { flex: 0 0 auto; margin: -4px 0 0 auto; padding: 2px 8px; color: #68777c; font-size: 1.7rem; opacity: .8; }
#app-container .quote-editor-modal .modal-header .close:hover { color: #1e343c; opacity: 1; }
#app-container .quote-editor-modal .modal-body { max-height: calc(100vh - 190px); overflow-y: auto; padding: 24px; }
#app-container .quote-editor-modal .modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid rgba(87,96,102,.14); background: #fff; }
#app-container .quote-editor-modal .modal-footer .btn { min-width: 112px; border-radius: 10px; font-weight: 700; }
#app-container .quote-editor-modal .form-group { margin-bottom: 18px; }
#app-container .quote-editor-modal .form-group > label { display: block; margin-bottom: 7px; color: #40565e; font-size: .78rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
#app-container .quote-editor-modal .form-control { min-height: 43px; border: 1px solid #d5dfe1; border-radius: 10px; background: #fff; color: #263b42; box-shadow: none; transition: border-color .18s ease, box-shadow .18s ease; }
#app-container .quote-editor-modal .form-control:focus { border-color: #4e9b8a; box-shadow: 0 0 0 3px rgba(78,155,138,.14); }
#app-container .quote-editor-modal textarea.form-control { min-height: 88px; resize: vertical; }
#app-container .quote-editor-modal .input-group .input-group-text { min-width: 42px; justify-content: center; border: 1px solid #d5dfe1; border-right: 0; border-radius: 10px 0 0 10px; background: #eef5f3; color: #347565; font-weight: 800; }
#app-container .quote-editor-modal .input-group .form-control { border-radius: 0 10px 10px 0; }
#app-container .quote-editor-modal .quote-modal-section { margin: 4px 0 20px; padding: 13px 16px 2px; border: 1px solid #dce6e5; border-radius: 14px; background: rgba(255,255,255,.68); }
#app-container .quote-editor-modal .quote-modal-section-title { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: #347565; font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
#app-container .quote-editor-modal .quote-modal-section-title::before { width: 7px; height: 7px; border-radius: 50%; background: #4e9b8a; content: ''; }
#app-container .quote-editor-modal .quote-picker { display: flex; align-items: stretch; gap: 10px; margin-bottom: 20px; padding: 12px; border: 1px solid #dce6e5; border-radius: 14px; background: #edf5f3; }
#app-container .quote-editor-modal .quote-picker .btn { flex: 0 0 auto; border-radius: 9px; font-weight: 700; }
#app-container .quote-editor-modal .quote-picker .form-control { min-width: 0; border-color: #c9ddda; }
#app-container .quote-editor-modal .quote-help { display: block; margin-top: 6px; color: #7a898e; font-size: .78rem; line-height: 1.4; }
#app-container .quote-editor-modal .quote-modal-search { margin-bottom: 18px; padding: 16px; border: 1px solid #dce6e5; border-radius: 14px; background: #fff; }
#app-container .quote-editor-modal .quote-modal-search .form-group { margin-bottom: 0; }
#app-container .quote-editor-modal .quote-modal-search .form-control { padding-right: 42px; }
#app-container .quote-editor-modal .quote-results { overflow-x: auto; margin-top: 16px; border: 1px solid #dce6e5; border-radius: 12px; background: #fff; }
#app-container .quote-editor-modal .quote-reference-results { max-height: min(360px, calc(100vh - 430px)); overflow-y: auto; overscroll-behavior: contain; }
#app-container .quote-editor-modal .quote-results .table { min-width: 720px; margin-bottom: 0; }
#app-container .quote-editor-modal .quote-results .table thead th { border-top: 0; color: #587078; font-size: .72rem; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
#app-container .quote-editor-modal .quote-results .table tbody td { vertical-align: middle; }
#app-container .quote-editor-modal .quote-results .table tbody td:nth-child(2) { width: 104px; min-width: 104px; text-align: center; }
#app-container .quote-radio { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 92px; margin: 0; padding: 6px 8px; border: 1px solid transparent; border-radius: 9px; color: #557078; cursor: pointer; font-size: .72rem; font-weight: 700; line-height: 1; transition: background .18s ease, border-color .18s ease, color .18s ease; }
#app-container .quote-radio:hover { border-color: #b9d6d0; background: #eef7f4; color: #2f7566; }
#app-container .quote-radio input { position: absolute; width: 1px !important; height: 1px !important; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
#app-container .quote-radio span { display: inline-block; width: 17px; height: 17px; border: 2px solid #aebfc1; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px #fff; transition: border-color .18s ease, background .18s ease; }
#app-container .quote-radio input:checked + span { border-color: #3d907d; background: #3d907d; }
#app-container .quote-radio input:focus-visible + span { outline: 3px solid rgba(78,155,138,.25); outline-offset: 2px; }
#app-container .quote-radio small { font-size: .7rem; }
#app-container .quote-reference-results { margin-top: 12px; }
#app-container .quote-reference-empty,
#app-container .quote-reference-loading,
#app-container .quote-reference-error { padding: 14px; border: 1px dashed #cbd9d8; border-radius: 10px; color: #78868b; font-size: .82rem; text-align: center; }
#app-container .quote-reference-error { border-color: #e6b9b9; background: #fff7f7; color: #a34f4f; }
#app-container .quote-reference-result { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; padding: 12px 14px; border: 1px solid #dce6e5; border-radius: 11px; background: #fff; color: #40565e; text-align: left; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
#app-container .quote-reference-result:hover { border-color: #8fc5b8; box-shadow: 0 7px 18px rgba(48,108,94,.1); transform: translateY(-1px); }
#app-container .quote-reference-result-main { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
#app-container .quote-reference-result-main strong { overflow: hidden; color: #2f4c55; text-overflow: ellipsis; white-space: nowrap; }
#app-container .quote-reference-result small { color: #78868b; font-size: .75rem; }
#app-container .quote-reference-result-meta { max-width: 54%; color: #687b81; font-size: .78rem; text-align: right; }
#app-container .quote-reference-selected { margin-bottom: 8px; padding: 9px 12px; border-radius: 9px; background: #eaf6f2; color: #347565; font-size: .8rem; }
#app-container .quote-editor-modal .quote-search-actions { display: flex; justify-content: flex-end; margin-top: 16px; }
#app-container .quote-editor-modal .quote-search-actions .btn { min-width: 170px; border-radius: 10px; font-weight: 700; }
#app-container .quote-editor-modal .quote-empty-state { display: none; margin: 16px 0 0; padding: 18px; border: 1px dashed #cbd9d8; border-radius: 12px; color: #78868b; text-align: center; }
#app-container .quote-editor-modal .quote-modal-alert { position: sticky !important; top: 0 !important; right: auto !important; z-index: 2 !important; width: 100%; margin: 0 0 16px !important; }
#app-container .quote-editor-modal .card { border: 1px solid rgba(87,96,102,.14); border-radius: 14px; background: rgba(255,255,255,.82); box-shadow: 0 8px 20px rgba(58,64,69,.06); }
#app-container .quote-editor-modal table { background: #fff; }
#app-container.quote-modal-open { overflow: hidden; }
#app-container.quote-modal-open > main { position: relative; z-index: 100000 !important; }
#app-container.quote-modal-open > .app-sidebar,
#app-container.quote-modal-open > .menu,
#app-container.quote-modal-open > .navbar { z-index: 1 !important; pointer-events: none; }
@media (max-width: 767px) { #app-container .quote-editor-modal { padding: 14px 10px; } #app-container .quote-editor-modal .modal-body { max-height: calc(100vh - 165px); padding: 16px; } #app-container .quote-editor-modal .modal-header, #app-container .quote-editor-modal .modal-footer { padding-right: 16px; padding-left: 16px; } #app-container .quote-editor-modal .quote-picker { flex-direction: column; } #app-container .quote-editor-modal .quote-picker .btn { width: 100%; } #app-container .quote-editor-modal .modal-footer { flex-direction: column-reverse; } #app-container .quote-editor-modal .modal-footer .btn { width: 100%; } #app-container .quote-reference-result { align-items: flex-start; flex-direction: column; gap: 8px; } #app-container .quote-reference-result-meta { max-width: 100%; text-align: left; } }
#app-container .quote-edit-livewire { width: 100%; min-width: 0; }
#app-container .quote-edit-livewire #formulario_container { max-width: 100%; min-width: 0; overflow-x: hidden; }
#app-container .quote-edit-livewire #add_qoute { width: 100%; max-width: 100%; overflow-x: auto; }
#app-container .quote-edit-livewire #add_qoute > table { width: 100%; min-width: 1120px; margin-bottom: 0; table-layout: fixed; }
#app-container .quote-edit-livewire #add_qoute > table th,
#app-container .quote-edit-livewire #add_qoute > table td { overflow-wrap: anywhere; }
#app-container .quote-edit-livewire #add_qoute > table th:last-child,
#app-container .quote-edit-livewire #add_qoute > table td:last-child { min-width: 120px; white-space: nowrap; }

/* User edition drawer */
#app-container .user-edit-drawer {
  padding-right: 0 !important;
  display: none !important;
  position: fixed;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

#app-container .user-edit-drawer.is-open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#app-container .user-edit-drawer .modal-dialog {
  width: min(100%, 440px);
  max-width: 440px;
  height: 100%;
  margin: 0 0 0 auto;
  transform: translateX(100%) !important;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}

#app-container .user-edit-drawer.show .modal-dialog,
#app-container .user-edit-drawer.is-open .modal-dialog {
  transform: translateX(0) !important;
}

#app-container .user-edit-drawer .modal-content {
  min-height: 100vh;
  height: 100vh;
  overflow-y: auto;
  border-radius: 24px 0 0 24px;
}

#app-container .user-edit-drawer .modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(242, 244, 245, .94);
}

#app-container .user-edit-drawer .modal-body {
  padding: 28px;
}

body.modal-open .modal-backdrop {
  background-color: #3f454a;
  opacity: .42;
}

body.user-drawer-open {
  overflow: hidden;
}

.user-edit-backdrop {
  position: fixed;
  z-index: 1040;
  inset: 0;
  background: #3f454a;
  opacity: .42;
}

@media (max-width: 575px) {
  #app-container .user-edit-drawer .modal-dialog {
    width: 100%;
    max-width: 100%;
  }

  #app-container .user-edit-drawer .modal-content {
    border-radius: 0;
  }
}

@media (max-width: 767px) {
  #app-container > main .dataTables_wrapper .dataTables_length,
  #app-container > main .dataTables_wrapper .dataTables_filter {
    float: none;
    margin-bottom: 10px;
    text-align: left;
  }

  #app-container > main table.dataTable {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Livewire user module: stable table dimensions and native server interactions */
#app-container .user-module {
  position: relative;
  width: 100%;
  min-width: 0;
  font-size: 15px;
}
#app-container .user-module-loading { position: absolute; z-index: 10; inset: 0; display: none; align-items: flex-start; justify-content: center; gap: 10px; padding-top: 220px; color: #586168; background: rgba(238, 241, 242, .32); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); font-weight: 600; pointer-events: none; }
#app-container .user-table-loading__spinner { width: 20px; height: 20px; border: 3px solid rgba(104, 112, 119, .22); border-top-color: #687077; border-radius: 50%; animation: user-table-spin .7s linear infinite; }
@keyframes user-table-spin { to { transform: rotate(360deg); } }

#app-container .user-module__toolbar,
#app-container .user-table-card__filters,
#app-container .user-table-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

#app-container .user-module__toolbar {
  margin-bottom: 24px;
}

#app-container .user-table-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 20px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 16px 38px rgba(58, 64, 69, .11), inset 0 1px rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  backdrop-filter: blur(18px) saturate(115%);
}

#app-container .user-table-card__filters,
#app-container .user-table-card__footer {
  padding: 18px 22px;
}

#app-container .user-search {
  display: flex;
  align-items: center;
  width: min(100%, 420px);
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(87, 96, 102, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .58);
}

#app-container .user-search i { margin-right: 10px; color: #778087; }
#app-container .user-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #343a3f; }
#app-container .user-per-page { display: flex; align-items: center; gap: 8px; color: #687077; white-space: nowrap; }
#app-container .user-per-page select { min-height: 36px; padding: 4px 28px 4px 10px; border: 1px solid rgba(87, 96, 102, .22); border-radius: 9px; background: rgba(255, 255, 255, .7); }

#app-container .user-table-wrap { position: relative; width: 100%; min-height: 640px; overflow-x: auto; contain: layout paint; }
#app-container .user-table { width: 100%; min-width: 880px; margin: 0; table-layout: fixed; border-collapse: collapse; color: #4a555b; }
#app-container .user-table__id { width: 7%; }
#app-container .user-table__role { width: 16%; }
#app-container .user-table__date { width: 14%; }
#app-container .user-table__actions { width: 22%; }
#app-container .user-table th { padding: 15px 18px; border-top: 1px solid rgba(87, 96, 102, .12); border-bottom: 1px solid rgba(87, 96, 102, .16); color: #465158; background: rgba(221, 225, 227, .7); font-size: 15px; font-weight: 700; }
#app-container .user-table td { height: 64px; padding: 12px 18px; border-bottom: 1px solid rgba(87, 96, 102, .1); font-size: 15px; vertical-align: middle; overflow-wrap: anywhere; }
#app-container .user-table tbody tr { background: rgba(255, 255, 255, .2); }
#app-container .user-table tbody tr:hover { background: rgba(255, 255, 255, .62); }
#app-container .user-id { color: #7a8389; font-weight: 600; }
#app-container .user-role { display: inline-block; margin: 2px 3px 2px 0; padding: 4px 9px; border-radius: 8px; color: #4f5960; background: rgba(198, 204, 208, .75); font-size: 13px; }
#app-container .user-actions { white-space: nowrap; }
#app-container .user-actions .btn { margin-left: 5px; }
#app-container .module-action-select { display: inline-flex; align-items: center; justify-content: space-between; width: 100%; min-width: 190px; min-height: 44px; padding: 9px 38px 9px 14px; border: 1px solid rgba(87, 96, 102, .24); border-radius: 10px; color: #465158; background-color: rgba(255, 255, 255, .82); box-shadow: 0 3px 10px rgba(58, 64, 69, .06); cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.4; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
#app-container select.module-action-select { appearance: auto; }
#app-container .module-action-select:hover { border-color: rgba(87, 96, 102, .45); background-color: #fff; }
#app-container .module-action-select:focus { border-color: #80bdff; outline: 0; box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .18), 0 3px 10px rgba(58, 64, 69, .06); }
#app-container .reference-options .module-action-select { display: flex; }
#app-container .module-action-menu { position: relative; display: inline-block; min-width: 190px; vertical-align: middle; }
#app-container .module-action-menu > .module-action-select { display: flex; list-style: none; }
#app-container .module-action-menu > .module-action-select::-webkit-details-marker { display: none; }
#app-container .module-action-menu > .module-action-select::after { margin-left: 10px; content: '⌄'; color: #68777e; font-size: 16px; }
#app-container .module-action-menu[open] > .module-action-select { border-color: #80bdff; background-color: #fff; box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .12), 0 8px 18px rgba(58, 64, 69, .1); }
#app-container .module-action-menu__panel { position: absolute; z-index: 50; top: calc(100% + 7px); right: 0; width: 220px; padding: 7px; border: 1px solid rgba(87, 96, 102, .16); border-radius: 12px; background: rgba(255, 255, 255, .98); box-shadow: 0 14px 30px rgba(58, 64, 69, .16); }
#app-container .module-action-menu__panel a,
#app-container .module-action-menu__panel button { display: block; width: 100%; margin: 0; padding: 10px 12px; border: 0; border-radius: 8px; color: #4b5b62; background: transparent; font-size: 13px; font-weight: 600; line-height: 1.3; text-align: left; text-decoration: none; }
#app-container .module-action-menu__panel a:hover,
#app-container .module-action-menu__panel button:hover { color: #294f59; background: #eef5f5; }
#app-container .module-action-menu__panel button { cursor: pointer; }
#app-container .reference-modal-backdrop { position: fixed; z-index: 1060; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(63, 69, 74, .48); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#app-container .reference-modal { width: min(100%, 520px); overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 20px; background: rgba(242,244,245,.97); box-shadow: 0 24px 70px rgba(45,51,56,.3); }
#app-container .reference-modal__header { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid rgba(87,96,102,.14); }
#app-container .reference-modal__header h2 { margin: 4px 0 0; color: #3e464b; font-size: 21px; }
#app-container .reference-modal__eyebrow { color: #7a8389; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
#app-container .reference-modal__close { padding: 0 6px; border: 0; color: #687077; background: transparent; font-size: 29px; line-height: 1; }
#app-container .reference-modal__body { min-height: 100px; padding: 24px; color: #4a555b; white-space: pre-wrap; overflow-wrap: anywhere; }
#app-container .reference-modal__body label { display: block; margin-bottom: 8px; color: #465158; font-weight: 600; }
#app-container .reference-modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
#app-container .user-table__empty { height: 120px; color: #7a8389; text-align: center; }
#app-container .user-table-card__footer { color: #687077; }
#app-container .user-table-card__footer nav { margin-left: auto; }
#app-container .user-table-card__footer .pagination { margin: 0; }
#app-container .user-table-card__footer .page-link { border-color: rgba(87, 96, 102, .2); color: #566169; background: rgba(255, 255, 255, .5); }
#app-container .user-table-card__footer .page-item.active .page-link { border-color: #687077; background: #687077; }
#app-container .user-module.is-loading { cursor: progress; }

#app-container .user-edit-drawer.is-open { z-index: 1050; display: block !important; visibility: visible !important; opacity: 1 !important; width: min(100%, 440px); margin: 0 0 0 auto; min-height: 100vh; height: 100vh; overflow-y: auto; border: 1px solid rgba(255, 255, 255, .72); border-radius: 24px 0 0 24px; background: rgba(242, 244, 245, .96); box-shadow: 0 20px 50px rgba(45, 51, 56, .22); }
#app-container .user-edit-drawer__header { display: flex; align-items: flex-start; justify-content: space-between; padding: 28px; border-bottom: 1px solid rgba(87, 96, 102, .12); }
#app-container .user-edit-drawer__header h2 { margin: 4px 0 0; color: #3e464b; font-size: 24px; }
#app-container .user-edit-drawer__header .eyebrow { color: #7a8389; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
#app-container .user-edit-drawer__body { padding: 28px; }
#app-container .user-edit-drawer__actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 12px; }
#app-container .user-form-shell { max-width: 720px; margin: 22px auto 40px; }
#app-container .user-form-shell .user-form-page { padding: 32px; border: 1px solid rgba(255, 255, 255, .72); border-radius: 20px; background: rgba(255, 255, 255, .6); box-shadow: 0 16px 38px rgba(58, 64, 69, .11), inset 0 1px rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(18px) saturate(115%); backdrop-filter: blur(18px) saturate(115%); }
#app-container .user-form-shell .user-form-page h1 { margin: 0 0 6px; color: #3e464b; font-size: 25px; font-weight: 700; }
#app-container .user-form-shell .user-form-page hr { margin: 22px 0; border-color: rgba(87, 96, 102, .14); }
#app-container .user-form-shell .user-edit-drawer__body { padding: 32px; border: 1px solid rgba(255, 255, 255, .72); border-radius: 20px; background: rgba(255, 255, 255, .6); box-shadow: 0 16px 38px rgba(58, 64, 69, .11), inset 0 1px rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(18px) saturate(115%); backdrop-filter: blur(18px) saturate(115%); }
#app-container .role-permission-list { max-height: 360px; overflow-y: auto; padding: 8px; border: 1px solid rgba(87, 96, 102, .18); border-radius: 12px; background: rgba(255, 255, 255, .38); }
#app-container .role-permission-item { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px; border-radius: 9px; color: #4a555b; cursor: pointer; }
#app-container .role-permission-item:hover { background: rgba(255, 255, 255, .62); }
#app-container .role-permission-item input { width: 17px; height: 17px; accent-color: #687077; }
#app-container .role-permission-item--all { margin-bottom: 8px; border: 1px solid rgba(104, 112, 119, .2); background: rgba(255, 255, 255, .48); }
#app-container .permission-table { min-width: 720px; }
#app-container .role-table { min-width: 980px; }
#app-container .category-client-table { min-width: 1040px; }
#app-container .category-client-table th:first-child, #app-container .category-client-table td:first-child { width: 8%; }
#app-container .category-client-table th:nth-child(2), #app-container .category-client-table td:nth-child(2) { width: 20%; }
#app-container .category-client-table th:nth-child(3), #app-container .category-client-table td:nth-child(3) { width: 26%; }
#app-container .category-client-table th:nth-child(4), #app-container .category-client-table td:nth-child(4) { width: 15%; }
#app-container .category-client-table th:nth-child(5), #app-container .category-client-table td:nth-child(5) { width: 12%; }
#app-container .category-client-table th:last-child, #app-container .category-client-table td:last-child { width: 19%; }
#app-container .role-table__permissions { width: 38%; }
#app-container .reference-table { width: 100%; min-width: 1360px; table-layout: fixed; }
#app-container .reference-table .user-table__id { width: 6%; }
#app-container .reference-table__name { width: 15%; }
#app-container .reference-table__num { width: 7%; }
#app-container .reference-table__description { width: 16%; }
#app-container .reference-table__brand { width: 9%; }
#app-container .reference-table__notes { width: 15%; }
#app-container .reference-table .user-table__date { width: 10%; }
#app-container .reference-table__actions { width: 15%; min-width: 220px; }
#app-container .reference-table th,
#app-container .reference-table td { vertical-align: middle; }
#app-container .reference-table tbody tr { height: 78px; }
#app-container .reference-table td:nth-child(3),
#app-container .reference-table td:nth-child(4),
#app-container .reference-table td:nth-child(8) { color: #65757c; font-size: 13px; text-align: center; }
#app-container .reference-table__name-cell strong { display: block; overflow: hidden; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
#app-container .reference-table__description-cell,
#app-container .reference-table__brand-cell { overflow: hidden; line-height: 1.35; }
#app-container .reference-table__name-cell strong { color: #354b55; font-size: 14px; }
#app-container .reference-table__description-cell { color: #68777e; font-size: 13px; }
#app-container .reference-table__description-text { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#app-container .reference-table__brand-cell { color: #526871; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
#app-container .reference-table__id-cell { white-space: nowrap; }
#app-container .reference-note-cell { min-width: 0; max-width: 100%; }
#app-container .reference-note-cell > span { display: -webkit-box; overflow: hidden; color: #59666d; font-size: 12px; line-height: 1.4; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
#app-container .reference-note-cell__empty { color: #9ba4a8 !important; font-style: italic; }
#app-container .reference-note-cell__button { display: block; margin-top: 5px; padding: 0; border: 0; color: #4f7180; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
#app-container .reference-note-cell__button:hover { color: #2d5363; text-decoration: underline; }
#app-container .reference-note-modal__content { min-height: 100px; padding: 14px; border: 1px solid rgba(87,96,102,.14); border-radius: 10px; color: #4a555b; background: rgba(255,255,255,.68); line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
#app-container .reference-export-tools { display: flex; align-items: center; gap: 10px; }
#app-container .reference-export-tools > details { position: relative; }
#app-container .reference-export-tools > details > summary { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 13px; border: 1px solid rgba(104,112,119,.38); border-radius: 9px; color: #4f5960; background: rgba(255,255,255,.58); cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
#app-container .reference-export-tools > details > summary::-webkit-details-marker { display: none; }
#app-container .reference-export-panel { position: absolute; z-index: 30; right: 0; width: 330px; margin-top: 8px; padding: 16px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(242,244,245,.98); box-shadow: 0 15px 35px rgba(45,51,56,.24); color: #4a555b; }
#app-container .reference-export-section { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(87,96,102,.14); }
#app-container .reference-export-parts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
#app-container .reference-export-parts a { padding: 5px 9px; border: 1px solid rgba(104,112,119,.3); border-radius: 7px; color: #566169; background: rgba(255,255,255,.6); font-size: 13px; }
#app-container .reference-options { display: inline-block; min-width: 150px; margin-right: 5px; vertical-align: middle; }
#app-container .reference-options summary { list-style: none; }
#app-container .reference-options summary::-webkit-details-marker { display: none; }
#app-container .reference-options summary::after { margin-left: 8px; content: '⌄'; color: #495057; font-size: 15px; }
#app-container .reference-options summary:focus { border-color: #80bdff; outline: 0; box-shadow: 0 0 0 .2rem rgba(0,123,255,.25); }
#app-container .reference-options[open] summary { color: #495057; background-color: #fff; }
#app-container .reference-options__panel { position: absolute; z-index: 20; width: 300px; margin-top: 7px; padding: 15px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(242,244,245,.98); box-shadow: 0 15px 35px rgba(45,51,56,.24); white-space: normal; }
#app-container .reference-options__panel strong { display: block; margin-bottom: 6px; color: #465158; font-size: 14px; }
#app-container .reference-options__note { padding-bottom: 12px; color: #4a555b; }
#app-container .reference-options__note span { display: block; max-height: 90px; overflow-y: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
#app-container .reference-options__assign { padding-top: 12px; border-top: 1px solid rgba(87,96,102,.14); }
#app-container .reference-options__form { display: flex; gap: 7px; }
#app-container .reference-options__form input { width: 125px; min-height: 31px; padding: 4px 8px; border: 1px solid rgba(87,96,102,.25); border-radius: 7px; background: #fff; font-size: 13px; }
#app-container .reference-options__actions { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; padding-top:12px; border-top:1px solid rgba(87,96,102,.14); }
#app-container .reference-options__actions .btn { margin:0; }
#app-container .reference-id-filter { width: min(100%, 180px); min-height: 42px; }
#app-container .reference-search-filters .user-search { flex: 1 1 280px; }
#app-container .reference-search-field { width: 170px; min-height: 42px; }
#app-container .reference-search-mode { display: inline-flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 10px; border: 1px solid rgba(87,96,102,.18); border-radius: 10px; color: #68747a; background: rgba(255,255,255,.42); font-size: .75rem; white-space: nowrap; }
#app-container .reference-search-mode label { display: inline-flex; align-items: center; gap: 5px; margin: 0; cursor: pointer; }
#app-container .reference-search-mode input { accent-color: #5d8fb1; }
@media (max-width: 575px) { #app-container .reference-search-field { width: 100%; } }
#app-container .quote-table { min-width: 980px; }
#app-container .quote-table__number { width: 16%; }
#app-container .quote-table__date { width: 16%; }
#app-container .quote-table__actions { width: 25%; }
#app-container .quote-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
#app-container .quote-actions .btn { margin: 0; }
#app-container .quote-edit-livewire-shell { max-width: none; padding-right: 28px; padding-left: 28px; }
#app-container .quote-edit-livewire { width: 100%; }
#app-container .quote-edit-livewire #qoute_form,
#app-container .quote-edit-livewire #previsualizacion_container { max-width: 1480px; margin-right: auto; margin-left: auto; }
#app-container .quote-edit-livewire #qoute_form > .col-12,
#app-container .quote-edit-livewire #previsualizacion_container .container-fluid { padding-right: 0; padding-left: 0; }
#app-container .quote-edit-livewire h1 { color: #354149; font-size: 1.7rem; font-weight: 800; }
#app-container .quote-edit-livewire .top-right-button-container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#app-container .quote-edit-livewire .top-right-button { margin: 0 !important; border-radius: 10px; box-shadow: 0 5px 14px rgba(58,64,69,.08); }
#app-container .quote-editor-modal .quote-colombian-number { text-align: right; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
#app-container .quote-editor-modal .input-group { margin-bottom: 16px !important; }
#app-container .quote-editor-modal .form-group { margin-bottom: 18px; padding-bottom: 4px; }
#app-container .quote-editor-modal .form-group + .form-group { border-top: 1px solid rgba(87,96,102,.08); padding-top: 14px; }
#app-container .quote-editor-modal .input-group-text { min-width: 42px; justify-content: center; color: #55717a; background: #edf4f4; border-color: rgba(87,96,102,.18); font-weight: 700; }
#app-container .quote-edit-livewire #tbody_Qoute tr { background: rgba(255,255,255,.45); }
#app-container .quote-edit-livewire #tbody_Qoute td { vertical-align: middle; }
@media (max-width: 767px) { #app-container .quote-edit-livewire-shell { padding-right: 12px; padding-left: 12px; } #app-container .quote-edit-livewire .top-right-button-container { align-items: stretch; flex-direction: column; } #app-container .quote-edit-livewire .top-right-button { width: 100%; } }
#app-container .client-table { min-width: 1120px; }
#app-container .provider-table { min-width: 1020px; }
#app-container .client-table th:first-child, #app-container .client-table td:first-child { width: 27%; }
#app-container .provider-table th:first-child, #app-container .provider-table td:first-child { width: 25%; }
#app-container .client-table__id, #app-container .provider-table__country { width: 16%; }
#app-container .client-table__phone, #app-container .provider-table__phone { width: 14%; }
#app-container .client-table__categories { width: 24%; }
#app-container .client-table__date, #app-container .provider-table__date { width: 13%; }
#app-container .client-table__actions, #app-container .provider-table__actions { width: 22%; }

@media (max-width: 767px) {
  #app-container .user-module__toolbar,
  #app-container .user-table-card__filters,
  #app-container .user-table-card__footer { align-items: stretch; flex-direction: column; }
  #app-container .user-search { width: 100%; }
  #app-container .user-table-card__footer nav { margin-left: 0; }
}

/* Sidebar visible and readable */
#app-container > .menu {
  width: 260px;
  visibility: visible !important;
  opacity: 1 !important;
  background: transparent;
}

#app-container > .menu .main-menu {
  width: 260px !important;
  height: calc(100% - 100px) !important;
  padding: 18px 12px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, .58);
  border-radius: 0;
}

#app-container > .menu .main-menu .scroll {
  height: 100%;
  padding: 0 4px;
  overflow-y: auto;
}

#app-container > .menu .main-menu ul li a {
  min-height: 58px;
  height: auto !important;
  margin: 5px 0;
  padding: 10px 12px;
  flex-direction: row;
  justify-content: flex-start;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left !important;
}

#app-container > .menu .main-menu ul li a i {
  flex: 0 0 28px;
  font-size: 23px;
  line-height: 28px;
  text-align: center;
}

#app-container > .menu .main-menu ul li.active:after {
  top: 5px;
  left: 0;
  width: 4px;
  height: calc(100% - 10px);
  border-radius: 4px;
  transform: none;
}

#app-container > .menu .sub-menu {
  left: 260px !important;
  width: 230px;
  border-radius: 0;
}

#app-container.menu-sub-hidden > .menu .sub-menu,
#app-container.sub-hidden > .menu .sub-menu,
#app-container.menu-hidden > .menu .sub-menu {
  transform: translateX(-260px) !important;
}

#app-container > main {
  margin-left: 300px !important;
  width: calc(100% - 300px) !important;
  min-width: 0;
  transition: none !important;
}

#app-container > main > .container-fluid,
#app-container > main > .container-fluid > .row,
#app-container > main > .container-fluid > .row > .col-12 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* The current sidebar is fixed and independent from the legacy Dore menu. */
#app-container > main > .container-fluid {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  transform: none;
}

#app-container .user-table-card,
#app-container .user-table-wrap,
#app-container .user-table {
  box-sizing: border-box;
  transition: none !important;
}

#app-container.main-hidden > main,
#app-container.menu-hidden > main {
  margin-left: 40px !important;
}

#app-container.menu-main-hidden > main {
  margin-left: 300px !important;
}

@media (max-width: 767px) {
  #app-container > .menu {
    width: 260px;
  }

  #app-container > .menu .main-menu {
    width: 260px !important;
  }

  #app-container > main,
  #app-container.main-hidden > main,
  #app-container.menu-hidden > main,
  #app-container.menu-main-hidden > main {
    margin-left: 15px !important;
  }
}

/* Simple fixed sidebar: independent from the legacy Dore menu states */
#app-container > .app-sidebar {
  box-sizing: border-box;
  position: fixed;
  z-index: 10;
  top: 100px;
  bottom: 0;
  left: 0;
  width: 260px;
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, .62);
  background: rgba(220, 224, 226, .94);
  box-shadow: 8px 0 30px rgba(58, 64, 69, .12);
  -webkit-backdrop-filter: blur(20px) saturate(105%);
  backdrop-filter: blur(20px) saturate(105%);
}

.app-sidebar__brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0 10px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(93, 101, 107, .18);
}

.app-sidebar__brand .logo {
  display: block;
  width: 88px;
  height: 30px;
  margin: 0;
  background-size: contain;
}

.app-sidebar__label {
  color: #4a5359;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.app-sidebar__nav {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: visible;
}

.app-sidebar__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  gap: 13px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #454e54;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.app-sidebar__link i {
  flex: 0 0 24px;
  color: #687179;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}

.app-sidebar__link:hover,
.app-sidebar__link:focus,
.app-sidebar__link.is-active {
  border-color: rgba(255, 255, 255, .74);
  color: #252c31;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 5px 14px rgba(58, 64, 69, .08), inset 0 1px rgba(255, 255, 255, .8);
  transform: translateX(2px);
}

.app-sidebar__link:hover i,
.app-sidebar__link:focus i,
.app-sidebar__link.is-active i {
  color: #4e5960;
}

#app-container > .navbar .menu-button,
#app-container > .navbar .menu-button-mobile {
  display: none !important;
}

#app-container > main {
  margin-left: 300px !important;
}

@media (max-width: 1199px) {
  #app-container > .app-sidebar {
    top: 80px;
    width: 240px;
  }

  #app-container > main {
    margin-left: 275px !important;
  }
}

@media (max-width: 767px) {
  #app-container > .navbar .menu-button-mobile {
    display: block !important;
  }

  #app-container > .app-sidebar {
    top: 70px;
    width: 240px;
    transform: translateX(-100%);
    transition: transform .25s ease;
  }

  #app-container.menu-mobile > .app-sidebar {
    transform: translateX(0);
  }

  #app-container > main {
    margin-left: 15px !important;
    width: calc(100% - 30px) !important;
  }
}

/* Keep the dashboard geometry stable while fonts, Livewire and tables initialize. */
#app-container > .navbar { position: fixed !important; z-index: 1000 !important; top: 0; right: 0; left: 0; width: 100%; }
#app-container > main { margin-top: 122px !important; margin-bottom: 24px !important; margin-left: 300px !important; width: calc(100% - 300px) !important; min-width: 0; transition: none !important; }
@media (max-width: 1199px) and (min-width: 768px) {
  #app-container > main { margin-top: 102px !important; margin-left: 275px !important; width: calc(100% - 275px) !important; }
}
@media (max-width: 767px) {
  #app-container > main { margin-top: 104px !important; margin-left: 15px !important; width: calc(100% - 30px) !important; }
}

.profile-page { max-width: 1280px; margin: 0 auto; padding-bottom: 32px; }
.profile-page__hero { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:26px 30px; margin-bottom:18px; border:1px solid #e2ebe5; border-radius:16px; background:linear-gradient(135deg,#f7fbf8,#edf6f0); }
.profile-page__identity { display:flex; align-items:center; gap:18px; min-width:0; }
.profile-page__avatar { width:78px; height:78px; flex:0 0 78px; object-fit:cover; border:4px solid #fff; border-radius:50%; box-shadow:0 5px 16px rgba(48,91,67,.14); }
.profile-page__eyebrow, .profile-page__summary-label { display:block; color:#6d9b7d; font-size:10px; font-weight:800; letter-spacing:.12em; }
.profile-page__identity h1 { margin:3px 0 2px; padding:0; color:#30483d; font-size:25px; }
.profile-page__identity p { margin:0; color:#71837a; }
.profile-page__summary { min-width:220px; padding-left:24px; border-left:1px solid #d5e4da; }
.profile-page__summary strong, .profile-page__summary small { display:block; margin-top:4px; color:#40584f; }
.profile-page__summary small { color:#789087; font-size:11px; }
.profile-page__status-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:18px; }
.profile-page__status-card { display:flex; align-items:flex-start; gap:12px; min-height:82px; padding:17px; border:1px solid #e5ece8; border-radius:12px; background:#fff; }
.profile-page__status-card > i { color:#6d9b7d; font-size:19px; }
.profile-page__status-card strong, .profile-page__status-card span { display:block; }
.profile-page__status-card strong { color:#40584f; font-size:13px; }
.profile-page__status-card span { margin-top:4px; color:#82918d; font-size:11px; line-height:1.45; }
.profile-page__section { display:grid; grid-template-columns:235px minmax(0,1fr); gap:24px; margin-bottom:18px; padding:24px; border:1px solid #e5ece8; border-radius:14px; background:#fff; box-shadow:0 3px 12px rgba(43,71,56,.035); }
.profile-page__section-heading > span { color:#6d9b7d; font-size:10px; font-weight:800; letter-spacing:.1em; }
.profile-page__section-heading h2 { margin:5px 0 6px; color:#40584f; font-size:18px; }
.profile-page__section-heading p { margin:0; color:#82918d; font-size:12px; line-height:1.5; }
.profile-page__section-body { min-width:0; }
.profile-page__section-body > * { margin:0 !important; }
.profile-page__section-body .grid, .profile-page__section-body .flex { max-width:none; }
.profile-page__section-body .border-t, .profile-page__section-body .border-gray-200 { border-color:#edf1ef !important; }
.profile-page__section--danger { border-color:#f0dddd; }
@media (max-width: 767px) { .profile-page__hero, .profile-page__section { display:block; padding:18px; }.profile-page__summary { min-width:0; margin-top:18px; padding:14px 0 0; border-top:1px solid #d5e4da; border-left:0; }.profile-page__status-grid { grid-template-columns:1fr; }.profile-page__section-heading { margin-bottom:18px; } }

/* Keep icon badges centered even when generic span styles are applied nearby. */
.client-details__overview-grid .client-details__overview-icon,
.client-details__summary-icon,
.client-details__overview-equipment-icon,
.client-category-option__check { display:flex; align-items:center; justify-content:center; margin-top:0; line-height:1; }
.client-details__overview-grid .client-details__overview-icon i,
.client-details__summary-icon i,
.client-details__overview-equipment-icon i,
.client-category-option__check i { display:inline-flex; align-items:center; justify-content:center; line-height:1; }
.client-details__contact-grid article > .client-details__contact-avatar { display:flex; align-items:center; justify-content:center; margin-top:0; color:#4c7b64; font-size:17px; line-height:1; text-align:center; }
.client-details__contact-grid article > div a { display:block; overflow:hidden; color:#687b73; font-size:11px; line-height:1.5; text-overflow:ellipsis; white-space:nowrap; }
.client-details__contact-grid article > div a:hover { color:#4c7b64; text-decoration:underline; }
.client-details__contact-grid article > div a i { font-size:10px; }
.profile-info-form { color:#536c61; }
.profile-info-form__photo { display:flex; align-items:center; gap:18px; padding:16px; margin-bottom:22px; border:1px solid #e5ede8; border-radius:12px; background:#f8fbf9; }
.profile-info-form__avatar { display:flex; align-items:center; justify-content:center; width:76px; height:76px; overflow:hidden; flex:0 0 76px; border-radius:50%; background:#e3f0e7; color:#609076; font-size:27px; }
.profile-info-form__avatar img { width:100%; height:100%; object-fit:cover; }
.profile-info-form__avatar--preview { display:block; background-position:center; background-size:cover; background-repeat:no-repeat; }
.profile-info-form__photo-copy strong, .profile-info-form__photo-copy span { display:block; }
.profile-info-form__photo-copy strong { color:#40584f; font-size:14px; }
.profile-info-form__photo-copy > span { margin:3px 0 10px; color:#82918d; font-size:11px; }
.profile-info-form__uploading { display:block; margin-top:8px; color:#5b896d; font-size:11px; }
.profile-info-form__photo-actions { display:flex; align-items:center; gap:8px; }
.profile-info-form__fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.profile-info-form__field label { display:block; margin-bottom:6px; color:#536c61; font-size:12px; font-weight:700; }
.profile-info-form__input { display:flex; align-items:center; gap:9px; min-height:40px; padding:0 12px; border:1px solid #dce8e0; border-radius:8px; background:#fff; }
.profile-info-form__input:focus-within { border-color:#7ca88c; box-shadow:0 0 0 3px rgba(109,155,125,.12); }
.profile-info-form__input i { color:#6d9b7d; font-size:14px; }
.profile-info-form__input input { width:100%; padding:0; border:0; outline:0; color:#40584f; font-size:13px; }
.profile-info-form__input input::placeholder { color:#a3b1aa; }
.profile-info-form__verification { display:flex; align-items:center; gap:5px; margin-top:8px; color:#9a783c; font-size:11px; }
.profile-info-form__verification button { padding:0; border:0; background:transparent; color:#5b896d; font-size:11px; text-decoration:underline; cursor:pointer; }
.profile-info-form__footer { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:24px; padding-top:18px; border-top:1px solid #edf1ef; color:#91a099; font-size:11px; }
.profile-info-form__footer > div { display:flex; align-items:center; gap:12px; }
.profile-info-form__saved { color:#4f8b64; }
@media (max-width:767px) { .profile-info-form__fields { grid-template-columns:1fr; }.profile-info-form__footer { align-items:flex-start; flex-direction:column; }.profile-info-form__footer > div { width:100%; justify-content:space-between; } }
.profile-security-form__intro { display:flex; align-items:flex-start; gap:12px; margin-bottom:20px; padding:14px; border:1px solid #e5ede8; border-radius:10px; background:#f8fbf9; }
.profile-security-form__icon, .profile-session__icon { display:flex; align-items:center; justify-content:center; width:34px; height:34px; flex:0 0 34px; border-radius:9px; background:#e3f0e7; color:#609076; font-size:15px; }
.profile-security-form__intro strong, .profile-security-form__intro p { display:block; }.profile-security-form__intro strong { color:#40584f; font-size:13px; }.profile-security-form__intro p { margin:3px 0 0; color:#82918d; font-size:11px; line-height:1.5; }
.profile-security-form__fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }.profile-security-form .form-group { margin-bottom:0; }.profile-security-form label, .profile-2fa-code label, .profile-sessions-form label { display:block; margin-bottom:6px; color:#536c61; font-size:12px; font-weight:700; }.profile-input-group { display:flex; align-items:center; gap:8px; min-height:40px; padding:0 11px; border:1px solid #dce8e0; border-radius:8px; }.profile-input-group:focus-within { border-color:#7ca88c; box-shadow:0 0 0 3px rgba(109,155,125,.12); }.profile-input-group i { color:#6d9b7d; font-size:13px; }.profile-input-group input { width:100%; border:0; outline:0; color:#40584f; font-size:13px; }
.profile-form-actions { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:22px; padding-top:16px; border-top:1px solid #edf1ef; color:#91a099; font-size:11px; }.profile-form-actions > span { line-height:1.4; }.profile-sessions-list { display:grid; gap:8px; }.profile-session { display:flex; align-items:center; gap:11px; padding:11px 12px; border:1px solid #e6eee9; border-radius:9px; }.profile-session > div { min-width:0; flex:1; }.profile-session strong, .profile-session small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.profile-session strong { color:#40584f; font-size:12px; }.profile-session small { margin-top:3px; color:#82918d; font-size:10px; }.profile-session__current { padding:4px 7px; border-radius:5px; background:#e3f0e7; color:#4f8b64; font-size:10px; font-weight:700; }.profile-empty-state { display:flex; align-items:center; gap:8px; padding:15px; border:1px dashed #dce8e0; border-radius:9px; color:#82918d; font-size:11px; }.profile-empty-state i { color:#6d9b7d; }
.profile-2fa-setup { display:grid; grid-template-columns:minmax(0,1fr) 220px; gap:20px; align-items:start; padding:16px; border:1px solid #e5ede8; border-radius:10px; background:#f8fbf9; }.profile-2fa-setup h4, .profile-recovery-box h4 { margin:0 0 6px; color:#40584f; font-size:14px; }.profile-2fa-setup p, .profile-recovery-box p { margin:0; color:#82918d; font-size:11px; line-height:1.5; }.profile-2fa-qr { width:180px; height:180px; margin:15px auto 0; padding:8px; background:#fff; border:1px solid #e1eae4; }.profile-2fa-qr svg { width:100%; height:100%; }.profile-2fa-key { padding:12px; border-radius:8px; background:#fff; }.profile-2fa-key span { display:block; margin-bottom:5px; color:#82918d; font-size:10px; text-transform:uppercase; }.profile-2fa-key code { color:#40584f; font-size:12px; word-break:break-all; }.profile-2fa-code { max-width:300px; margin-top:16px; }.profile-2fa-code input { border-color:#dce8e0; }.profile-recovery-box { margin-top:16px; padding:16px; border:1px solid #e5ede8; border-radius:10px; background:#f8fbf9; }.profile-recovery-codes { display:grid; grid-template-columns:repeat(2,1fr); gap:6px; margin-top:12px; padding:12px; border-radius:8px; background:#fff; }.profile-recovery-codes code { color:#40584f; font-size:12px; }.profile-security-form__icon--danger { background:#f9e9e9; color:#c56767; }
.profile-page__section-body .profile-form-actions .btn, .profile-page__section-body .profile-form-actions x-confirms-password { white-space:nowrap; }
@media (max-width:767px) { .profile-security-form__fields, .profile-2fa-setup { grid-template-columns:1fr; }.profile-form-actions { align-items:flex-start; flex-direction:column; }.profile-form-actions .btn { width:100%; }.profile-2fa-qr { margin-left:0; } }
.profile-page .jetstream-modal { z-index:1050; padding:24px 15px; background:rgba(35,53,44,.38); }
.profile-page .jetstream-modal > div:last-child { max-width:500px !important; margin:8vh auto 0; overflow:hidden; border:1px solid #dce8e0; border-radius:12px; box-shadow:0 14px 42px rgba(38,65,50,.2); }
.profile-page .jetstream-modal > div:last-child > div:first-child { padding:20px 22px; }
.profile-page .jetstream-modal > div:last-child > div:first-child > div:first-child { color:#40584f; font-size:17px; font-weight:700; }
.profile-page .jetstream-modal > div:last-child > div:first-child > div:nth-child(2) { margin-top:10px; color:#687b73; font-size:12px; line-height:1.5; }
.profile-page .jetstream-modal > div:last-child > div:last-child { display:flex; justify-content:flex-end; gap:8px; padding:14px 22px; background:#f8fbf9; }

/* Scroll horizontal sincronizado para listados Livewire */
#app-container .table-scrollbar-top { display:block; height:14px; margin:0; overflow-x:scroll; overflow-y:hidden; border-top:1px solid rgba(87,96,102,.08); border-bottom:1px solid rgba(87,96,102,.08); background:rgba(245,248,247,.72); scrollbar-color:#a9bbb2 rgba(221,230,225,.55); scrollbar-width:thin; }
#app-container .table-scrollbar-top.is-scrollable { display:block; }
#app-container .table-scrollbar-top > div { height:1px; min-width:100%; }
#app-container .table-scrollbar-top::-webkit-scrollbar { height:9px; }
#app-container .table-scrollbar-top::-webkit-scrollbar-track { background:rgba(221,230,225,.55); }
#app-container .table-scrollbar-top::-webkit-scrollbar-thumb { border-radius:8px; background:#a9bbb2; }
#app-container .table-scrollbar-top::-webkit-scrollbar-thumb:hover { background:#78998a; }
#app-container .user-table-wrap, #app-container .client-details__table-wrap, #app-container .repair-catalog__table-wrap { overflow-x:scroll !important; scrollbar-color:#a9bbb2 rgba(221,230,225,.55); scrollbar-width:thin; }
#app-container .user-table-wrap::-webkit-scrollbar, #app-container .client-details__table-wrap::-webkit-scrollbar, #app-container .repair-catalog__table-wrap::-webkit-scrollbar { height:11px; }
#app-container .user-table-wrap::-webkit-scrollbar-track, #app-container .client-details__table-wrap::-webkit-scrollbar-track, #app-container .repair-catalog__table-wrap::-webkit-scrollbar-track { border-radius:8px; background:rgba(221,230,225,.55); }
#app-container .user-table-wrap::-webkit-scrollbar-thumb, #app-container .client-details__table-wrap::-webkit-scrollbar-thumb, #app-container .repair-catalog__table-wrap::-webkit-scrollbar-thumb { border-radius:8px; background:#a9bbb2; }
#app-container .user-table-wrap::-webkit-scrollbar-thumb:hover, #app-container .client-details__table-wrap::-webkit-scrollbar-thumb:hover, #app-container .repair-catalog__table-wrap::-webkit-scrollbar-thumb:hover { background:#78998a; }

/* Reparaciones: catálogo de categorías y componentes */
#app-container .repair-catalog { padding-bottom:34px; color:#40584f; }
#app-container .repair-catalog__hero { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:20px; padding:28px 30px; border:1px solid #dfeae3; border-radius:20px; background:linear-gradient(120deg,#edf7f0 0%,#fbfdfb 58%,#f2f7fc 100%); box-shadow:0 12px 30px rgba(42,72,60,.06); }
#app-container .repair-catalog__eyebrow, #app-container .repair-catalog__section-kicker { color:#6d9880; font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
#app-container .repair-catalog__eyebrow i { margin-right:6px; } #app-container .repair-catalog__hero h1 { margin:7px 0 5px; color:#29463b; font-size:28px; font-weight:800; } #app-container .repair-catalog__hero p { max-width:670px; margin:0; color:#71837b; font-size:13px; line-height:1.55; }
#app-container .repair-catalog__back { border:1px solid #d5e4da; border-radius:9px; color:#527363; background:rgba(255,255,255,.7); font-size:12px; font-weight:700; white-space:nowrap; } #app-container .repair-catalog__alert { border:0; border-radius:10px; box-shadow:0 5px 16px rgba(56,106,75,.08); }
#app-container .repair-catalog__stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:18px; } #app-container .repair-stat { display:flex; align-items:center; gap:13px; min-height:82px; padding:16px 18px; border:1px solid #e1ebe5; border-radius:14px; background:#fff; box-shadow:0 5px 18px rgba(42,72,60,.045); } #app-container .repair-stat__icon { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:11px; font-size:16px; } #app-container .repair-stat--category .repair-stat__icon { color:#4e8068; background:#e6f2ea; } #app-container .repair-stat--component .repair-stat__icon { color:#5d7699; background:#e9eff8; } #app-container .repair-stat--guide .repair-stat__icon { color:#a37837; background:#faf1df; } #app-container .repair-stat small,#app-container .repair-stat strong { display:block; } #app-container .repair-stat small { margin-bottom:5px; color:#879891; font-size:10px; } #app-container .repair-stat strong { color:#345247; font-size:19px; line-height:1; } #app-container .repair-stat strong span { padding:0 4px; color:#9ab3a5; }
#app-container .repair-catalog__tabs { display:flex; gap:10px; margin-bottom:18px; padding:6px; border:1px solid #e0eae4; border-radius:13px; background:#f5f9f6; } #app-container .repair-catalog__tab { display:flex; align-items:center; flex:1; gap:10px; padding:10px 13px; border:1px solid transparent; border-radius:9px; color:#789087; background:transparent; text-align:left; transition:.18s ease; } #app-container .repair-catalog__tab:hover { background:#fff; } #app-container .repair-catalog__tab.is-active { border-color:#d4e5da; color:#355c49; background:#fff; box-shadow:0 4px 12px rgba(42,72,60,.07); } #app-container .repair-catalog__tab-icon { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:9px; color:#5a8a70; background:#e8f3eb; } #app-container .repair-catalog__tab span:not(.repair-catalog__tab-icon) { flex:1; } #app-container .repair-catalog__tab strong,#app-container .repair-catalog__tab small { display:block; } #app-container .repair-catalog__tab strong { font-size:13px; } #app-container .repair-catalog__tab small { margin-top:2px; color:#95a59d; font-size:10px; } #app-container .repair-catalog__tab b { min-width:25px; padding:4px 7px; border-radius:6px; color:#5d806d; background:#eef6f0; font-size:11px; text-align:center; }
#app-container .repair-catalog__workspace { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(285px,.7fr); gap:18px; align-items:start; } #app-container .repair-catalog__list-card,#app-container .repair-catalog__form-card { border:1px solid #e0eae4; border-radius:16px; background:#fff; box-shadow:0 8px 25px rgba(42,72,60,.055); } #app-container .repair-catalog__list-card { overflow:hidden; } #app-container .repair-catalog__section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:22px 22px 14px; } #app-container .repair-catalog__section-head h2 { margin:4px 0 3px; color:#304c41; font-size:19px; font-weight:800; } #app-container .repair-catalog__section-head p { margin:0; color:#8a9a93; font-size:11px; } #app-container .repair-catalog__result-count { padding:5px 8px; border-radius:6px; color:#668475; background:#eef6f0; font-size:10px; font-weight:700; white-space:nowrap; }
#app-container .repair-catalog__search-row { display:flex; align-items:center; gap:10px; padding:0 22px 16px; } #app-container .repair-catalog__search-row .user-search { flex:1; width:auto; min-height:39px; border-color:#dce8e0; border-radius:9px; background:#fbfdfc; } #app-container .repair-catalog__search-hint { color:#a0ada7; font-size:10px; white-space:nowrap; } #app-container .repair-catalog__table-wrap { overflow-x:auto; } #app-container .repair-catalog__table { min-width:760px !important; } #app-container .repair-catalog__table th { padding:11px 14px !important; border-color:#e4ede7 !important; color:#6d8077 !important; background:#f5f9f6 !important; font-size:10px !important; letter-spacing:.06em; text-transform:uppercase; } #app-container .repair-catalog__table td { height:65px !important; padding:11px 14px !important; font-size:12px !important; } #app-container .repair-catalog__actions-col { width:155px; } #app-container .repair-catalog__table .user-actions .btn { margin-left:3px; padding:5px 8px; border-radius:7px; font-size:10px; }
#app-container .repair-catalog__entity { display:flex; align-items:center; gap:9px; } #app-container .repair-catalog__entity-icon { display:inline-flex; align-items:center; justify-content:center; flex:none; width:32px; height:32px; border-radius:9px; color:#4f8068; background:#e8f3eb; } #app-container .repair-catalog__entity-icon--component { color:#5d7699; background:#e9eff8; } #app-container .repair-catalog__entity strong,#app-container .repair-catalog__entity small { display:block; } #app-container .repair-catalog__entity strong { color:#3d594e; font-size:12px; } #app-container .repair-catalog__entity small { margin-top:3px; color:#a0ada7; font-size:9px; } #app-container .repair-catalog__description { display:block; max-width:230px; color:#778981; line-height:1.45; } #app-container .repair-catalog__metrics { display:flex; flex-wrap:wrap; gap:5px; } #app-container .repair-catalog__metrics span { padding:4px 7px; border-radius:6px; color:#80958b; background:#f4f8f5; font-size:10px; } #app-container .repair-catalog__metrics strong { color:#4b7760; } #app-container .repair-catalog__category-pill { display:inline-flex; align-items:center; gap:5px; padding:5px 8px; border-radius:7px; color:#5d7699; background:#eef3fa; font-size:10px; font-weight:700; } #app-container .repair-catalog__usage strong,#app-container .repair-catalog__usage small { display:block; } #app-container .repair-catalog__usage strong { color:#4b7760; font-size:15px; } #app-container .repair-catalog__usage small { margin-top:2px; color:#9aa9a3; font-size:9px; }
#app-container .repair-catalog__footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 20px; color:#899991; font-size:10px; } #app-container .repair-catalog__footer .pagination { margin:0; } #app-container .repair-catalog__footer .page-link { padding:4px 8px; border-color:#dce8e0; color:#668475; background:#fff; font-size:11px; } #app-container .repair-catalog__footer .page-item.active .page-link { border-color:#6b9a7d; background:#6b9a7d; }
#app-container .repair-catalog__form-card { position:sticky; top:18px; padding:22px; background:linear-gradient(145deg,#fff 0%,#f8fbf9 100%); } #app-container .repair-catalog__form-icon { display:flex; align-items:center; justify-content:center; width:42px; height:42px; margin-bottom:14px; border-radius:12px; color:#4f8068; background:#e5f2e9; font-size:17px; } #app-container .repair-catalog__form-icon--component { color:#5d7699; background:#e9eff8; } #app-container .repair-catalog__form-card h2 { margin:5px 0 5px; color:#304c41; font-size:19px; font-weight:800; } #app-container .repair-catalog__form-card > p { min-height:34px; margin:0 0 21px; color:#84958d; font-size:11px; line-height:1.5; } #app-container .repair-catalog__field { margin-bottom:16px; } #app-container .repair-catalog__field label { display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; color:#566e63; font-size:11px; font-weight:800; } #app-container .repair-catalog__field label em { color:#c76c68; font-style:normal; } #app-container .repair-catalog__field label span { color:#a1ada7; font-size:9px; font-weight:500; } #app-container .repair-catalog__field .form-control { border-color:#dce8e0; border-radius:8px; color:#486257; font-size:12px; } #app-container .repair-catalog__field .form-control:focus { border-color:#79a98a; box-shadow:0 0 0 3px rgba(121,169,138,.13); } #app-container .repair-catalog__field textarea { resize:vertical; } #app-container .repair-catalog__field small { display:block; margin-top:5px; font-size:10px; } #app-container .repair-catalog__form-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; margin-top:22px; padding-top:15px; border-top:1px solid #e7efe9; } #app-container .repair-catalog__form-actions .btn { border-radius:8px; font-size:11px; font-weight:700; } #app-container .repair-catalog__form-actions .btn-link { margin-right:auto; color:#80958b; }
#app-container .repair-catalog__empty { height:170px !important; color:#96a69e; text-align:center; } #app-container .repair-catalog__empty i,#app-container .repair-catalog__empty strong,#app-container .repair-catalog__empty span { display:block; } #app-container .repair-catalog__empty i { margin-bottom:9px; color:#9ab8a5; font-size:20px; } #app-container .repair-catalog__empty strong { color:#6d8177; font-size:12px; } #app-container .repair-catalog__empty span { margin-top:4px; font-size:10px; }
@media (max-width:991px) { #app-container .repair-catalog__workspace { grid-template-columns:1fr; } #app-container .repair-catalog__form-card { position:static; } #app-container .repair-catalog__form-card > p { min-height:0; } } @media (max-width:767px) { #app-container .repair-catalog__hero { align-items:flex-start; flex-direction:column; padding:22px; } #app-container .repair-catalog__hero h1 { font-size:24px; } #app-container .repair-catalog__back { align-self:flex-start; } #app-container .repair-catalog__stats { grid-template-columns:1fr; } #app-container .repair-catalog__tabs { flex-direction:column; } #app-container .repair-catalog__section-head,#app-container .repair-catalog__search-row,#app-container .repair-catalog__footer { align-items:flex-start; flex-direction:column; } #app-container .repair-catalog__search-row .user-search { width:100%; } #app-container .repair-catalog__search-hint { display:none; } #app-container .repair-catalog__footer nav { margin-left:0 !important; } }
