
.change-number {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 auto;
}
.change-number .title {
  color: #b22222;
  font-weight: 700;
  font-size: 1.2em;
  padding: 20px;
  text-align: center;
}

.form-box {
  background-color: #fff7df;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 15px;
  margin-top: 30px;
}
.form-box .form-container {
  display: flex;
  flex-direction: column;
}
.form-box .thue-hh {
  font-weight: 700;
  color: white;
  background: #e64302;
  padding: 10px;
  text-align: center;
  font-size: 1.3em;
  width: 60%;
  transform: translate(30%, -77%);
  border-radius: 10px;
}

.rows-input {
  display: flex;
  flex-direction: column;
  font-size: 0.9em;
}
.rows-input .input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 300px;
}
.rows-input .input-group input {
  display: flex;
  height: 35px;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 10px;
}
.rows-input .input-group .thuc-lanh {
  border: 2px solid #e46317;
  color: red;
}

.input-group label {
  margin-top: 30px;
}
.input-group .custom-select-city {
  position: relative;
  width: 100%;
  cursor: pointer;
}
.input-group .selected-city {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.input-group .selected-city i {
  margin-left: 8px;
  transition: transform 0.3s;
}
.input-group .custom-select-city.active .selected-city i {
  transform: rotate(180deg);
}
.input-group .options-city {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  margin-top: 4px;
  list-style: none;
  padding: 0;
  display: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
}
.input-group .options-city li {
  padding: 10px;
  transition: background 0.2s;
}
.input-group .options-city li:hover {
  background: #f0f0f0;
  cursor: pointer;
}
.input-group.custom-select-city.active .options-city {
  display: block;
}

.input-group .ki-input-wrapper {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  transition: border-color 0.3s;
}
.input-group .ki-input-wrapper input {
  border: none;
  background: transparent;
  padding: 12px 10px;
  flex: 1;
  outline: none;
  font-size: 1em;
}
.input-group .ki-calendar {
  width: 85%;
  background: #fff;
  overflow: hidden;
  z-index: 1000;
  position: absolute;
}

.ki-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #4a90e2;
  color: #fff;
  padding: 10px 14px;
}
.ki-calendar-header button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.ki-calendar-header button:hover {
  background: rgba(255, 255, 255, 0.35);
}
.ki-calendar table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.ki-calendar th {
  background: #f6f7f9;
  color: #444;
  padding: 8px 0;
}
.ki-calendar td {
  padding: 10px 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.ki-calendar td:hover {
  background: #eaf3ff;
  color: #4a90e2;
}
.ki-calendar .ki-today {
  background: #4a90e2;
  color: #fff;
}
.ki-calendar-icon img {
  width: 20px;
}

.rows-input .input-group .day-so,
.rows-input .input-group .thuc-lanh {
  color: red;
  font-weight: 700;
  height: 50px;
  font-size: 2em;
}

.number-ve-so {
  margin-top: 20px;
}
.number-ve-so .column-number {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.number-ve-so .column-number .img-column img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.bai-st {
  margin-top: 30px;
}
.dropdown-group {
  max-width: 1200px;
  margin: 0 auto;
}
.dropdown-toggles {
  display: flex;
  /* border-bottom: 1px solid #ccc; */
}
.dropdown-toggle {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  cursor: pointer;
  text-decoration: none;
  background: #f8f8f8;
  color: #333;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.dropdown-toggle.active {
  background: #fff;
  border-bottom: 2px solid #007bff;
  font-weight: bold;
}
.dropdown-contents {
  padding: 10px;
  border: 1px solid #ccc;
  background: #fff;
}
.dropdown-content {
  display: none;
  text-align: left;
}
.dropdown-content.active {
  display: block;
}

.xs-container {
  width: 100%;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.xs-content {
  border: 1px solid #ccc;
}
.xs-center {
  background-color: #e9e6e6;
}

.xs-header {
  background: #f8f8f8;
  padding: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.xs-header select,
.xs-header input {
  padding: 4px 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.xs-title {
  margin: 6px 0 0 0;
  color: #0098da;
}
.xs-date {
  margin-bottom: 8px;
  text-align: center;
}

.xs-content table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}
.xs-content table td {
  border: 1px solid #ddd;
  padding: 6px;
}
.xs-content table tbody tr:nth-child(1) td:last-child {
  font-size: 2.2em;
  font-weight: 700;
  color: red;
}
.xs-content table tbody tr:nth-child(2) td:last-child {
  color: #0098da;
}
.giai-name {
  width: 60px;
  font-weight: 400;
  text-align: center;
}
.giai-content {
  text-align: center;
  font-weight: 700;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 10px;
  flex-wrap: wrap;
}

.blue {
  color: #0098da;
}

.gdb,
.red {
  font-size: 2.2em;
  font-weight: 700;
  color: red;
}
@media (min-width: 768px) {
  .change-number {
    max-width: 1200px;
    display: flex;
    justify-content: unset;
    align-items: unset;
    gap: unset;
  }
  .change-number .title {
    font-size: 1.6em;
  }

  .rows-input .input-group {
    width: unset;
    display: flex;
  }

  .number-ve-so {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    margin-top: 30px;
    flex-direction: row;
    gap: 10px;
  }
  .number-ve-so .column-number {
    width: 50%;
  }
  .number-ve-so .column-number .img-column img {
    max-width: unset;
  }

  .xs-center {
    display: flex;
    justify-content: space-between;
    padding: 10px;
  }

  .xs-content table td {
    padding: 8px;
  }
}
@media (min-width: 996px) {
  .form-box .form-container {
    flex-direction: row;
    justify-content: space-between;
  }
  .form-box .thue-hh {
    width: 30%;
    transform: translate(240%, -40%);
  }

  .rows-input {
    gap: 10px;
    width: 30%;
  }

  .rows-input .input-group .day-so,
  .rows-input .input-group .thuc-lanh {
    width: 190px;
  }
  .rows-input .input-group {
    gap: 0;
    flex-direction: row;
  }
  .input-group .ki-calendar {
    width: 30%;
  }
  .input-group label {
    margin-top: unset;
    width: 100px;
    font-size: 0.8em;
    display: flex;
    align-items: center;
  }
  .input-group .ki-input-wrapper,
  .input-group .selected-city {
    width: 182px;
  }
  .input-group .custom-select-city {
    width: unset;
  }

  .number-ve-so .column-number {
    width: 50%;
  }
  .dropdown-toggles {
    width: 30%;
  }

  .kc-top {
    margin-top: 110px;
  }
  .kc-top-2 {
    margin-top: 50px;
  }
}
@media (min-width: 1200px) {
  .input-group .ki-calendar {
    width: 25%;
  }
}
@media (min-width: 1500px) {
  .input-group .ki-calendar {
    width: 15%;
  }
}
