/* =============================================
   Privacy Policy Modal Styles
   File: privacy-modal.css
   Used in: technical-download-jpn.html
   ============================================= */

/* --- Overlay Backdrop --- */
.privacy-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.policy-info {
  text-align: center;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
}

/* --- Modal Container --- */
.privacy-modal-container {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 760px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* --- Modal Header --- */
.privacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  border-bottom: 1px solid #e9ecef;
  background: #183B6D;
}

.privacy-modal-header h5 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}

.privacy-modal-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: opacity 0.2s ease;
}

.privacy-modal-close-btn:hover {
  opacity: 0.75;
}

/* --- Modal Body --- */
.privacy-modal-body {
  overflow-y: auto;
  padding: 15px;
  flex: 1;
}

.privacy-modal-body p {
  color: #495057;
  line-height: 1.1;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.privacy-modal-body h2 {
  color: #183B6D;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e9ecef;
}

.privacy-modal-body h3 {
  color: #333;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.privacy-modal-body ul {
  color: #495057;
  line-height: 1;
  margin-bottom: 15px;
  padding-left: 20px;
  font-size: 0.9rem;
}

.privacy-modal-body li {
  margin-bottom: 4px;
}

/* --- Contact Info Block --- */
.privacy-modal-contact {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #183B6D;
  margin-top: 15px;
}

.privacy-modal-contact h3 {
  color: #183B6D;
  font-size: 1rem;
  margin-bottom: 12px;
}

.privacy-modal-contact p {
  margin-bottom: 5px;
  font-weight: 500;
  color: #495057;
}

.privacy-modal-contact p:last-child {
  margin-bottom: 0;
}

/* --- Enactment Date --- */
.privacy-modal-date {
  margin-top: 25px;
  text-align: right;
  color: #6c757d;
  font-size: 0.9rem;
}

/* --- Modal Footer --- */
.privacy-modal-footer {
  padding: 16px 30px;
  border-top: 1px solid #e9ecef;
  text-align: right;
  background: #f8f9fa;
}

.privacy-modal-footer-btn {
  background: linear-gradient(135deg, #183B6D 0%, #2c5aa0 100%);
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.privacy-modal-footer-btn:hover {
  background: linear-gradient(135deg, #2c5aa0 0%, #183B6D 100%);
  transform: translateY(-1px);
}

/* --- Responsive --- */
@media (max-width: 576px) {
  .privacy-modal-header {
    padding: 10px 20px;
  }

  .privacy-modal-body {
    padding: 20px;
  }

  .privacy-modal-footer {
    padding: 14px 20px;
  }
}
