.task-card > a { text-decoration: none;}
.task-card > .uk-card-default, .task-card > a > .uk-card-default {
  --uk-inverse: dark;
  background-color: #282828 !important;
  color: var(--const-for-black);
  border: 1px solid rgba(255, 255, 255, 0.06);
  /* box-shadow: 0 5px 15px rgba(255, 255, 255, 0.5); */

}

.uk-button-default
 {
    background-color: transparent;
    color: rgb(111 178 243);
    border: 1px solid rgb(111 178 243);

}

div[id^="delete-confirm-"]>.uk-modal-dialog {
  background: rgba(0, 0, 0, .6);
}

[data-bs-theme="dark"] div[id^="modal-notify"] > .uk-modal-dialog {
  background: #575757;
}
.uk-notification-message {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.4;
  cursor: pointer;
}

.task-card .uk-dropdown {
  --uk-position-offset: 10px;
  --uk-position-viewport-offset: 15px;
  --uk-inverse: dark;
  width: auto;
  min-width: 200px;
  padding: 10px;
  background: #ee395b;
  color: #f6f5f4;
  box-shadow: 0 5px 12px rgba(0, 0, 0, .15);
}

.task-card .uk-dropdown-nav>li>a {
  color: #f9f9f9;
}
/* Модальные окна всегда поверх всего */
.uk-modal-container {
    z-index: 1020 !important; /* выше стандартного dropdown'а (1010) */
}

/* Опционально: убрать анимацию закрытия dropdown'а */
.uk-dropdown {
    transition: none !important;
}

/* Адаптивные стили */
@media (max-width: 960px) {
  .uk-card-title {
    font-size: 1.1rem;
  }

  .task-filter {
    margin-top: 10px;
  }
}

.task-card .uk-card, .task-card > a > .uk-card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.task-card .uk-card:hover,
.task-card > a > .uk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1200px) {
  .uk-card-body {
    padding: 20px;
  }
}

.uk-light .uk-label {
  background-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.uk-light .uk-label:hover {
  background-color: rgba(207, 0, 0, 0.509);
  color: #fff;
}

/* Стили для перетаскивания на пагинацию */
.page-dropzone.drag-over {
    background-color: #1e87f0 !important;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

.page-dropzone.drag-over a {
    color: white !important;
    font-weight: bold;
}

/* Стили для перетаскиваемого элемента */
.task-card.dragging {
    opacity: 0.7;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(30, 135, 240, 0.4);
    z-index: 1000;
}

/* Что Подсветка при наведении на пагинацию */
.uk-pagination li:hover:not(.uk-active):not(.uk-disabled) {
    background-color: rgba(30, 135, 240, 0.1);
    cursor: pointer;
}

/* public/css/text-formatter.css */
/* Стили для контейнеров */
.phone-container,
.url-container,
.email-container {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 2px;
    white-space: nowrap;
    vertical-align: middle;
    position: relative;
    color: #1c71d8;
}

/* Стили для иконок копирования */
.copy-button,
.phone-variants-toggle {
    text-decoration: none;
    opacity: 0.6;
    transition: all 0.2s ease;
    padding: 3px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
}

.copy-button:hover,
.phone-variants-toggle:hover {
    opacity: 1;
/*     background-color: rgba(0, 0, 0, 0.08); */
    text-decoration: none;
}

/* Dropdown для вариантов форматов */
.phone-formats-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1020;
    min-width: 260px;
    background: var(--bg-header);
    border: 1px solid var(--list-astriped);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-top: 5px;
}

.phone-formats-dropdown .uk-nav {
    padding: 0;
}

.phone-formats-dropdown .uk-nav-header {
    padding: 6px 12px;
    font-weight: 600;
    color: #333;
    font-size: 0.85em;
    border-bottom: 1px solid var(--list-astriped);
    margin-bottom: 4px;
}
[data-bs-theme="dark"] .phone-formats-dropdown .uk-nav-header {
    padding: 6px 12px;
    font-weight: 600;
    color: #ddd;
    font-size: 0.85em;
    border-bottom: 1px solid var(--list-astriped);
    margin-bottom: 4px;
}
.phone-formats-dropdown .copy-format {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
    background: none;
/*     width: 100%; */
    text-align: left;
    font-size: 0.9em;
}
[data-bs-theme="dark"] .phone-formats-dropdown .copy-format {
    color: #9a9996;

}
.phone-formats-dropdown .copy-format:hover {
    background-color: none;
    color: #1c71d8;
    text-decoration: none;
}
[data-bs-theme="dark"] .phone-formats-dropdown .copy-format:hover {
    background-color: none;
/*     color: #333; */
    text-decoration: none;
}
.format-name {
    font-weight: 500;
    display: block;
    font-size: 1em;
    color: #a51d2d;
    margin-bottom: 2px;
}

.format-number {
    display: inline-block;
    font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
    font-size: 1.2em;
    color: var(--font-color);
    padding: 2px 4px;
    border-radius: 2px;
}

/* Стили для уведомлений */
.text-formatter-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    animation: textFormatterNotificationSlide 0.3s ease;
}

.text-formatter-notification__content {
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.text-formatter-notification--success .text-formatter-notification__content {
    background: #32d296;
}

.text-formatter-notification--error .text-formatter-notification__content {
    background: #f0506e;
}

/* Анимации */
@keyframes textFormatterNotificationSlide {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .phone-container,
    .url-container,
    .email-container {
        display: inline-flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .phone-formats-dropdown {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 280px;
    }

    .copy-button,
    .phone-variants-toggle {
        width: 22px;
        height: 22px;
        padding: 3px;
    }
}

/* Улучшенные стили для ссылок */
.phone-link {
    text-decoration: none;
    color: #1e87f0;
    transition: color 0.2s ease;
}

.phone-link:hover {
    color: #0f6ecd;
    text-decoration: underline;
}

/* Для лучшего выравнивания иконок */
.uk-inline {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}

.ajax-response {
  margin-top: 1rem; padding: 0.5rem; border-radius: 4px; display: none;
}
.ajax-response.success { background-color: #d4edda; color: #155724; }
.ajax-response.error { background-color: #f8d7da; color: #721c24; }
/* Стили для предварительного просмотра заготовленного уведомления */
.preview-default {
    background-color: var(--list-astriped);
    border-left: 4px solid #2c6ed5;
    padding: 12px;
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}
.preview-content a {
    color: #2c6ed5;
    text-decoration: underline;
}
.preview-content a:hover {
    color: #1a55a3;
}
