/* Container and layout */
.page-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 60px 20px;
}

.ticket-form-card {
  background-color: white;
  border-radius: 16px;
  padding: 40px 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 750px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ticket-form-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Headings */
h1 {
  font-weight: 600;
  font-size: 42px;
  color: black;
  text-align: center;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 16px;
  text-align: center;
  color: #aaa;
  margin-bottom: 30px;
}

/* Input fields */
.styled-input {
  position: relative;
  margin-bottom: 30px;
}

/* Target labels specifically inside your form containers */
.styled-input label {
  display: block;
  margin-bottom: 8px;
  color: #000000 !important; /* The !important ensures no other style overrides this */
  font-weight: 600;
  font-family: sans-serif; /* Ensures it's not using a faint default font */
}

.styled-input input,
.styled-input textarea {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  background-color: lightgray;
  color: black;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.styled-input input:focus,
.styled-input textarea:focus {
  outline: 2px solid #4b8cfb;
}

.styled-input textarea {
  min-height: 180px;
  resize: vertical;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #ccc;
  font-weight: 500;
}

/* Submit button */
.submit-btn {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.submit-btn button {
  background-color: #1C4B5D;
  color: white;
  border: none;
  padding: 12px 40px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .ticket-form-card {
    padding: 30px 25px;
  }

  h1 {
    font-size: 32px;
  }

  .submit-btn button {
    width: 50%;
  }
}

/* Image upload */
.image-preview {
  margin-top: 10px;
  width: 100%;
  min-height: 150px;
  border-radius: 10px;
  background-color: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: #888;
  border: 2px dashed #444;
  transition: border-color 0.3s ease;
}

.image-preview:hover {
  border-color: #4b8cfb;
}

.image-preview__img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}