/* Mobile-first styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

header {
    margin-bottom: 20px;
}

h1 {
    font-size: 24px;
    color: #333;
}

form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 320px;
}

.form-group {
    margin-bottom: 15px;
}

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

input,
select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

#customCodeGroup {
    display: none; /* Hidden until "Custom" is selected */
}

/* Responsive styling for larger screens */
@media (min-width: 768px) {
    h1 {
        font-size: 28px;
    }

    form {
        max-width: 400px;
    }

    button {
        font-size: 18px;
    }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

#statusMessage {
    margin-top: 10px;
    font-size: 14px;
    /* color: green;
    display: none; */
}

.slide-container {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }

  .slide-container input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }

  input:checked + .slider {
    background-color: #f44336; /* Red when on */
  }

  input:checked + .slider:before {
    transform: translateX(26px);
  }

  .slider .on-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
  }

  input:checked + .slider .on-text {
    opacity: 1;
  }
 
  
  .dropdown-wrapper {
    position: relative;
    /* width: 250px; */
    width: 100%;
    font-family: sans-serif;
    /* margin: 50px; */
  }

  .input-dropdown {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    box-sizing: border-box;
  }

  .dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    border-top: none;
    background: white;
    z-index: 1000;
    display: none;
    max-height: 150px;
    overflow-y: auto;
  }

  .dropdown-options div {
    padding: 8px;
    cursor: pointer;
  }

  .dropdown-options div:hover {
    background: #f0f0f0;
  }

  .show {
    display: block;
  }

  .sevenish {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.1em;
    color: rgb(57, 57, 57);
  }

  .dropdown-description {
    color: rgb(94, 94, 94);
    font-size: 12px;
  }

  .dropdown-custom-description {
    color: rgb(44, 44, 44);
    font-size: 16px; 
  }
