/* Base Layout */
.container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.row--body {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 2em;
  align-items: flex-start;
}

.col {
  flex: 1 1 48%;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* QR Code Styles */
.qr-code {
  width: 100%;
  background: #f0f0f0;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.qr-code canvas {
    max-width: 500px !important;
    width: 100%;
}

.qr-download-group {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.qr-download-group select,
.qr-download-group button {
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: white;
}

.qr-download-group button {
  background-color: #6c47ff;
  color: white;
  border: none;
  cursor: pointer;
}

/* Form Styles */
.qr-form label {
  font-weight: 600 !important;
  display: block;
  margin-top: 1.25rem !important;
  margin-bottom: 0.5rem !important;
}

.qr-form input[type="text"],
.qr-form input[type="number"],
.qr-form select {
  width: 100% !important;
  padding: 0.75rem !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  box-sizing: border-box !important;
}

.qr-form input[type="color"] {
  height: 45px;
  width: 100% !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 8px !important;
  background-color: #fff;
}

.buttons-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

/* Row input for grouped fields */
.row-input {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.row-input > div {
  flex: 1;
}

/* Accordion */
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
  gap: 10px;
}

.accordion {
    flex: 1 1 auto;
    background: #eee !important;
    border-bottom: 2px solid #fff0 !important;
    transition: 0.3s !important;
    line-height: 1em;
}

.accordion svg {
    width: 30px;
}

.accordion--active {
  background: #fff !important;
  border-bottom: 2px solid #000 !important;
}


.panel {
  margin-top: 1rem;
  padding-left: 0.5rem;
  display: none;
}

.panel--active {
  display: block;
}

.custom-upload {
  border: 2px dashed #ccc;
  border-radius: 12px;
  padding: 1rem;
  position: relative;
  text-align: center;
  background-color: #fafafa;
  transition: background-color 0.3s;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1em;
}

.custom-upload.dragover {
  background-color: #eef;
  border-color: #6c47ff;
}

.upload-label {
  cursor: pointer;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.upload-icon {
  font-size: 2rem;
}

.upload-text {
  font-size: 0.9rem;
  color: #555;
}

@media only screen and (max-width: 819px) {
    
.col {
    padding: 1rem !important;
}

.qr-download-group {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    padding: 1rem;
    background: #f0f0f0;
    z-index: 999;
    flex-direction: row;
}

.qr-download-group label {
    display: none !important;
}
}