/* Create Bout Page Styles - Dark Theme */
.create-bout-page {
  background: #000;
  min-height: 100vh;
  color: #fff;
}

.create-bout-container {
  max-width: 900px;
  margin: 0 auto;
}

.create-bout-container h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
}

.form-section {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.form-section h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #333;
}

/* Form Controls */
.form-label {
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  background: #222;
  border: 1px solid #333;
  color: #fff;
  padding: 0.75rem;
}

.form-control:focus,
.form-select:focus {
  background: #222;
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  color: #fff;
}

.form-control::placeholder {
  color: #666;
}

/* Autofill styling */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #222 inset !important;
  -webkit-text-fill-color: #fff !important;
  border: 1px solid #333 !important;
}

.text-muted, .small {
  color: #999 !important;
}

/* Cover Image Preview */
.cover-image-preview {
  width: 100%;
  max-width: 600px;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #333;
}

.cover-image-preview img {
  width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

.btn-secondary {
  background: #333;
  border: 1px solid #444;
  color: #fff;
}

.btn-secondary:hover {
  background: #444;
  border-color: #555;
  color: #fff;
}

/* Form Switch */
.form-check-input {
  background-color: #333;
  border-color: #555;
}

.form-check-input:checked {
  background-color: #667eea;
  border-color: #667eea;
}

.form-check-label {
  color: #fff;
  font-weight: 500;
}

/* Alert */
.alert-danger {
  background: #331a1a;
  color: #ff6b6b;
  border-color: #663333;
}

.alert-success {
  background: #1a331a;
  color: #28a745;
  border-color: #336633;
}

/* Loading State */
#submit-btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

#submit-btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 3px solid #fff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* Location Search Suggestions */
#location-suggestions .list-group-item {
  transition: background 0.2s ease;
  border: none;
  border-bottom: 1px solid #333;
}

#location-suggestions .list-group-item:last-child {
  border-bottom: none;
}

#location-suggestions .list-group-item:hover {
  background: #3a3a3a !important;
}

#selected-location-bout {
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .create-bout-container {
    padding: 1rem;
  }

  .form-section {
    padding: 1.5rem;
  }

  .create-bout-container h1 {
    font-size: 1.5rem;
  }

  .form-section h3 {
    font-size: 1.1rem;
  }
}

