/* Mobile responsive styles for sandbox.html */
@media (max-width: 640px) {
  .custom-row {
    padding-left: 10px;
    padding-right: 10px;
    margin: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .custom-col-100 {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .custom-title {
    font-size: 1.8rem !important;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .custom-text {
    font-size: 1rem !important;
    text-align: center;
    margin-bottom: 1rem;
  }

  .thumbnail-controls {
    padding: 0 10px !important;
    width: 100%;
  }

  .custom-form-group {
    margin-bottom: 1rem !important;
    padding: 10px !important;
  }

  .custom-form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem !important;
  }

  .custom-form-group input[type="text"],
  .custom-form-group input[type="url"],
  .custom-form-group input[type="color"],
  .custom-form-group textarea {
    width: 100% !important;
    box-sizing: border-box;
    font-size: 1rem !important;
    padding: 0.5rem !important;
  }

  .custom-button {
    width: 100% !important;
    padding: 0.75rem !important;
    font-size: 1.1rem !important;
  }

  .custom-col-50 {
    width: 100% !important;
    padding-left: 0 !important; /* Assuming consistent padding reset with custom-col-100 */
    padding-right: 0 !important; /* Assuming consistent padding reset with custom-col-100 */
  }

  #thumbnail-preview-container {
    overflow-x: auto; /* Allow horizontal scrolling if content (canvas) is wider */
  }

  .subtitle {
    font-size: 1.5rem !important; /* Reduced from 3rem for mobile */
    margin-bottom: 0.75rem; /* Adjusted margin */
  }

  .custom-form-group input[type="color"] {
    height: 2.5rem !important; /* Adjusted height for color input */
  }
}
