/* --------------- Cabinet — compact left sidebar --------------- */

.page-cabinet .cab-left-side {
  width: 220px !important;
  padding: 20px 18px 24px !important;
  background: #1e1e1e; }

.page-cabinet .right-side {
  width: calc(100% - 220px) !important; }

.cab-left-logo img {
  max-width: 72px !important;
  height: auto;
  opacity: 0.85; }

.cab-left-menu {
  margin-top: 28px;
  flex: 1; }

.cab-left-menu-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 12px;
  padding-left: 10px; }

.cab-left-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  margin-bottom: 2px;
  transition: all 0.3s; }
  .cab-left-menu a i {
    width: 16px;
    text-align: center;
    font-size: 14px; }
  .cab-left-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04); }
  .cab-left-menu a.active {
    color: #fff;
    background: rgba(248, 68, 56, 0.12); }
    .cab-left-menu a.active i {
      color: var(--main-color); }

.cab-left-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--main-color);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff; }

.cab-left-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06); }

.cab-left-manager {
  margin-bottom: 16px; }
  .cab-left-manager > p {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 8px; }

.cab-left-manager-row {
  display: flex;
  align-items: center;
  gap: 8px; }
  .cab-left-manager-row strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75); }
  .cab-left-manager-row span {
    font-size: 10px;
    color: #4ade80; }

.cab-left-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0; }

.cab-left-contacts {
  margin-bottom: 12px; }
  .cab-left-contacts li {
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 2px; }
  .cab-left-contacts a {
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s; }
    .cab-left-contacts a:hover {
      color: rgba(255, 255, 255, 0.55); }

.cab-left-social {
  display: flex;
  gap: 6px;
  margin-bottom: 14px; }
  .cab-left-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    transition: all 0.3s; }
    .cab-left-social a:hover {
      border-color: rgba(255, 255, 255, 0.2);
      color: rgba(255, 255, 255, 0.6); }

.cab-left-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s; }
  .cab-left-logout i {
    font-size: 13px; }
  .cab-left-logout:hover {
    color: var(--main-color); }

@media screen and (min-width: 993px) {
  .page-cabinet .cab-dash-logout-top {
    display: none; }

  .page-cabinet .cab-left-side > div {
    display: flex;
    flex-direction: column;
    height: 100%; } }

@media screen and (max-width: 992px) {
  .page-cabinet .cab-left-side {
    width: 100% !important;
    padding: 20px 24px !important;
    background: transparent; }

  .page-cabinet .cab-left-menu {
    display: none; }

  .page-cabinet .cab-left-foot {
    display: none; } }

/* --------------- Cabinet Dashboard --------------- */

.cab-dash {
  margin-left: 80px;
  margin-right: 80px;
  color: #fff; }
  @media (max-width: 991px) {
    .cab-dash {
      margin-left: 48px;
      margin-right: 48px; } }
  @media (max-width: 767px) {
    .cab-dash {
      margin-left: 24px;
      margin-right: 24px; } }

/* Top bar */
.cab-dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 36px;
  background: #2a2a2a;
  margin-bottom: 16px;
  border-left: 4px solid var(--main-color); }
  @media (max-width: 767px) {
    .cab-dash-top {
      padding: 24px; } }

.cab-dash-crumb {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px; }

.cab-dash-top h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 0; }
  .cab-dash-top h2 em {
    color: var(--main-color);
    font-style: normal; }

.cab-dash-top-right {
  display: flex;
  align-items: center;
  gap: 16px; }

.cab-dash-user {
  display: flex;
  align-items: center;
  gap: 12px; }
  .cab-dash-user strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff; }
  .cab-dash-user span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4); }

.cab-dash-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0; }

.cab-dash-avatar-sm {
  width: 36px;
  height: 36px;
  font-size: 12px;
  border-radius: 10px; }

.cab-dash-logout {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  transition: all 0.3s; }
  .cab-dash-logout:hover {
    border-color: var(--main-color);
    color: var(--main-color);
    background: rgba(248, 68, 56, 0.1); }

/* Main content area */
.cab-dash-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0; }

/* Project hero */
.cab-dash-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 32px 36px;
  background: #2a2a2a;
  border-left: 4px solid var(--main-color); }
  @media (max-width: 767px) {
    .cab-dash-project {
      padding: 24px; } }

.cab-dash-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(248, 68, 56, 0.15);
  color: var(--main-color);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 12px; }

.cab-dash-project h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff; }

.cab-dash-project-info > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px; }

.cab-dash-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
  max-width: 320px; }
  .cab-dash-progress-bar span {
    display: block;
    height: 100%;
    background: var(--main-color);
    border-radius: 4px; }

.cab-dash-progress-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4); }

.cab-dash-project-stats {
  display: flex;
  gap: 32px; }
  .cab-dash-project-stats strong {
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: var(--main-color);
    line-height: 1; }
  .cab-dash-project-stats span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35); }

/* Stats row */
.cab-dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; }
  @media (max-width: 767px) {
    .cab-dash-stats {
      grid-template-columns: 1fr; } }

.cab-dash-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #2a2a2a; }
  .cab-dash-stat > i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(248, 68, 56, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--main-color);
    flex-shrink: 0; }
  .cab-dash-stat strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #fff; }
  .cab-dash-stat span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4); }

/* Two-column row */
.cab-dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; }
  @media (max-width: 767px) {
    .cab-dash-row {
      grid-template-columns: 1fr; } }

/* Cards */
.cab-dash-card {
  background: #2a2a2a;
  padding: 28px;
  min-width: 0; }

.cab-dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px; }
  .cab-dash-card-head h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0; }

.cab-dash-link {
  font-size: 13px;
  color: var(--main-color);
  white-space: nowrap; }

/* Timeline */
.cab-dash-timeline li {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative; }
  .cab-dash-timeline li:last-child {
    padding-bottom: 0; }
  .cab-dash-timeline li:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 14px;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.08); }
  .cab-dash-timeline li.done .cab-dash-tl-dot {
    background: var(--main-color);
    box-shadow: 0 0 0 3px rgba(248, 68, 56, 0.2); }
  .cab-dash-timeline li.active .cab-dash-tl-dot {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15); }
  .cab-dash-timeline li strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2px; }
  .cab-dash-timeline li span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35); }
  .cab-dash-timeline li.active strong {
    color: var(--main-color); }

.cab-dash-tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1; }

/* Files */
.cab-dash-files li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .cab-dash-files li:last-child {
    border-bottom: none;
    padding-bottom: 0; }
  .cab-dash-files li:first-child {
    padding-top: 0; }
  .cab-dash-files li strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2px; }
  .cab-dash-files li > div span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35); }
  .cab-dash-files li > div {
    flex: 1;
    min-width: 0; }

.cab-dash-file-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0; }
  .cab-dash-file-icon.fig {
    background: rgba(162, 89, 255, 0.15);
    color: #a259ff; }
  .cab-dash-file-icon.pdf {
    background: rgba(248, 68, 56, 0.15);
    color: var(--main-color); }
  .cab-dash-file-icon.img {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80; }

.cab-dash-dl {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.3s; }
  .cab-dash-dl:hover {
    border-color: var(--main-color);
    color: var(--main-color); }

/* Chat */
.cab-dash-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  max-height: 260px;
  overflow-y: auto; }

.cab-dash-msg {
  display: flex;
  gap: 10px;
  align-items: flex-end; }

.cab-dash-msg-out {
  justify-content: flex-end; }
  .cab-dash-msg-out .cab-dash-msg-bubble {
    background: var(--main-color);
    border-radius: 14px 14px 4px 14px; }
    .cab-dash-msg-out .cab-dash-msg-bubble p {
      color: #fff; }
    .cab-dash-msg-out .cab-dash-msg-bubble span {
      color: rgba(255, 255, 255, 0.6); }

.cab-dash-msg-bubble {
  max-width: 75%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px 14px 14px 4px; }
  .cab-dash-msg-bubble strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 4px; }
  .cab-dash-msg-bubble p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px; }
  .cab-dash-msg-bubble span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3); }

.cab-dash-msg-input {
  display: flex;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .cab-dash-msg-input input {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: border-color 0.3s; }
    .cab-dash-msg-input input::placeholder {
      color: rgba(255, 255, 255, 0.25); }
    .cab-dash-msg-input input:focus {
      outline: none;
      border-color: var(--main-color); }
  .cab-dash-msg-input .butn {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--main-color);
    border-color: var(--main-color); }

/* --------------- Cabinet Settings --------------- */

.cab-set-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; }
  @media (max-width: 991px) {
    .cab-set-grid {
      grid-template-columns: 1fr; } }

.cab-set-card .cab-dash-card-head h4 {
  display: flex;
  align-items: center;
  gap: 10px; }
  .cab-set-card .cab-dash-card-head h4 i {
    color: var(--main-color);
    font-size: 15px; }

.cab-set-form {
  display: flex;
  flex-direction: column;
  gap: 0; }

.cab-set-avatar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px; }

.cab-set-avatar-lg {
  width: 64px;
  height: 64px;
  font-size: 20px;
  border-radius: 16px; }

.cab-set-btn-ghost {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s; }
  .cab-set-btn-ghost:hover {
    border-color: var(--main-color);
    color: var(--main-color); }

.cab-set-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 6px;
  margin-bottom: 0; }

.cab-set-field {
  margin-bottom: 18px; }
  .cab-set-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px; }
  .cab-set-field input {
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
    color: #fff;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.3s; }
    .cab-set-field input::placeholder {
      color: rgba(255, 255, 255, 0.25); }
    .cab-set-field input:focus {
      outline: none;
      border-bottom-color: var(--main-color); }

.cab-set-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; }
  @media (max-width: 600px) {
    .cab-set-field-row {
      grid-template-columns: 1fr; } }

.cab-set-submit {
  margin-top: 8px;
  width: 100%;
  background: var(--main-color);
  border-color: var(--main-color); }
  .cab-set-submit:hover {
    background: #fff;
    border-color: #fff;
    color: #151515; }

.cab-set-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  margin: 0; }
  .cab-set-toggle:last-of-type {
    border-bottom: none;
    margin-bottom: 8px; }
  .cab-set-toggle strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2px; }
  .cab-set-toggle > div > span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35); }
  .cab-set-toggle input {
    display: none; }

.cab-set-switch {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.3s; }
  .cab-set-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s; }

.cab-set-toggle input:checked + .cab-set-switch {
  background: var(--main-color); }
  .cab-set-toggle input:checked + .cab-set-switch::after {
    transform: translateX(20px); }

.cab-set-danger {
  border: 1px solid rgba(248, 68, 56, 0.2); }
  .cab-set-danger .cab-dash-card-head h4 i {
    color: #f87171; }

.cab-set-danger-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px; }

.cab-set-danger-btn {
  border-color: rgba(248, 68, 56, 0.4) !important;
  color: #f87171 !important; }
  .cab-set-danger-btn:hover {
    background: var(--main-color) !important;
    border-color: var(--main-color) !important;
    color: #fff !important; }

/* --------------- Cabinet Chat v3 — inbox split --------------- */

.cab-dash-chat-page {
  margin-left: 48px;
  margin-right: 48px; }
  @media (max-width: 767px) {
    .cab-dash-chat-page {
      margin-left: 24px;
      margin-right: 24px; } }

.cab-chat-v3 {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: #2a2a2a;
  overflow: hidden;
  min-height: 640px;
  max-height: 820px;
  border: 1px solid rgba(255, 255, 255, 0.06); }
  @media (max-width: 991px) {
    .cab-chat-v3 {
      grid-template-columns: 1fr;
      min-height: auto;
      max-height: none; } }

/* Sidebar */
.cab-chat-v3-side {
  background: #222;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 0; }
  @media (max-width: 991px) {
    .cab-chat-v3-side {
      max-height: 260px;
      border-right: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06); } }

.cab-chat-v3-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 16px; }
  .cab-chat-v3-side-head h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0; }

.cab-chat-v3-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 16px 12px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px; }
  .cab-chat-v3-search i {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3); }
  .cab-chat-v3-search input {
    flex: 1;
    padding: 11px 0;
    font-size: 13px;
    color: #fff;
    background: transparent;
    border: 0; }
    .cab-chat-v3-search input::placeholder {
      color: rgba(255, 255, 255, 0.3); }
    .cab-chat-v3-search input:focus {
      outline: none; }

.cab-chat-v3-list {
  overflow-y: auto;
  flex: 1;
  padding: 0 10px 12px; }
  .cab-chat-v3-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    margin-bottom: 4px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
    position: relative; }
    .cab-chat-v3-list li:hover {
      background: rgba(255, 255, 255, 0.04); }
    .cab-chat-v3-list li.active {
      background: rgba(248, 68, 56, 0.1); }

.cab-chat-v3-av {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0; }

.cab-chat-v3-av-blue {
  background: #6366f1; }

.cab-chat-v3-av-gray {
  background: rgba(255, 255, 255, 0.1);
  font-size: 15px; }

.cab-chat-v3-preview {
  flex: 1;
  min-width: 0; }

.cab-chat-v3-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px; }
  .cab-chat-v3-preview-top strong {
    font-size: 13px;
    font-weight: 600;
    color: #fff; }
  .cab-chat-v3-preview-top time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0; }

.cab-chat-v3-preview p {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden; }

.cab-chat-v3-list li.active .cab-chat-v3-preview p {
  color: rgba(255, 255, 255, 0.55); }

.cab-chat-v3-unread {
  position: absolute;
  top: 14px;
  right: 12px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--main-color);
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center; }

/* Main panel */
.cab-chat-v3-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0; }

.cab-chat-v3-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0; }

.cab-chat-v3-bar-user {
  display: flex;
  align-items: center;
  gap: 12px; }
  .cab-chat-v3-bar-user strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #fff; }

.cab-chat-v3-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4); }
  .cab-chat-v3-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80; }

.cab-chat-v3-bar-meta {
  display: flex;
  align-items: center;
  gap: 14px; }
  .cab-chat-v3-bar-meta span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px; }
  .cab-chat-v3-bar-meta a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s; }
    .cab-chat-v3-bar-meta a:hover {
      color: #fff; }

.cab-chat-v3-thread {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #262626; }
  @media (max-width: 767px) {
    .cab-chat-v3-thread {
      padding: 20px 16px;
      min-height: 360px; } }

.cab-chat-v3-sep {
  text-align: center;
  margin: 4px 0 8px; }
  .cab-chat-v3-sep span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 14px;
    border-radius: 20px; }

.cab-chat-v3-msg {
  max-width: 75%;
  padding: 14px 18px;
  border-radius: 4px 14px 14px 14px; }
  .cab-chat-v3-msg p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 8px; }
  .cab-chat-v3-msg footer {
    font-size: 10px;
    opacity: 0.45;
    text-align: right; }

.cab-chat-v3-them {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  border-left: 3px solid var(--main-color);
  border-radius: 4px 14px 14px 14px; }

.cab-chat-v3-me {
  align-self: flex-end;
  background: #383838;
  color: #fff;
  border-radius: 14px 4px 14px 14px; }

.cab-chat-v3-attach {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  color: inherit;
  transition: background 0.3s; }
  .cab-chat-v3-attach:hover {
    background: rgba(0, 0, 0, 0.4); }
  .cab-chat-v3-attach > i {
    font-size: 22px;
    color: #a259ff; }
  .cab-chat-v3-attach b {
    display: block;
    font-size: 13px;
    font-weight: 500; }
  .cab-chat-v3-attach small {
    font-size: 11px;
    opacity: 0.55; }

.cab-chat-v3-write {
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #2a2a2a;
  flex-shrink: 0; }
  .cab-chat-v3-write textarea {
    width: 100%;
    min-height: 44px;
    max-height: 120px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    resize: none;
    font-family: inherit;
    transition: border-color 0.3s; }
    .cab-chat-v3-write textarea::placeholder {
      color: rgba(255, 255, 255, 0.3); }
    .cab-chat-v3-write textarea:focus {
      outline: none;
      border-color: rgba(248, 68, 56, 0.45); }

.cab-chat-v3-write-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px; }
  .cab-chat-v3-write-tools a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    transition: all 0.3s; }
    .cab-chat-v3-write-tools a:hover {
      color: var(--main-color);
      background: rgba(248, 68, 56, 0.1); }

.cab-chat-v3-send {
  margin-left: auto;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--main-color);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s; }
  .cab-chat-v3-send:hover {
    background: #fff;
    color: #151515; }

/* --------------- Cabinet Stages v2 --------------- */

.cab-stg-v2 {
  display: flex;
  min-height: 560px;
  background: #2a2a2a;
  overflow: hidden; }
  @media (max-width: 991px) {
    .cab-stg-v2 {
      flex-direction: column;
      min-height: 0; } }

.cab-stg-v2-rail {
  width: 280px;
  flex-shrink: 0;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 24px; }
  @media (max-width: 991px) {
    .cab-stg-v2-rail {
      width: 100%;
      border-right: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06); } }

.cab-stg-v2-rail-head h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px; }
.cab-stg-v2-rail-head p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35); }

.cab-stg-v2-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto; }
  .cab-stg-v2-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); }
  .cab-stg-v2-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 8; }
  .cab-stg-v2-ring-fill {
    fill: none;
    stroke: var(--main-color);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: calc(326.73 - (326.73 * var(--pct, 0) / 100));
    transition: stroke-dashoffset 0.6s ease; }

.cab-stg-v2-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px; }
  .cab-stg-v2-ring-label strong {
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    line-height: 1; }
  .cab-stg-v2-ring-label span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35); }

.cab-stg-v2-nav {
  display: flex;
  flex-direction: column;
  gap: 4px; }
  .cab-stg-v2-nav li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background 0.2s; }
    .cab-stg-v2-nav li.active {
      background: rgba(248, 68, 56, 0.1); }
    .cab-stg-v2-nav li strong {
      display: block;
      font-size: 13px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.5); }
    .cab-stg-v2-nav li span {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.3); }
    .cab-stg-v2-nav li.done strong {
      color: rgba(255, 255, 255, 0.7); }
    .cab-stg-v2-nav li.active strong {
      color: #fff; }
    .cab-stg-v2-nav li.active span {
      color: var(--main-color); }

.cab-stg-v2-nav-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0; }
  .cab-stg-v2-nav li.done .cab-stg-v2-nav-dot {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
    font-size: 11px; }
  .cab-stg-v2-nav li.active .cab-stg-v2-nav-dot {
    border-color: var(--main-color);
    color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(248, 68, 56, 0.15); }

.cab-stg-v2-main {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  min-width: 0; }
  @media (max-width: 767px) {
    .cab-stg-v2-main {
      padding: 20px 16px; } }

.cab-stg-v2-block {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s; }
  .cab-stg-v2-block.open {
    border-color: rgba(248, 68, 56, 0.3); }
  .cab-stg-v2-block.pending {
    opacity: 0.55; }

.cab-stg-v2-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: default; }
  .cab-stg-v2-block:not(.open) .cab-stg-v2-block-head {
    padding: 14px 20px; }

.cab-stg-v2-block-title {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0; }
  .cab-stg-v2-block-title h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px; }
  .cab-stg-v2-block:not(.open) .cab-stg-v2-block-title h4 {
    font-size: 14px;
    margin-bottom: 0; }
  .cab-stg-v2-block:not(.open) .cab-stg-v2-badge {
    display: none; }

.cab-stg-v2-block-num {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.15);
  width: 28px;
  flex-shrink: 0; }
  .cab-stg-v2-block.active .cab-stg-v2-block-num {
    color: rgba(248, 68, 56, 0.4); }

.cab-stg-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500; }
  .cab-stg-v2-badge.done {
    color: #4ade80; }
  .cab-stg-v2-badge.active {
    color: var(--main-color); }
    .cab-stg-v2-badge.active i {
      font-size: 6px;
      animation: cab-stg-pulse 1.5s infinite; }
  .cab-stg-v2-badge.pending {
    color: rgba(255, 255, 255, 0.35); }

@keyframes cab-stg-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; } }

.cab-stg-v2-block-pct {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0; }
  .cab-stg-v2-block-pct.active {
    color: var(--main-color); }
  .cab-stg-v2-block.done .cab-stg-v2-block-pct {
    color: #4ade80; }

.cab-stg-v2-block-body {
  display: none;
  padding: 0 20px 20px 62px; }
  .cab-stg-v2-block.open .cab-stg-v2-block-body {
    display: block; }
  .cab-stg-v2-block-body > p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px; }
  @media (max-width: 767px) {
    .cab-stg-v2-block-body {
      padding-left: 20px; } }

.cab-stg-v2-subprogress {
  margin-bottom: 16px; }
  .cab-stg-v2-subprogress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px; }
    .cab-stg-v2-subprogress-bar span {
      display: block;
      height: 100%;
      background: var(--main-color);
      border-radius: 4px; }
  .cab-stg-v2-subprogress > span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35); }

.cab-stg-v2-tasks {
  display: flex;
  flex-direction: column;
  gap: 8px; }
  .cab-stg-v2-tasks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3); }
    .cab-stg-v2-tasks li i {
      width: 16px;
      text-align: center;
      font-size: 11px;
      flex-shrink: 0; }
    .cab-stg-v2-tasks li.done {
      color: rgba(255, 255, 255, 0.55); }
      .cab-stg-v2-tasks li.done i {
        color: #4ade80; }
    .cab-stg-v2-tasks li.current {
      color: #fff;
      font-weight: 500; }
      .cab-stg-v2-tasks li.current i {
        color: var(--main-color); }

.cab-stg-v2-block-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .cab-stg-v2-block-foot span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4); }
    .cab-stg-v2-block-foot span i {
      margin-right: 6px; }
  .cab-stg-v2-block-foot .cab-dash-link i {
    font-size: 10px;
    margin-left: 4px; }

/* --------------- Cabinet Documents --------------- */

.cab-doc {
  display: flex;
  min-height: 520px;
  background: #2a2a2a;
  overflow: hidden; }
  @media (max-width: 991px) {
    .cab-doc {
      flex-direction: column;
      min-height: 0; } }

.cab-doc-side {
  width: 240px;
  flex-shrink: 0;
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 20px; }
  @media (max-width: 991px) {
    .cab-doc-side {
      width: 100%;
      border-right: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06); } }

.cab-doc-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px; }
  .cab-doc-side-head h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff; }

.cab-doc-cats li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  cursor: default;
  transition: background 0.2s; }
  .cab-doc-cats li i {
    width: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3); }
  .cab-doc-cats li span {
    margin-left: auto;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25); }
  .cab-doc-cats li.active {
    background: rgba(248, 68, 56, 0.1);
    color: #fff; }
    .cab-doc-cats li.active i {
      color: var(--main-color); }

.cab-doc-side-note {
  margin-top: auto;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06); }
  .cab-doc-side-note i {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 8px;
    display: block; }
  .cab-doc-side-note p {
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.35);
    margin: 0; }

.cab-doc-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0; }

.cab-doc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

.cab-doc-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 360px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06); }
  .cab-doc-search i {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3); }
  .cab-doc-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13px;
    color: #fff;
    outline: none;
    min-width: 0; }
    .cab-doc-search input::placeholder {
      color: rgba(255, 255, 255, 0.3); }

.cab-doc-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap; }

.cab-doc-list {
  flex: 1;
  padding: 8px 16px; }

.cab-doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-radius: 14px;
  transition: background 0.2s; }
  .cab-doc-item:hover {
    background: rgba(255, 255, 255, 0.03); }
  @media (max-width: 600px) {
    .cab-doc-item {
      flex-wrap: wrap;
      gap: 12px; } }

.cab-doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0; }
  .cab-doc-icon.pdf {
    background: rgba(248, 68, 56, 0.12);
    color: var(--main-color); }

.cab-doc-info {
  flex: 1;
  min-width: 0; }

.cab-doc-info-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px; }
  .cab-doc-info-top strong {
    font-size: 14px;
    font-weight: 500;
    color: #fff; }

.cab-doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 500; }
  .cab-doc-badge.signed {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80; }
  .cab-doc-badge.paid {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa; }
  .cab-doc-badge i {
    font-size: 10px; }

.cab-doc-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35); }

.cab-doc-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0; }
  @media (max-width: 600px) {
    .cab-doc-actions {
      width: 100%;
      padding-left: 60px; } }

.cab-doc-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  transition: all 0.2s; }
  .cab-doc-btn:hover {
    border-color: var(--main-color);
    color: var(--main-color);
    background: rgba(248, 68, 56, 0.08); }

.cab-doc-foot {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .cab-doc-foot p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0; }
    .cab-doc-foot p i {
      margin-right: 6px;
      color: rgba(255, 255, 255, 0.25); }

/* --------------- Cabinet Brief --------------- */

.cab-brief {
  display: flex;
  min-height: 560px;
  background: #2a2a2a;
  overflow: hidden; }
  @media (max-width: 991px) {
    .cab-brief {
      flex-direction: column;
      min-height: 0; } }

.cab-brief-side {
  width: 260px;
  flex-shrink: 0;
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 20px; }
  @media (max-width: 991px) {
    .cab-brief-side {
      width: 100%;
      border-right: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06); } }

.cab-brief-side-head h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 10px 0 6px; }
.cab-brief-side-head p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.35);
  margin: 0; }

.cab-brief-nav {
  display: flex;
  flex-direction: column;
  gap: 4px; }
  .cab-brief-nav a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    transition: background 0.2s, color 0.2s; }
    .cab-brief-nav a:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.04); }
    .cab-brief-nav a.active {
      background: rgba(248, 68, 56, 0.1);
      color: #fff; }
    .cab-brief-nav a.optional {
      opacity: 0.75; }

.cab-brief-side-note {
  margin-top: auto;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06); }
  .cab-brief-side-note i {
    font-size: 14px;
    color: var(--main-color);
    margin-bottom: 8px;
    display: block; }
  .cab-brief-side-note p {
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.35);
    margin: 0; }

.cab-brief-main {
  flex: 1;
  padding: 24px 28px 28px;
  overflow-y: auto;
  min-width: 0; }
  @media (max-width: 767px) {
    .cab-brief-main {
      padding: 20px 16px 24px; } }

.cab-brief-block {
  border: 0;
  margin: 0 0 24px;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06); }
  .cab-brief-block.optional {
    opacity: 0.9; }
  .cab-brief-block legend {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    padding: 0;
    margin-bottom: 4px;
    width: 100%; }
    .cab-brief-block legend i {
      color: var(--main-color);
      font-size: 14px; }
    .cab-brief-block legend em {
      font-style: normal;
      font-size: 11px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.35);
      margin-left: auto; }

.cab-brief-block-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

.cab-brief-field {
  margin-bottom: 18px; }
  .cab-brief-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 8px; }
    .cab-brief-field label span {
      color: var(--main-color); }

.cab-brief-field input[type="text"],
.cab-brief-field input[type="email"],
.cab-brief-field input[type="tel"],
.cab-brief-field input[type="url"],
.cab-brief-field textarea,
.cab-brief-field select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
  resize: vertical; }
  .cab-brief-field input::placeholder,
  .cab-brief-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.25); }
  .cab-brief-field input:focus,
  .cab-brief-field textarea:focus,
  .cab-brief-field select:focus {
    outline: none;
    border-color: var(--main-color);
    background: rgba(248, 68, 56, 0.04); }
  .cab-brief-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px; }
    .cab-brief-field select option {
      background: #2a2a2a;
      color: #fff; }

.cab-brief-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; }
  @media (max-width: 600px) {
    .cab-brief-field-row {
      grid-template-columns: 1fr; } }
  .cab-brief-field-row .cab-brief-field {
    margin-bottom: 0; }
  .cab-brief-block > .cab-brief-field-row {
    margin-bottom: 18px; }

.cab-brief-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 20px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s; }
  .cab-brief-upload:hover {
    border-color: var(--main-color);
    background: rgba(248, 68, 56, 0.04); }
  .cab-brief-upload input {
    display: none; }
  .cab-brief-upload i {
    font-size: 22px;
    color: var(--main-color);
    margin-bottom: 4px; }
  .cab-brief-upload strong {
    font-size: 13px;
    font-weight: 500;
    color: #fff; }
  .cab-brief-upload span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35); }
  .cab-brief-upload.sm {
    padding: 18px 16px; }
    .cab-brief-upload.sm i {
      font-size: 18px; }

.cab-brief-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 0;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55); }
  .cab-brief-check input {
    display: none; }
  .cab-brief-check-box {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
    transition: all 0.2s; }
  .cab-brief-check input:checked + .cab-brief-check-box {
    background: var(--main-color);
    border-color: var(--main-color); }
    .cab-brief-check input:checked + .cab-brief-check-box::after {
      content: '';
      position: absolute;
      left: 6px;
      top: 3px;
      width: 5px;
      height: 9px;
      border: solid #fff;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg); }

.cab-brief-repeat {
  margin-top: 20px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06); }

.cab-brief-repeat-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px; }

.cab-brief-submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  bottom: 0;
  margin-top: 8px; }
  .cab-brief-submit-bar p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    max-width: 360px; }
    .cab-brief-submit-bar p span {
      color: var(--main-color); }

.cab-brief-submit-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap; }

.cab-brief-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  cursor: pointer;
  transition: all 0.2s; }
  .cab-brief-btn:hover {
    opacity: 0.9;
    color: #fff; }
  .cab-brief-btn.ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.65); }
    .cab-brief-btn.ghost:hover {
      border-color: rgba(255, 255, 255, 0.3);
      color: #fff; }

