/* Clean Form Styles */
.clean-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.clean-form-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  color: #333;
  margin-bottom: 0.5rem;
}

.clean-form-subtitle {
  text-align: center;
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.clean-form-group {
  margin-bottom: 1.5rem;
}

.clean-form-label {
  display: block;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.clean-form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  background: #fff;
  color: #333;
}

.clean-form-control:focus {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 0 2px rgba(102, 102, 102, 0.1);
}

.clean-form-control::placeholder {
  color: #999;
}

.clean-form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  background: #fff;
  color: #333;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  padding-right: 2.5rem;
}

.clean-form-select:focus {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 0 2px rgba(102, 102, 102, 0.1);
}

.clean-form-date {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  background: #fff;
  color: #333;
}

.clean-form-date:focus {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 0 2px rgba(102, 102, 102, 0.1);
}

.clean-form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  background: #fff;
  color: #fff;
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}

.clean-form-textarea:focus {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 0 2px rgba(102, 102, 102, 0.1);
}

.clean-form-submit {
  background: #dc3545;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clean-form-submit:hover {
  background: #c82333;
}

.clean-form-submit:active {
  background: #bd2130;
}

.clean-alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.clean-alert-danger {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.clean-alert-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.clean-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.clean-form-row-three {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.clean-form-row-single {
  margin-bottom: 1.5rem;
}

.clean-form-section {
  background: #f8f8f8;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  border: 1px solid #f8f8f8;
}

.clean-form-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #dc3545;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .clean-form-container {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .clean-form-title {
    font-size: 1.75rem;
  }
  
  .clean-form-row,
  .clean-form-row-three {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .clean-form-section {
    padding: 1rem;
  }
}

/* Form layout with submit button on lower left */
.clean-form-layout {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background-color: #f8f8f8;
}

.clean-form-content {
  flex: 1;
}

.clean-form-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
} 

.clean-footer {
font-size: 0.8rem;
margin-top: 1rem;
}

.clean-footer p{
  font-size: 0.8rem;
  }
