body {
  background: #fff !important;
}
.fade-in { animation: fadeIn .6s ease-in; }
@keyframes fadeIn { from {opacity:0; transform:translateY(10px);} to {opacity:1; transform:none;} }

.btn-gradient {
  background: linear-gradient(135deg, #007bff, #00b4d8);
  color: #fff;
  transition: all 0.3s ease;
}
.btn-gradient:hover {
  box-shadow: 0 0 10px rgba(0,123,255,.4);
  transform: translateY(-2px);
}

.social-links a {
  color: #495057;
  margin: 0 8px;
  font-size: 1.4rem;
  transition: all .3s;
}
.social-links a:hover {
  color: #007bff;
  transform: scale(1.15);
}

.table {
  border-radius: 0.75rem;
  overflow: hidden;
}
.table-group {
  background: #f8f9fa !important;
  font-size: 1rem;
  letter-spacing: .3px;
  font-weight: 600;
}

.well {
  background: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  padding: 10px 15px;
  margin-top: 8px;
  font-size: 0.92rem;
  color: #333;
}
.well-sm {
  padding: 8px 12px;
  font-size: 0.9rem;
}
.com {
  background: #f5f5f5;
  border-left: 4px solid #007bff;
  box-shadow: inset 0 0 3px rgba(0,0,0,0.05);
}

.modern-info-banner {
    width: 100%;
    background: #f8faff;
    border: 1px solid #eef2f8;
    border-radius: 16px; 
    padding: 12px 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-inner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px;
}

.banner-icon-circle {
    width: 30px;
    height: 30px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px; 
    margin-bottom: 6px;
    box-shadow: 0 3px 8px rgba(13, 110, 253, 0.15);
}


.banner-content {
    text-align: center;
}

.main-text {
    font-size: 15px; 
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2px; 
    letter-spacing: -0.2px;
}

.sub-text {
    font-size: 13px; 
    color: #718096;
    line-height: 1.3; 
}

.support-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    border-bottom: 1px dashed rgba(13, 110, 253, 0.3);
}

.support-link:hover {
    color: #0056b3;
    border-bottom-style: solid;
}

@media (max-width: 576px) {
    .modern-info-banner {
        padding: 10px 15px;
    }
    .main-text {
        font-size: 14px;
    }
    .sub-text {
        font-size: 12px;
    }
}


@media (max-width: 768px) {
  #services,
  #services tbody,
  #services tr,
  #services td,
  .table-hover tbody tr:hover {
    background-color: #ffffff !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .table-responsive,
  .dataTables_scrollBody {
    overflow-x: visible !important;
    width: 100% !important;
  }
  
  #services thead,
  .dataTables_scrollHead {
    display: none !important;
  }

  #services tbody tr {
    display: grid !important;
    grid-template-columns: min-content 1fr max-content;
    grid-template-areas:
      "id title price"
      "desc desc desc"
      "min min min"
      "max max max"
      "btn btn btn";
    background: #fff !important; 
    border: 1px solid #e0e4e8 !important;
    margin-bottom: 12px !important;
    padding: 14px !important;
    border-radius: 8px !important;
    align-items: start;
    gap: 6px 12px;
    overflow: hidden !important; 
  }

  #services tbody td {
    display: block !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
  }

  .btn-fast-order {
    grid-area: btn;
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: block;
    cursor: pointer;
  }

  #services tbody tr.table-group {
    display: block !important;
    padding: 15px 0 5px 0 !important;
    margin: 0 !important;
    border-bottom: none !important;
  }
  #services tbody tr.table-group td {
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: none !important;
  }

  /* СЕТКА ЭЛЕМЕНТОВ */
  #services tbody td:nth-child(1) { grid-area: id; font-size: 14px; color: #6c757d; }
  #services tbody td:nth-child(2) { grid-area: title; font-size: 15px; font-weight: 600; }
  #services tbody td:nth-child(4) { grid-area: price; font-weight: 700; text-align: right; }
  #services tbody td:nth-child(3) { grid-area: desc; font-size: 13px; color: #6c757d; margin-top: 4px; }
  
  #services tbody td:nth-child(5) { grid-area: min; font-size: 12px; color: #888; margin-top: 4px !important; }
  #services tbody td:nth-child(6) { grid-area: max; font-size: 12px; color: #888; }

  #services tbody td:nth-child(5)::before {
    content: "\25C9  Мин: ";
    color: #adb5bd;
    margin-right: 4px;
  }
  #services tbody td:nth-child(6)::before {
    content: "\25C9  Макс: ";
    color: #adb5bd;
    margin-right: 4px;
  }
}