body {
    background-color: #f0f2f5;
}

.task-form-wrapper {
    background-color: #c8c8c8;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.task-form-wrapper h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #495057;
}

.form-label {
    font-weight: 500;
    color: #555;
}

.form-control,
.form-select {
    border-radius: 6px;
    border: 1px solid #ced4da;
}

.form-control:disabled {
    background-color: #e9ecef;
}



.tag {
    padding: 0.4em 0.6em;
    background-color: #6c757d;
    color: #fff;
    border-radius: 0.4em;
}

.tag button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1em;
    margin-left: 0.5em;
    cursor: pointer;
}


.highlight {
    background-color: #ffffcc;
    transition: background-color 0.5s ease;
}

.table td {
    word-break: break-word;
    white-space: normal;
}

.task-form-wrapper form input[type="file"] {
    min-width: 200px;
}

.small-text {
    font-size: 0.8rem;
    /* або 12px, або 80% — як зручно */
}

.action-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.action-group .action-label {
    margin-bottom: 0;
    min-width: 160px;
}

.action-group .action-control {
    min-width: 160px;
    max-width: 220px;
    flex: 1;
}

.action-group .action-button {
    min-width: 160px;
    flex: 1;
}


.fixed-col-200 {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-col-150 {
    width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-col-120 {
    width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-col-100 {
    width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-col-80 {
    width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-col-75 {
    width: 75px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-col-50 {
    width: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 🎨 Базові кольори для статусів */
:root {
  --color-working:   #faef59;  /* в роботі - жовтий */
  --color-deferred:  #99c9fd;  /* відкладена - голубий */
  --color-supported: #16e9f8;  /* техпідтримка - бірюзовий */
  --color-attention: #fa7a24;  /* уточнення - помаранчевий */
  --color-waiting:   #d55bfa;  /* очікує відповідь - червоний */
  --color-tomaster:  #fa3030;  /* майстру - червоний */
  --color-done:      #8ef785;  /* виконана - зелений */
  --color-closed:    #bfbfc0;  /* закрита - сірий */
}

/* 📑 Універсальні стилі для всіх таблиць задач */
.tasks-table tr.status-working td   { background-color: var(--color-working)   !important; }
.tasks-table tr.status-deferred td  { background-color: var(--color-deferred)  !important; }
.tasks-table tr.status-supported td { background-color: var(--color-supported) !important; }
.tasks-table tr.status-attention td { background-color: var(--color-attention) !important; }
.tasks-table tr.status-waiting td   { background-color: var(--color-waiting)   !important; }
.tasks-table tr.status-tomaster td  { background-color: var(--color-tomaster)  !important; }
.tasks-table tr.status-done td      { background-color: var(--color-done)      !important; }
.tasks-table tr.status-closed td    { background-color: var(--color-closed)    !important; }

/* 🧩 Модифікатори для окремих таблиць (якщо потрібні відмінності) */
.tasks-table.my tr.status-deferred td {
  background-color: #8cc2fc !important; /* трохи інший голубий для "моїх задач" */
}

.tasks-table.new tr.status-attention td {
  background-color: #fc7b12 !important; /* яскравіший помаранчевий для "нових задач" */
}

.tasks-table.support tr.status-supported td {
  background-color: #00fdf1 !important; /* інший бірюзовий для "техпідтримки" */
}
/* 🎨 Кольори для рядків таблиці за термінами */
:root {
  --color-expired:   #bfbfc0;  /* прострочена - сірий */
  --color-expiring:  #f78888;  /* закінчується сьогодні - червоний */
  --color-active:    #bdf5b8;  /* ще діє - зелений */
}

.licenses-table tr.status-expired td  { background-color: var(--color-expired)  !important; }
.licenses-table tr.status-expiring td { background-color: var(--color-expiring) !important; }
.licenses-table tr.status-active td   { background-color: var(--color-active)   !important; }

/* 📋 Стилі для копіювання ліцензійного ключа */
.license-key.copied {
    color: green;
    font-weight: bold;
}
/* підсвічування поля з пломбами */
.sticker-highlight {
    background-color: #6afa6a; /* ніжно-жовтий фон */
    border-radius: 3px;
    padding: 2px 4px;
    cursor: help; /* щоб було видно, що є підказка */
}

/* Робимо контейнер intl-tel-input на всю ширину */
.iti {
  width: 100%;
}

/* Саме поле телефону */
.iti input.phone-mask {
  width: 100%;
  box-sizing: border-box;
}

/* Вирівнюємо прапорець країни */
.iti__flag-container {
  height: 100%;
}

/* Підсвічування груп в товарах */
.list-group-item.active {
    background-color: rgba(0,0,0,0.05) !important;
    color: #333 !important;
}

.no-underline {
    text-decoration: none !important;
}

.no-underline:hover {
    text-decoration: none !important;
}

