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

body {
  margin: 0;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  background: #dce1eb;
}

html {
  min-height: 100vh;
}

.border-wrapper {
  position: relative;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(270deg, #ffccf4, #d6f7ff, #f5ccf2, #80ffaa, #ffccf4);
  background-size: 400% 400%;
  animation: borderShift 8s linear infinite;
}

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

.container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 10px #a3b1c6, -6px -6px 10px #ffffff;
  padding: 40px;
  width: 620px;
  text-align: center;
}

h2 {
  margin-bottom: 30px;
  color: #333;
  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: #e0e5ec;
  box-shadow: inset 3px 3px 6px #babecc,
              inset -3px -3px 6px #ffffff;
  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: #e0e5ec;
  border-radius: 50%;
  box-shadow: inset 1px 1px 2px #babecc,
              inset -1px -1px 2px #ffffff;
  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: #666;
  border-radius: 50%;
}

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

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: #e0e5ec;
  box-shadow: 3px 3px 6px #babecc,
              -3px -3px 6px #ffffff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

button:hover {
      /* No shadow changes on hover */
      box-shadow:3px 3px 6px #babecc,
              -3px -3px 6px #ffffff;
    }
button:active {
  box-shadow: inset 3px 3px 6px #babecc,
              inset -3px -3px 6px #ffffff;
}

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

/* Custom dropdown with checkboxes */
.custom-dropdown {
  text-align: left;
  margin: 20px 0;
}

.custom-dropdown summary {
  list-style: none;
  padding: 15px;
  background: #e0e5ec;
  border-radius: 12px;
  box-shadow: inset 3px 3px 6px #babecc,
              inset -3px -3px 6px #ffffff;
  cursor: pointer;
}

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

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

.custom-dropdown input[type="checkbox"] {
  margin-right: 6px;
}

.custom-select {
  position: relative;
  background: #e0e5ec;
  box-shadow: inset 3px 3px 6px #babecc,
              inset -3px -3px 6px #ffffff;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  margin-bottom: 20px;
}

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

.selected-items::-webkit-scrollbar {
  height: 4px;
}

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

.dropdown-options {
  display: none;
  position: absolute;
  background: #f0f3f7;
  box-shadow: 3px 3px 6px #babecc,
              -3px -3px 6px #ffffff;
  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;
}

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

.dataTables_wrapper .dataTables_filter input {
  border-radius: 10px !important;
  padding: 10px !important;
}

.dataTables_wrapper .dataTables_length select{
  border-radius: 10px !important;
  padding: 10px !important;
}

/* Header */
.neumorphic-header {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0672CB;
  box-shadow: 0px 4px 6px #a3b1c6; /* Shadow only at bottom */
  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: #c5ccd8;
  border-radius: 4px;
  box-shadow: inset 1px 1px 3px #babecc,
              inset -1px -1px 3px #ffffff;
}

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

/* Footer */
.neumorphic-footer {
  height: 33px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e0e5ec;
  box-shadow: 0px -4px 6px #a3b1c6; /* Shadow only at top */
  padding: 0 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 13px;
  color: #333;
  z-index: 1000;
}
