.operations-page {
  display: none;
  padding-bottom: 40px;
}

.operations-page.active-page {
  display: block;
}

.operations-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.operations-introduction h2 {
  margin: 0 0 6px;
  color: #10243e;
  font-size: 24px;
}

.operations-introduction p {
  margin: 0;
  color: #718096;
}

.operations-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.operation-search {
  position: relative;
}

.operation-search input {
  width: 260px;
  height: 44px;
  padding: 0 16px 0 42px;
  border: 1px solid #dce6f1;
  border-radius: 12px;
  background: #fff;
  color: #10243e;
  outline: none;
}

.operation-search input:focus {
  border-color: #159ce4;
  box-shadow: 0 0 0 3px rgba(21, 156, 228, .12);
}

.operation-search span {
  position: absolute;
  left: 15px;
  top: 12px;
  color: #7b8da3;
}

.operation-button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #16b8eb, #0877e8);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(8, 119, 232, .2);
}

.operation-button:hover {
  filter: brightness(1.04);
}

.operation-button:disabled {
  opacity: .65;
  cursor: wait;
}

.operation-button.secondary {
  background: #eef5fb;
  color: #33516f;
  box-shadow: none;
}

.operation-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.operation-summary-card {
  padding: 18px 20px;
  border: 1px solid #e4edf5;
  border-radius: 16px;
  background: #fff;
}

.operation-summary-card span {
  display: block;
  color: #7a8ba0;
  font-size: 13px;
}

.operation-summary-card strong {
  display: block;
  margin-top: 6px;
  color: #10243e;
  font-size: 25px;
}

.operation-table-panel {
  overflow: hidden;
  border: 1px solid #e4edf5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(27, 58, 94, .06);
}

.operation-table-wrapper {
  overflow-x: auto;
}

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

.operation-table th {
  padding: 14px 18px;
  background: #f7fafc;
  color: #718096;
  font-size: 12px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

.operation-table td {
  padding: 16px 18px;
  border-top: 1px solid #edf2f7;
  color: #304761;
  vertical-align: middle;
}

.operation-table tbody tr:hover {
  background: #fbfdff;
}

.table-primary {
  color: #10243e;
  font-weight: 750;
}

.table-secondary {
  display: block;
  margin-top: 3px;
  color: #8090a3;
  font-size: 12px;
}

.plate-label {
  display: inline-block;
  padding: 7px 11px;
  border: 1px solid #cad9e7;
  border-radius: 7px;
  background: #f7fafc;
  color: #10243e;
  font-family: monospace;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e9f9f0;
  color: #16824b;
  font-size: 12px;
  font-weight: 700;
}

.status-label.inactive {
  background: #f1f4f7;
  color: #718096;
}

.status-label.blocked {
  background: #fff0f0;
  color: #c73f3f;
}

.table-action {
  padding: 7px 11px;
  border: 1px solid #dce7f0;
  border-radius: 9px;
  background: #fff;
  color: #0877e8;
  font-weight: 700;
  cursor: pointer;
}

.operation-empty,
.operation-loading,
.operation-error {
  padding: 52px 20px;
  color: #718096;
  text-align: center;
}

.operation-empty strong,
.operation-error strong {
  display: block;
  margin-bottom: 7px;
  color: #304761;
  font-size: 18px;
}

.operation-error {
  color: #c33f4a;
}

.operation-modal-backdrop {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 24, 44, .62);
  backdrop-filter: blur(4px);
}

.operation-modal {
  width: min(760px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.operation-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid #e8eef5;
}

.operation-modal-header h2 {
  margin: 0;
  color: #10243e;
  font-size: 22px;
}

.modal-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #f0f5f9;
  color: #46617d;
  font-size: 22px;
  cursor: pointer;
}

.operation-form {
  padding: 24px;
}

.operation-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.operation-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #304761;
  font-size: 13px;
  font-weight: 700;
}

.operation-form label.full {
  grid-column: 1 / -1;
}

.operation-form input,
.operation-form select,
.operation-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dce6ef;
  border-radius: 11px;
  background: #fff;
  color: #10243e;
  outline: none;
  box-sizing: border-box;
}

.operation-form input:focus,
.operation-form select:focus,
.operation-form textarea:focus {
  border-color: #159ce4;
  box-shadow: 0 0 0 3px rgba(21, 156, 228, .12);
}

.operation-form textarea {
  min-height: 84px;
  resize: vertical;
}

.checkbox-field {
  flex-direction: row !important;
  align-items: center;
  min-height: 44px;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
}

.form-operation-error {
  margin-top: 16px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #fff0f1;
  color: #bd3540;
  font-size: 13px;
}

.operation-form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
  margin-top: 22px;
}

.operation-toast {
  position: fixed;
  z-index: 3000;
  right: 22px;
  bottom: 22px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #132b45;
  color: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .25);
}

@media (max-width: 900px) {
  .operations-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .operations-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .operation-search input {
    width: 100%;
  }

  .operation-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .operation-form-grid {
    grid-template-columns: 1fr;
  }

  .operation-form label.full {
    grid-column: auto;
  }

  .operation-table th,
  .operation-table td {
    padding: 13px 12px;
  }
}
