.gradient-custom-2 {
  /* fallback for old browsers */
  background: #fccb90;

  /* Chrome 10-25, Safari 5.1-6 */
  background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

@media (min-width: 768px) {
  .gradient-form {
  height: 100vh !important;
  }
}
@media (min-width: 769px) {
  .gradient-custom-2 {
  border-top-right-radius: .3rem;
  border-bottom-right-radius: .3rem;
  }
}

.form-control.ani {
  width: 120px !important; /* Приоритет над стилями Bootstrap */
}
.form-control.comsignal {
  width: 200px !important; /* Приоритет над стилями Bootstrap */
}
#getPriority_wrapper .table td,
#getPriority_wrapper .table th {
    padding: 0.1rem 0.3rem;
}
.dataTables_filter { 
    margin: 0 ; 
}

.btn-warning {
    background-color: #dfdf16;
}

.lcslt-wrap{
    min-width: 250px;
}
#lc-select-dd{
    min-width: 400px;
}
.lc-select-dd-scroll {
    max-height: 400px; 
}
#lc-select-dd li span {
    padding: 7px 12px;
    font-size: 20px;
}

.highlight-row {
  background-color: #ffcccc;  
  font-weight: bold;  
}

.is-required-field {
    border: 2px solid #ffcc00 !important;
    background-color: #fffaf0;
}

.is-invalid {
    border: 2px solid #dc3545 !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.8em;
    margin-top: 0.25rem;
    display: block;
}

/*Новые стили табов*/
.tab {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Стили для кнопок-вкладок */
.tab-button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #495057;
    background: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Эффекты при наведении */
.tab-button:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Активная вкладка */
.tab-button.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.tab-button:focus, .tab-button:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Индикатор активной вкладки (опционально) */
.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .tab {
        gap: 4px;
        padding: 8px;
    }
    
    .tab-button {
        flex: 1 1 auto;
        padding: 10px 12px;
        font-size: 13px;
    }
}


/*Новые стили рассылки*/
/* Базовые настройки */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

/* Поля ввода */
.form-control {
    width: 100%;
    padding: 0.3rem 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    color: #1a202c;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 3px 15px rgba(102, 126, 234, 0.1);
    background: #fff;
}

.form-control:not(.border-bottom-1):not(.border-bottom-2):not(.border-bottom-3):not(.border-bottom-4):focus {
    border-color: rgba(102, 126, 234, 0.1);
}

.form-control[disabled] {
    background: #edf2f7;
    color: #718096;
    cursor: not-allowed;
}

/* Текстовые области */
textarea.form-control {
    min-height: 60px;
    resize: vertical;
    line-height: 1.6;
}

/* Специфичные элементы */
#focusSMS {
    font-weight: 500;
    color: #c53030;
    border-color: #fed7d7;
    background: #fff5f5;
}

#ThemeSms {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236B7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
}

/* Кнопка */
.btn-new{
    padding: 5px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    outline: none;
    background: #5b7cfa;
    background-size: 14px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(91, 124, 250, 0.4);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-new:hover {
    background-color: #3b5bdb;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(91, 124, 250, 0.6);
}

.btn-new:focus, .btn-new:active {
    outline: none !important;
    box-shadow: none !important;
}

.btn-new i {
    margin-right: 0.5rem;
    font-size: 1.1em;
}

/* Адаптивная сетка */
@media (max-width: 768px) {
    .form-group.row {
        flex-direction: column;
    }
    
    .form-group.col-md-4, 
    .form-group.col-md-8 {
        width: 100%;
        max-width: 100%;
    }
    
    .mb-4 {
        margin-bottom: 1rem !important;
    }
}

/* Дополнительные эффекты */
datalist {
    border-radius: 8px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-control::placeholder {
    color: #a0aec0;
    opacity: 1;
}

/*Новые стили таблицы */
/* Базовые стили таблицы */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    background: #ffffff;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

/* Полосатые строки */
.table-striped tbody tr:nth-child(odd) {
    background-color: #f8f9ff;
}

/* Эффект при наведении */
.table-hover tbody tr:hover, 
.hover:hover {
    background-color: #f3f4ff !important;
    transform: translateX(4px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Границы */
.table-bordered {
    border: 1px solid #eef0ff;
}

.table-bordered th, 
.table-bordered td {
    border: 1px solid #f0f2ff; 
}

/* Заголовок */
.table thead {
    background: linear-gradient(135deg, #26a69a 0%, #4b5efb 100%);
}

.table thead tr {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Подвал */
.table tfoot {
    background-color: #fafbff;
    border-top: 2px solid #eef0ff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .table {
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .table-bordered th, 
    .table-bordered td {
        padding: 12px 15px;
    }
}

/* Дополнительные эффекты */
.table tbody tr {
    transition: all 0.2s ease;
    position: relative;
}

.table tbody tr:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 98%;
    height: 1px;
    background: rgba(224, 228, 255, 0.5);
    transform: translateX(-50%);
}