:root {
  --color-primary: #f85838;
  --color-secondary: #221f1f;
  --color-background: #dededb;
  --color-form-background: #ffffff;
  --color-font: #000000;
  --color-button: #f85838;
  --color-form-text: #000000;
}

body {
  background-color: var(--color-background);
  color: var(--color-font);
  font-family: Arial, sans-serif;
}

#imageAngelRequestForms {
  background-color: var(--color-form-background);
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-form-text);
}

#emailRequestForm,
#tweetRequestForm {
  background-color: var(--color-form-background);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  color: var(--color-form-text);
}

#imageAngelRequestForms label,
#emailRequestForm label,
#tweetRequestForm label {
  color: var(--color-font);
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

#imageAngelRequestForms input[type="text"],
#imageAngelRequestForms input[type="email"],
#imageAngelRequestForms select,
#emailRequestForm input[type="text"],
#emailRequestForm input[type="email"], 
#emailRequestForm select,
#tweetRequestForm input[type="text"],
#tweetRequestForm input[type="email"],
#tweetRequestForm select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  color: var(--color-font);
  background-color: #fff;
}

#imageAngelRequestForms input[type="checkbox"],
#imageAngelRequestForms input[type="radio"],
#emailRequestForm input[type="checkbox"],
#emailRequestForm input[type="radio"],
#tweetRequestForm input[type="checkbox"],
#tweetRequestForm input[type="radio"] {
  margin-right: 8px;
}

.button-container {
  text-align: center;
}

#imageAngelRequestForms button[type="submit"],
#imageAngelRequestForms button[type="button"],
#emailRequestForm button[type="submit"],
#emailRequestForm button[type="button"],
#tweetRequestForm button[type="submit"],
#tweetRequestForm button[type="button"] {
  background-color: var(--color-button);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

#imageAngelRequestForms button[type="submit"]:hover,
#imageAngelRequestForms button[type="button"]:hover,
#emailRequestForm button[type="submit"]:hover,
#emailRequestForm button[type="button"]:hover,
#tweetRequestForm button[type="submit"]:hover,
#tweetRequestForm button[type="button"]:hover {
  background-color: darken(var(--color-button), 10%);
}

fieldset {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 20px;
}

legend {
  font-weight: bold;
  color: var(--color-font);
}

#emailPlatformsContainer label,
#tweetPlatformsContainer label {
  display: inline-block;
  margin: 5px;
  padding: 10px;
  background-color: #dededb;
  border-radius: 4px;
  cursor: pointer;
  color: var(--color-font);
  font-weight: bold;
}

#emailPlatformsContainer input[type="checkbox"],
#tweetPlatformsContainer input[type="radio"] {
  margin-right: 4px;
}

/* Style for custom platform fields */
#imageAngelRequestForms fieldset fieldset,
#emailRequestForm fieldset fieldset,
#tweetRequestForm fieldset fieldset {
  border-color: #ccc;
  padding: 10px;
  margin-top: 10px;
}


#imageAngelRequestForms .ia-contact-info {
  background-color: #f0f8ff;
  border-left: 4px solid var(--color-button);
  border-radius: 4px;
  margin-top: 15px;
  padding: 10px;
}

#imageAngelRequestForms .ia-contact-info p {
  margin: 0;
  font-size: 14px;
  color: #222 !important;
}

#imageAngelRequestForms .ia-contact-info strong {
  color: #f85838;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  #imageAngelRequestForms,
  #emailRequestForm,
  #tweetRequestForm {
      padding: 15px;
  }

  #imageAngelRequestForms label,
  #imageAngelRequestForms input[type="text"],
  #imageAngelRequestForms input[type="email"],
  #imageAngelRequestForms select,
  #emailRequestForm label,
  #emailRequestForm input[type="text"],
  #emailRequestForm input[type="email"],
  #emailRequestForm select,
  #tweetRequestForm label,
  #tweetRequestForm input[type="text"],
  #tweetRequestForm input[type="email"],
  #tweetRequestForm select {
      font-size: 16px;
  }

  #emailPlatformsContainer label,
  #tweetPlatformsContainer label {
      width: 100%;
      margin-bottom: 10px;
      display: block;
  }
  
  #emailPlatformsContainer input[type="checkbox"],
  #tweetPlatformsContainer input[type="radio"] {
      margin-right: 8px;
      width: auto;
      display: inline-block;
  }
}

/* Fixed Color Settings for Admin Page Labels */
form h2,
form th {
  color: #000000;
  font-weight: bold;
}

form label {
  color: #000000;
  font-weight: bold;
}

.nav-tab-wrapper {
  margin-bottom: 1em;
  border-bottom: 1px solid #ccc;
}

.nav-tab {
  display: inline-block;
  padding: 10px 15px;
  margin-right: 5px;
  background: #f1f1f1;
  border: 1px solid #ccc;
  border-bottom: none;
  text-decoration: none;
  color: #0073aa;
  cursor: pointer;
}

.nav-tab.active {
  background: #fff;
  border-bottom: 1px solid #fff;
  color: #000;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.drag-handle {
  cursor: move;
  width: 20px; /* Adjust width for better alignment or usability in different table layouts */
  text-align: center;
}

.drag-handle span {
  font-size: 18px; /* Increase/decrease size as desired */
}

#autocomplete-container input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.ui-menu-item .ui-menu-item-wrapper:hover
{
    background: #fff;
    border: none !important;
    background-color: #cccc !important;
    opacity: 1 !important;
}

/* Change the background color of each item in the autocomplete list */
.ui-menu-item {
  background-color: #f0f0f0; /* Replace with your desired color */
}

/* Change the background color of the hovered item */
.ui-menu-item:hover {
  background-color: #d0d0d0; /* Replace with your desired hover color */
}