/* 
 * Marevo AR Viewer Styles
 */

.marevo-ar-wrapper {
  position: relative;
}

.marevo-model {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0.001;
  pointer-events: none;
  z-index: -1;
}

.marevo-ar-btn {
  display: none; 
  width: 100%;
  padding: 10px;
  background: #fff;
  background-color: #fff;
  color: #333;
  border: none;
  border-radius: 0;
  border-color: #333;
  cursor: pointer;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
  line-height: 20px;
  font-size: 16px;
  font-weight: 400;
  height: 40px;
  transition: background 0.3s, color 0.3s;
}

.marevo-ar-btn:hover,
button.marevo-ar-btn:hover {
  background: #333 !important;
  background-color: #333 !important;
  color: #fff;
  border-color: #333 !important;
}

.marevo-ar-btn svg {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  fill: #333;
  transition: fill 0.3s;
}

.marevo-ar-btn:hover svg {
  fill: #fff;
}

@media (orientation: portrait) and (max-width: 767px) {
  .marevo-ar-btn,
  .marevo-ar-btn:hover {
    line-height: 14px;
    font-size: 11px;
    height: 32px;
  }
  
  .marevo-ar-btn svg,
  .marevo-ar-btn:hover svg {
    width: 20px;
    height: 20px;
    margin-right: 5px;
  }
}

.marevo-qr-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  border-radius: 10px;
  text-align: center;
  min-width: 250px;
}

.marevo-qr-popup h3 {
  margin-top: 0;
  font-size: 18px;
}

.qr-code-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.qr-code-container img {
  margin: 0 auto;
}

.marevo-qr-popup p {
  font-size: 14px;
  color: #666;
}

.close-qr-popup {
  margin-top: 10px;
  background: none;
  border: 1px solid #333;
  color: #333;
  padding: 8px 15px;
  cursor: pointer;
  transition: all 0.3s;
}

.close-qr-popup:hover {
  background: #333;
  border: 1px solid #000;
  color: #fff;
}

.marevo-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  margin: 0;
  padding: 0;
}
