* {
  color: white;
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  font-family: Arial;
}

/* || GENERAL STYLES */
html,
body {
  min-height: 100vh;
  background: #475569;
  background: -moz-linear-gradient(top, #000000 0%, #2b1515 100%);
  background: -webkit-linear-gradient(top, #000000 0%, #2b1515 100%);
  background: linear-gradient(to bottom, #000000 0%, #2b1515 100%);
}

/* || BODY */
/* CONTAINERS */
.container {
  width: 80%;
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  background: #141414e6;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.sub-container {
  position: relative;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 10px;
  background: #282828e6;
  border: 4px solid #000000;
  border-radius: 20px;
}
.heading-container {
  margin-top: 20px;
  margin-bottom: 40px;
}
.heading-container > p {
  margin: 10px;
}
.sub-heading-container {
  margin-top: 10px;
  margin-bottom: 20px;
}

/* FORMS */
.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px;
}
.form-group {
  margin-bottom: 15px;
}
.form-field {
  margin: 10px;
}

.search-input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #555;
  border-radius: 5px;
  background: #333;
}

/* Placeholder color */
::placeholder {
  color: #666;
}

.form-input, .form-select {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 2px solid #666;
  border-radius: 5px;
  background-color: #222;
  color: white;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-search p{
  background: #cc5200;
  margin: 5px;
  padding: 5px;
  border: 2px solid #000000;
  border-radius: 10px;
}

/* Dropdown specific styles */
.form-select {
  appearance: none;
  background-color: #333;
  cursor: pointer;
}

/* Add a custom dropdown arrow */
.form-select::after {
  content: '▼';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Focus and hover effects */
.form-input:focus, .form-select:focus {
  border-color: #ff6600;
  outline: none;
  box-shadow: 0 0 8px #ff6600;
}

/* Custom Checkbox Styling */
.form-checkbox {
  width: 18px;
  height: 18px;
  appearance: none;
  background-color: #333;
  border: 2px solid #666;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  position: relative;
}

/* Checkbox when checked */
.form-checkbox:checked {
  background-color: #ff6600;
  border-color: #ff6600;
}

/* Add a checkmark when checked */
.form-checkbox:checked::after {
  color: white;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}


/* BUTTONS */
.input-button {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  background: #ff6600;
  cursor: pointer;
  transition: background 0.3s ease;
}
.input-button:hover {
  background: #cc5200;
}

.input-button-secondary {
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
  padding: 10px 15px;
  background: #333;
  border-radius: 5px;
  text-align: center;
}
.input-button-secondary:hover {
  background: #555;
}

.delete-button {
  position: absolute;
  right: 10px;
  width: 20px;
  height: 20px;
  background: #ff6600;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: height 0.5s, width 0.5s ease;
}
.delete-button:hover {
  width: 25px;
  height: 25px;
}

/* TABLES */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: rgba(30, 30, 30, 0.9);
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #444;
}

th {
  background: #333;
  font-weight: bold;
}

tr:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* COMPANY LINKS */
.company-link {
  text-decoration: none;
  color: #ff6600;
  font-weight: bold;
}

.company-link:hover {
  color: #ff9933;
}

/* NO RESULTS MESSAGE */
.no-results {
  text-align: center;
  font-size: 18px;
  margin-top: 20px;
  color: #bbb;
}

/* ERROR MESSAGES */
.error, .error p {
  color: red;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}