* {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  margin: 0;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  background: #1e1e2f;
  color: #ddd;
}

html {
  min-height: 100vh;
}

.border-wrapper {
  position: relative;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(270deg, #6c00ff, #00e0ff, #ff6ec4, #33ff00, #6c00ff);
  background-size: 400% 400%;
  animation: borderShift 8s linear infinite;
}

@keyframes borderShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.container {
  background: #2a2a40;
  border-radius: 20px;
  box-shadow: 6px 6px 12px #1c1c2a, -6px -6px 12px #333351;
  padding: 40px;
  width: 620px;
  text-align: center;
}

h2 {
  margin-bottom: 30px;
  color: #f0f0f0;
  font-weight: 600;
}

input[type="text"],
input[type="password"],
select,
input[type="file"],
input[type="date"] {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: none;
  border-radius: 12px;
  background: #2f2f4f;
  box-shadow: inset 3px 3px 6px #1c1c2a,
              inset -3px -3px 6px #3b3b5c;
  color: #eee;
  outline: none;
  font-size: 14px;
  appearance: none;
}

select[multiple] {
  height: 100px;
}

.neumorphic-option {
  text-align: left;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.neumorphic-option input[type="radio"],
.neumorphic-option input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  background: #2f2f4f;
  border-radius: 50%;
  box-shadow: inset 1px 1px 2px #1c1c2a,
              inset -1px -1px 2px #3b3b5c;
  position: relative;
  cursor: pointer;
}

.neumorphic-option input[type="checkbox"] {
  border-radius: 6px;
}

.neumorphic-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
}

.neumorphic-option input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: -2px;
  left: 2px;
  font-size: 14px;
  color: #ccc;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: #2f2f4f;
  box-shadow: 3px 3px 6px #1c1c2a,
              -3px -3px 6px #3b3b5c;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

button:hover {
  box-shadow: 3px 3px 6px #1c1c2a,
              -3px -3px 6px #3b3b5c;
}
button:active {
  box-shadow: inset 3px 3px 6px #1c1c2a,
              inset -3px -3px 6px #3b3b5c;
}

label {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-size: 14px;
  color: #aaa;
}

.custom-dropdown summary {
  list-style: none;
  padding: 15px;
  background: #2f2f4f;
  border-radius: 12px;
  box-shadow: inset 3px 3px 6px #1c1c2a,
              inset -3px -3px 6px #3b3b5c;
  cursor: pointer;
  color: #ccc;
}

.custom-dropdown summary::-webkit-details-marker {
  display: none;
}

.custom-dropdown div {
  margin-top: 10px;
  padding-left: 10px;
}

.custom-select {
  position: relative;
  background: #2f2f4f;
  box-shadow: inset 3px 3px 6px #1c1c2a,
              inset -3px -3px 6px #3b3b5c;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  margin-bottom: 20px;
  color: #ddd;
}

.selected-items {
  white-space: nowrap;
  overflow-x: auto;
  max-width: 100%;
  font-size: 14px;
  padding: 5px;
  color: #ccc;
}

.selected-items::-webkit-scrollbar {
  height: 4px;
}
.selected-items::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.dropdown-options {
  display: none;
  position: absolute;
  background: #2a2a40;
  box-shadow: 3px 3px 6px #1c1c2a,
              -3px -3px 6px #3b3b5c;
  border-radius: 12px;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 10px;
  z-index: 10;
  margin-top: 5px;
}

.dropdown-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 14px;
  cursor: pointer;
  color: #ccc;
}

.custom-select.open .dropdown-options {
  display: block;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  border-radius: 10px !important;
  padding: 10px !important;
  background: #2f2f4f;
  box-shadow: inset 2px 2px 4px #1c1c2a,
              inset -2px -2px 4px #3b3b5c;
  color: #ccc;
}

.neumorphic-header {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a84ff;
  box-shadow: 0px 4px 6px #111; /* Darker shadow */
  padding: 0 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-left {
  position: absolute;
  left: 16px;
}

.logo-box {
  width: 20px;
  height: 20px;
  background: #3c3c60;
  border-radius: 4px;
  box-shadow: inset 1px 1px 3px #1c1c2a,
              inset -1px -1px 3px #3b3b5c;
}

.header-title {
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  text-align: center;
}

.neumorphic-footer {
  height: 33px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2f2f4f;
  box-shadow: 0px -4px 6px #111;
  padding: 0 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 13px;
  color: #aaa;
  z-index: 1000;
}
