/* Inquiry Popup Styles - Compact Version */

/* Popup Overlay */
.inquiry-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.inquiry-popup-overlay.show {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Popup Container - Smaller Size */
.inquiry-popup {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 380px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Close Button - More Visible */
.inquiry-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #003366;
  color: #003366;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
  font-weight: bold;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.inquiry-popup-close:hover {
  background: #003366;
  color: white;
  transform: rotate(90deg) scale(1.1);
}

/* Popup Header - Compact */
.inquiry-popup-header {
  background: linear-gradient(135deg, #003366, #0055aa);
  padding: 25px 20px 20px;
  text-align: center;
  color: white;
  position: relative;
}

.inquiry-popup-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.inquiry-popup-header h2 {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.inquiry-popup-header p {
  margin: 0;
  font-size: 14px;
  opacity: 0.95;
  line-height: 1.4;
}

/* Popup Body - Compact */
.inquiry-popup-body {
  padding: 25px 20px;
  text-align: center;
}

.inquiry-popup-body h3 {
  color: #003366;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.inquiry-popup-body p {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

/* Inquiry Button - Compact */
.inquiry-now-button {
  display: inline-block;
  background: linear-gradient(135deg, #003366, #0055aa);
  color: white;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.inquiry-now-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.inquiry-now-button:hover::before {
  width: 300px;
  height: 300px;
}

.inquiry-now-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 85, 170, 0.4);
}

.inquiry-now-button span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Divider - Compact */
.inquiry-divider {
  display: flex;
  align-items: center;
  margin: 18px 0;
  color: #999;
  font-size: 13px;
}

.inquiry-divider::before,
.inquiry-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ddd;
}

.inquiry-divider::before {
  margin-right: 12px;
}

.inquiry-divider::after {
  margin-left: 12px;
}

/* QR Code Section - Compact */
.inquiry-qr-section {
  background: linear-gradient(135deg, #f0f8ff, #e6f2ff);
  padding: 15px;
  border-radius: 12px;
  margin: 18px 0 0 0;
  border: 2px dashed #003366;
}

.inquiry-qr-code {
  width: 140px;
  height: 140px;
  margin: 0 auto 12px;
  background: white;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.inquiry-qr-code img {
  width: 100%;
  height: 100%;
  display: block;
}

.inquiry-qr-text {
  color: #003366;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.inquiry-qr-subtext {
  color: #666;
  font-size: 12px;
  margin: 5px 0 0 0;
}

/* Mobile Responsive - Optimized */
@media (max-width: 480px) {
  .inquiry-popup {
    width: 92%;
    max-width: 340px;
    margin: 15px;
  }

  .inquiry-popup-header {
    padding: 20px 15px 18px;
  }

  .inquiry-popup-header h2 {
    font-size: 20px;
  }

  .inquiry-popup-header p {
    font-size: 13px;
  }

  .inquiry-popup-body {
    padding: 20px 15px;
  }

  .inquiry-popup-icon {
    width: 55px;
    height: 55px;
    font-size: 28px;
  }

  .inquiry-qr-code {
    width: 130px;
    height: 130px;
  }

  .inquiry-now-button {
    padding: 12px 28px;
    font-size: 15px;
    width: 100%;
  }

  .inquiry-popup-close {
    width: 30px;
    height: 30px;
    font-size: 20px;
    top: 10px;
    right: 10px;
  }
}

/* Tablet - Medium Screens */
@media (max-width: 768px) and (min-width: 481px) {
  .inquiry-popup {
    max-width: 360px;
  }

  .inquiry-popup-header {
    padding: 22px 18px 18px;
  }

  .inquiry-qr-code {
    width: 135px;
    height: 135px;
  }
}

/* Laptop/Desktop - Large Screens */
@media (min-width: 769px) {
  .inquiry-popup {
    max-width: 380px;
  }

  .inquiry-popup-header {
    padding: 25px 20px 20px;
  }

  .inquiry-popup-body {
    padding: 25px 20px;
  }

  .inquiry-qr-code {
    width: 140px;
    height: 140px;
  }
}

/* Print - Hide Popup */
@media print {
  .inquiry-popup-overlay {
    display: none !important;
  }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .inquiry-popup {
    max-height: 90vh;
    overflow-y: auto;
  }

  .inquiry-popup-header {
    padding: 15px;
  }

  .inquiry-popup-icon {
    width: 45px;
    height: 45px;
    font-size: 24px;
    margin-bottom: 10px;
  }

  .inquiry-popup-header h2 {
    font-size: 18px;
  }

  .inquiry-popup-body {
    padding: 15px;
  }

  .inquiry-qr-code {
    width: 110px;
    height: 110px;
  }
}
