:root {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #102a43;
  background-color: #f5f7fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

header {
  margin-bottom: 1.5rem;
}

header h1 {
  margin: 0 0 0.25rem;
  font-size: 2rem;
}

.panel {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.field {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.table-field {
  position: relative;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid #cbd2d9;
  background: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.dropdown-toggle:focus {
  outline: none;
  border-color: #3d5af1;
}

.caret {
  font-size: 0.9rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #cbd2d9;
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.12);
  padding: 0.75rem;
  max-height: 320px;
  overflow: hidden;
  z-index: 10;
}

.dropdown-menu.hidden {
  display: none;
}

.dropdown-menu input {
  width: 100%;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid #cbd2d9;
  margin-bottom: 0.5rem;
}

#tableList {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow-y: auto;
}

#tableList li {
  padding: 0.6rem 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

#tableList li:hover,
#tableList li.active {
  background: #eef2ff;
  color: #3d5af1;
  font-weight: 600;
}

.hint {
  font-size: 0.9rem;
  color: #627d98;
  margin-top: 0.25rem;
}

.drop-zone {
  border: 2px dashed #cbd2d9;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.drop-zone.dragover {
  border-color: #3d5af1;
  background: #eef2ff;
}

.drop-zone p {
  margin: 0.25rem 0;
}

.file-name {
  font-weight: 600;
  color: #0f172a;
}

.actions {
  text-align: right;
}

#dropdownLabel{
  color: #000;
}

button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #3d5af1, #5f2eea);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}



button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button:not(:disabled):hover {
  transform: translateY(-1px);
}

#status {
  min-height: 1.5rem;
  margin-top: 0.75rem;
  font-weight: 600;
}

#status.success {
  color: #2f9e44;
}

#status.error {
  color: #d62828;
}
