/* smart-uplatnica-page.css - Стили для страницы Smart Uplatnica */

/* ============================================
   СТИЛИ КНОПОК
   ============================================ */
.btn-add-service {
  background-color: #10b981;
  color: white;
  border: none;
}

.btn-add-service:hover {
  background-color: #059669;
  color: white;
}

.btn-add-service:active,
.btn-add-service:focus {
  background-color: #10b981;
  color: white;
  box-shadow: none;
}

/* ============================================
   СТИЛИ PLACEHOLDER
   ============================================ */
input::placeholder,
textarea::placeholder {
  color: #c0c0c0 !important;
  opacity: 1;
}

/* ============================================
   ОТКЛЮЧЕНИЕ СИНЕГО ФОНА ПРИ АВТОЗАПОЛНЕНИИ
   ============================================ */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
  box-shadow: 0 0 0 30px white inset !important;
  -webkit-text-fill-color: #2E3A45 !important;
  transition: background-color 5000s ease-in-out 0s;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
  box-shadow: 0 0 0 30px white inset !important;
  -webkit-text-fill-color: #2E3A45 !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* ============================================
   СТИЛИ БЛОКА ДАННЫХ О ПОЛУЧАТЕЛЕ
   ============================================ */
.card-body .row.mb-3.align-items-start {
  margin-bottom: 0 !important;
}

/* ============================================
   СТИЛИ ПОЛЕЙ ПЛАТЕЖА
   ============================================ */
#paymentCode {
  width: 60px;
}

#modelNumber {
  width: 60px;
}

/* ============================================
   СТИЛИ КНОПОК РЕДАКТИРОВАНИЯ И УДАЛЕНИЯ
   ============================================ */
.edit-service-btn,
.delete-service-btn {
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.edit-service-btn:hover,
.delete-service-btn:hover {
  opacity: 1;
}

#paymentReference {
  flex: 1;
  min-width: 250px;
}

/* ============================================
   СТИЛИ ТАБЛИЦЫ УСЛУГ
   ============================================ */
#servicesList tr:last-child td:first-child {
  border-bottom-left-radius: 0.375rem;
}

#servicesList tr:last-child td:last-child {
  border-bottom-right-radius: 0.375rem;
}
