/* Layout & Container */
.bqc-wrapper {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /*max-width: 640px;*/
    width: 100%;
}

.bqc-form {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Description & Guide */
.bqc-description,
.bqc-how-to {
    /*max-width: 640px;*/
    margin: 0 auto 1rem auto;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    color: #1f2937;
}

/* Tabs */
.bqc-tabs {
    display: flex;
    margin-bottom: 1rem;
}

.bqc-tab {
    flex: 1;
    padding: 0.5rem;
    background: #d1d5db;
    color: #1f2937;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.bqc-tab.active {
    background: #3b82f6;
    color: white;
}

/* Form Fields */
.bqc-field {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.bqc-field label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.bqc-field input {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
}

/* Buttons */
.bqc-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bqc-buttons button {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    font-size: 1rem;
}

#calculateTiles {
    background-color: #3b82f6;
}

#calculateTiles:hover {
    background-color: #2563eb;
}

#resetTiles {
    background-color: #d0021b;
}

#resetTiles:hover {
    background-color: #a80215;
}

/* Result */
.bqc-result label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    display: block;
    color: #1f2937;
}

.bqc-result input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #f3f4f6;
    font-size: 1rem;
}

  .collapsible-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 1em 0;
    font-family: Arial, sans-serif;
  }

  .collapsible-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: #f5f5f5;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
  }

  .collapsible-header span {
    font-size: 18px;
    color: black;
    transition: transform 0.3s ease;
    display: inline-block;
  }

  .collapsible-header.active span {
    transform: rotate(180deg); /* rotates arrow up */
  }

  .collapsible-content {
    display: none;
    padding: 16px;
  }

  .collapsible-content ul {
    margin-left: 20px;
  }
