/* style.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
#container {
    width: 90%;
    max-width: 400px;
    padding: 1.5em;
    padding-bottom: 0.5em;
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}
h2 {
    text-align: center;
    margin-bottom: 1em;
    color: #ffffff;
}
h4 {
    text-align: center;
    font-style: italic;
    font-size: small;
    margin-bottom: 2em;
    color: #ffffff;
}
h5 {
    text-align: center;
    font-size: x-small;
    margin-bottom: 1em;
    color: #646464;
}
label {
    display: block;
    margin: 0.5em 0 0.2em;
}
input {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: #e0e0e0;
}
input, select {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: #e0e0e0;
}
input:focus {
    outline: none;
    border-color: #007acc;
}
button {
    display: block;
    width: 60%;
    padding: 0.7em;
    margin: 15px auto;
    border: none;
    background-color: #0070cc;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}
button:hover {
    background-color: #005fa3;
}
#message {
    width: 100%;
    height: 150px;
    margin-top: 1em;
    font-size: 0.9em;
    resize: none;
    background-color: #2a2a2a;
    border: 1px solid #333;
    border-radius: 4px;
    color: #e0e0e0;
    padding: 0.5em;
}
.jco-logo {
    width: 130px;
    height: auto;
    margin-top: 30px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;              /* space between checkbox and text */
  margin-right: 20px;
  cursor: pointer;
  color: white;          /* text color for dark background */
}

/* Hide native checkbox */
.checkbox-label input[type="checkbox"] {
  display: none;
}

/* Custom checkbox box */
.custom-checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-radius: 3px;
  background: #222;       /* dark background */
  position: relative;
  transition: all 0.2s ease;
}

/* Checked state */
.checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
  background: #00c853;    /* green fill when checked */
  border-color: #00c853;
}

/* Checkmark (only visible when checked) */
.custom-checkbox::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: scale(0) rotate(45deg);
  transition: transform 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .custom-checkbox::after {
  transform: scale(1) rotate(45deg);
}
