
.qvi-wrapper {
  background: linear-gradient(to bottom right, #f9bf3a, #f4e8c8);
  font-family: 'Segoe UI', sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.05);
}

.qvi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 12px;
}

.qvi-logo {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.qvi-user span {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.qvi-progress {
  width: 140px;
  height: 8px;
  background: #ddd;
  border-radius: 4px;
}

.qvi-progress-bar {
  height: 100%;
  background: #4a90e2;
  border-radius: 4px;
}

.qvi-main {
  display: flex;
  margin-top: 20px;
  gap: 20px;
}

.qvi-left, .qvi-right {
  flex: 1;
}

.qvi-subtitle {
  font-size: 16px;
  color: #666;
}

.qvi-arabic {
  font-size: 40px;
  direction: rtl;
  margin: 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px dashed #aaa;
}

.qvi-link {
  color: #1e90ff;
  text-decoration: none;
  font-size: 14px;
}

.qvi-btn {
  display: block;
  margin: 10px 0;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.qvi-btn.primary { background: #3498db; color: white; }
.qvi-btn.danger { background: #e74c3c; color: white; }
.qvi-btn.info { background: #2ecc71; color: white; }

.qvi-analisis table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}
.qvi-analisis th, .qvi-analisis td {
  padding: 8px;
  text-align: left;
  border: 1px solid #ddd;
  font-size: 14px;
}

.qvi-waveform {
  background: #f4f4f4;
  padding: 10px;
  text-align: center;
  border-radius: 6px;
}

.qvi-footer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.qvi-footer-btn {
  flex: 1;
  min-width: 180px;
  padding: 10px;
  border: none;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}

.qvi-footer-btn.primary { background: #2980b9; color: white; }
.qvi-footer-btn.secondary { background: #bdc3c7; color: #333; }
.qvi-footer-btn.whatsapp { background: #25d366; color: white; }

.qvi-buttons { margin-top: 16px; }
.qvi-btn.secondary { background: #f39c12; color: white; }

.qvi-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 1000; display: flex; justify-content: center; align-items: center;
}
.qvi-modal-content {
  background: white; padding: 20px; border-radius: 8px; max-width: 400px; width: 90%;
}
.qvi-close {
  float: right; font-size: 20px; cursor: pointer;
}

.qvi-btn {
  margin-top: 8px;
}
.qvi-btn.orange {
  background: #f39c12;
  color: white;
}
.qvi-btn.primary {
  background: #3498db;
  color: white;
}
.qvi-btn.danger {
  background: #e74c3c;
  color: white;
}
