/* /wp-content/plugins/npc-stn-plugin/npc-style.css */

* { box-sizing: border-box; }
.npc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
.npc-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}
.npc-header h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.npc-header p {
  margin: 0;
  font-size: 16px;
  opacity: 0.95;
}
.npc-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.npc-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #fff;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}
.npc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}
.npc-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.logout-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}
.modal-back {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  backdrop-filter: blur(4px);
}
.modal {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  width: 400px;
  max-width: 95%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.modal h3 {
  margin: 0 0 20px;
  font-size: 24px;
  color: #1f2937;
  font-weight: 700;
}
.modal input {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
}
.modal input:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}
.small-note {
  font-size: 13px;
  color: #6b7280;
  margin-top: 12px;
  padding: 10px;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 3px solid #06b6d4;
}
.error {
  color: #dc2626;
  background: #fef2f2;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
  margin-bottom: 12px;
  border-left: 3px solid #dc2626;
}
.success {
  color: #059669;
  background: #ecfdf5;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
  margin-bottom: 12px;
  border-left: 3px solid #059669;
}
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.modal-actions .npc-btn {
  flex: 1;
}
.cancel-btn {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}
.app-back {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  backdrop-filter: blur(8px);
}
.app-box {
  width: 95%;
  max-width: 1100px;
  height: 90vh;
  background: #1f2937;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}
.app-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.app-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 20;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 0;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-topnote {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 15px;
  color: #fff;
  z-index: 20;
  font-size: 14px;
  font-weight: 600;
}
.info-section {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
}
.info-section h3 {
  margin: 0 0 10px;
  color: #1f2937;
  font-size: 18px;
}
.info-section p {
  margin: 5px 0;
  color: #6b7280;
  font-size: 14px;
}

/* Disclaimer Styles */
.disclaimer-link {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 15px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}
.disclaimer-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}
.disclaimer-modal {
  max-width: 700px;
  width: 95%;
  max-height: 85vh;
  padding: 0;
  overflow: hidden;
}
.disclaimer-header {
  padding: 20px 25px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border-radius: 16px 16px 0 0;
}
.disclaimer-header h3 {
  margin: 0;
  color: white;
  font-size: 20px;
}
.scroll-indicator {
    padding: 10px 25px 0;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}
.disclaimer-content {
  padding: 25px;
  max-height: 55vh; 
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.7;
  color: #374151;
  text-align: justify;
}
.disclaimer-content p {
  margin: 0 0 15px;
}
.disclaimer-content strong {
  color: #1f2937;
}
.disclaimer-footer {
  padding: 20px 25px;
  text-align: center;
  background: #f3f4f6;
  border-radius: 0 0 16px 16px;
}
.disclaimer-ok-btn {
  padding: 12px 30px;
  background: #ccc;
  color: #6b7280;
  border: none;
  border-radius: 8px;
  cursor: not-allowed;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
}
.disclaimer-ok-btn.enabled {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  cursor: pointer;
}
.disclaimer-ok-btn.enabled:hover {
  transform: translateY(-1px);
}

/* reCAPTCHA badge hiding */
.recaptcha-badge {
  display: none !important; 
}