/* Buttons */
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-right: 10px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: #4CAF50;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: #45a049;
}

.btn-success {
  background: #2ecc71;
  color: white;
}

.btn-success:hover:not(:disabled) {
  background: #27ae60;
}

.btn-warning {
  background: #f1c40f;
  color: #333333;
}

.btn-danger {
  background: #e74c3c;
  color: white;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-spinner {
  width:1em;
  height:1em;
  border:2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius:50%;
  display:inline-block;
  animation:spin 0.8s linear infinite;
  margin-right:5px;
}
@keyframes spin { 
  0% { transform: rotate(0deg); } 
  100% { transform: rotate(360deg); } 
}

/* Language Input Row */
.language-input-row {
  display: flex;
  gap: 15px;
  align-items: end;
}

.language-input-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.language-input-row .form-group:last-child {
  flex: 0 0 180px;
}

/* QR Code Section */
.qr-display {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.qr-code-container {
  flex: 0 0 150px;
  text-align: center;
  padding: 15px;
  background: #333333;
  border-radius: 8px;
  border: 2px dashed #555555;
}

.qr-info {
  flex: 1;
}

.qr-controls {
  margin-top: 15px;
}

.qr-controls .btn {
  width: 100%;
  margin-bottom: 10px;
  margin-right: 0;
}

.button-group {
  display: flex;
  gap: 10px;
  width: 100%;
}

.button-group .btn {
  flex: 1;
  width: auto;
}


/* Status */
.status {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 25px;
  font-weight: 500;
  border: 1px solid;
}

.status-info {
  background: #263238;
  border-color: #4CAF50;
  color: #4CAF50;
}

.status-success {
  background: #263238;
  border-color: #2ecc71;
  color: #2ecc71;
}

.status-warning {
  background: #263238;
  border-color: #f1c40f;
  color: #f1c40f;
}

.status-error {
  background: #263238;
  border-color: #e74c3c;
  color: #e74c3c;
}

