body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f3f4f6;
}

.card {
  width: 420px;
  margin: 80px auto;
  background: white;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  text-align: center;
}

.card.big {
  width: 480px;
}

input {
  width: 90%;
  padding: 14px;
  margin: 8px 0;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

button {
  width: 90%;
  padding: 14px;
  margin: 8px 0;
  border: none;
  border-radius: 22px;
  font-weight: bold;
  font-size: 16px;
  color: white;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

.red {
  background: #f64040;
}

.blue {
  background: #3f7ff0;
}

.gold {
  background: #d4bd62;
}

.card > button:not(.red):not(.blue):not(.gold) {
  background: #f64040;
}

.user-info {
  margin-bottom: 20px;
  font-size: 16px;
}

#error {
  color: red;
  font-weight: bold;
}

.report-box {
  width: 90%;
  max-width: 1000px;
  margin: 30px auto;
  background: white;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.hidden {
  display: none;
}

.filters {
  display: flex;
  gap: 18px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.date-field {
  display: flex;
  flex-direction: column;
  gap: 6px;

}

.date-field label {
  font-weight: bold;
  font-size: 15px;
}

.date-field input[type="date"] {

  width: 220px;
  height: 48px;
  padding: 10px 14px;
  font-size: 18px;
  border: 2px solid #d1d5db;
  border-radius: 10px;
}

.filters input {
  width: auto;
}

.filters button {
  width: auto;
  height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  background: #f64040;
}

.export-btn {
  background: #2563eb !important;
}

.day-group {
  margin-top: 25px;
  border: 1px solid #ccc;
}

.day-header {
  background: #f64040;
  color: white;
  padding: 12px;
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border: 1px solid #ccc;
  padding: 8px;
}

th {
  background: #f3f3f3;
}

.total {
  font-weight: bold;
  text-align: right;
  background: #fafafa;
}

/* Calendar mare */

.ui-datepicker {
    font-size: 22px !important;
    width: 420px !important;
    padding: 10px !important;
}

.ui-datepicker table {
    width: 100%;
}

.ui-datepicker th {
    font-size: 18px !important;
    padding: 10px !important;
}

.ui-datepicker td {
    padding: 4px !important;
}

.ui-datepicker td a {
    padding: 10px !important;
    text-align: center !important;
    font-size: 18px !important;
}

.ui-datepicker-title {
    font-size: 22px !important;
    font-weight: bold;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    transform: scale(1.5);
}

.date-field input {
    width: 250px !important;
    height: 60px !important;
    font-size: 28px !important;
}

.flatpickr-calendar {
  transform: scale(1.2) !important;
  transform-origin: top left !important;
}

.flatpickr-input,
.flatpickr-input + input {
  width: 180px !important;
  height: 42px !important;
  font-size: 16px !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
}

.search-input {
  width: 400px !important;
  height: 42px !important;
  padding: 8px 12px !important;
  font-size: 16px !important;
  border: 2px solid #d1d5db !important;
  border-radius: 8px !important;
}

.results-count {
  font-weight: bold;
  color: #333;
  margin-left: 10px;
}

#minOrdersBox {
  width: 130px !important;
  flex: 0 0 130px !important;
}

#minOrdersBox input {
  width: 110px !important;
  height: 42px !important;
  font-size: 18px !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
}

#restaurantSelect {
  width: 260px;
  height: 54px;
  font-size: 16px;
  padding: 0 14px;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  background: white;
}

#restaurantSelectBox {
  min-width: 280px;
}
#inactiveDaysBox {
  width: 190px !important;
  min-width: 190px !important;
  max-width: 190px !important;
}

#inactiveDays {
  width: 150px !important;
  height: 64px !important;
  line-height: 64px !important;
  padding: 0 14px !important;
  box-sizing: border-box !important;
  font-size: 18px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
}

#unsoldDaysBox {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
}

#unsoldDays {
  width: 110px !important;
  height: 55px !important;
  box-sizing: border-box;
}