/* ==================== ADMIN FORMS ==================== */

/* Form Header */
.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #20232a;
}

/* Form Container */
.form-container {
  background: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-width: 600px;
}

/* Form (Generic) */
.video-form,
.category-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Form Group */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #20232a;
}

/* Input & Textarea */
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: #333;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #007acc;
  box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
}

/* Input Placeholder */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

/* Description Text */
.form-group small {
  margin-top: 0.4rem;
  color: #666;
  font-size: 0.85rem;
  line-height: 1.4;
}

.form-group small strong {
  color: #333;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.form-actions .btn {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1.5rem;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
  .form-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .form-container {
    padding: 1.5rem;
    max-width: 100%;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}
