/* ============================================================
   ArtinWebs Blog Push-Notification & Inline Lead Capture Styles
   Global English Enterprise Edition — Clean White + Deep Teal (#145E63)
   ============================================================ */

/* Floating Push Notification Ad */
.artin-push-ad-wrapper {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  z-index: 99990;
  max-width: 420px;
  width: calc(100% - 48px);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  direction: ltr;
  text-align: left;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.artin-push-ad-wrapper.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.artin-push-ad-wrapper.expanded {
  position: fixed;
  inset: 0;
  max-width: 100%;
  width: 100%;
  height: 100%;
  background: rgba(11, 29, 32, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  bottom: 0;
  right: 0;
}

.artin-push-card {
  background: #FFFFFF;
  border: 1px solid #E3EAEA;
  border-top: 3px solid #145E63;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 24px 48px -20px rgba(11, 29, 32, 0.28), 0 1px 3px rgba(11, 29, 32, 0.06);
  color: #0B1D20;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.artin-push-ad-wrapper.expanded .artin-push-card {
  max-width: 520px;
  padding: 28px;
}

/* Header bar */
.artin-push-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E3EAEA;
  padding-bottom: 12px;
  margin-bottom: 14px;
  font-size: 11px;
}

.artin-push-badge-live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6B7A7D;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.artin-push-live-dot {
  width: 8px;
  height: 8px;
  background-color: #DC2626;
  border-radius: 50%;
  position: relative;
}

.artin-push-live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: rgba(220, 38, 38, 0.3);
  animation: artinPulse 1.6s infinite;
}

@keyframes artinPulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.artin-push-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.artin-push-action-btn {
  background: transparent;
  border: none;
  color: #6B7A7D;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  line-height: 1;
  font-size: 14px;
  transition: all 0.2s;
}

.artin-push-action-btn:hover {
  color: #0B1D20;
  background: #F0F5F5;
}

/* Main offer pitch */
.artin-push-pitch {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.artin-push-bell-box {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #DDF0F0;
  border: 1px solid #B7E1E2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.artin-push-offer-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: #DDF0F0;
  color: #115257;
  border: 1px solid transparent;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.artin-push-offer-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #0B1D20;
}

.artin-push-desc {
  font-size: 12px;
  line-height: 1.6;
  color: #46575A;
  background: #F7FAFA;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #E3EAEA;
  margin-bottom: 14px;
}

/* Question 1: Jobs Pills */
.artin-push-field-group {
  margin-bottom: 14px;
}

.artin-push-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #0B1D20;
  margin-bottom: 8px;
}

.artin-push-jobs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.artin-push-job-pill {
  background: #FFFFFF;
  border: 1px solid #CFDADA;
  color: #46575A;
  font-size: 11px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: inherit;
}

.artin-push-job-pill:hover {
  background: #F7FAFA;
  border-color: #6FC3C6;
  color: #0B1D20;
}

.artin-push-job-pill.selected {
  background: #F0F8F8;
  border-color: #145E63;
  color: #145E63;
  font-weight: 600;
  box-shadow: 0 0 0 1px #145E63 inset;
}

.artin-push-input {
  width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #CFDADA;
  border-radius: 8px;
  padding: 9px 12px;
  color: #0B1D20;
  font-size: 12px;
  font-family: inherit;
  outline: none;
  direction: ltr;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.artin-push-input::placeholder {
  color: #6B7A7D;
}

.artin-push-input:focus {
  border-color: #145E63;
  box-shadow: 0 0 0 3px rgba(20, 94, 99, 0.12);
}

.artin-push-phone-input {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  direction: ltr;
  text-align: left;
}

/* Action Buttons */
.artin-push-btns {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.artin-push-expand-btn {
  background: #FFFFFF;
  border: 1px solid #CFDADA;
  color: #0B1D20;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.artin-push-expand-btn:hover {
  background: #F7FAFA;
  color: #0B1D20;
}

.artin-push-submit-btn {
  flex: 1;
  background: #145E63;
  border: none;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(11, 29, 32, 0.08);
  transition: all 0.2s;
  font-family: inherit;
}

.artin-push-submit-btn:hover {
  background: #0E4649;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(20, 94, 99, 0.45);
}

.artin-push-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.artin-push-webpush-prompt {
  margin-top: 10px;
  text-align: center;
  font-size: 11px;
}

.artin-push-webpush-prompt button {
  background: transparent;
  border: none;
  color: #6B7A7D;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font-size: 11px;
  font-family: inherit;
}

.artin-push-webpush-prompt button:hover {
  color: #145E63;
}

/* Success State */
.artin-push-success {
  text-align: center;
  padding: 24px 12px;
}

.artin-push-success-icon {
  font-size: 44px;
  margin-bottom: 12px;
  display: inline-block;
}

/* ============================================================
   Inline Article Lead Capture Banner Styles (LTR English)
   ============================================================ */
.artin-inline-lead-banner {
  background: linear-gradient(180deg, #F0F8F8 0%, #FFFFFF 100%);
  border: 1px solid #DDF0F0;
  border-radius: 16px;
  padding: 32px;
  margin: 44px 0;
  box-shadow: 0 12px 32px -12px rgba(11, 29, 32, 0.14);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  direction: ltr;
  text-align: left;
  color: #0B1D20;
  position: relative;
  overflow: hidden;
}

.artin-inline-lead-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(35, 150, 156, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.artin-inline-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: #DDF0F0;
  color: #115257;
  border: 1px solid transparent;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.artin-inline-title {
  font-size: 22px;
  font-weight: 800;
  color: #0B1D20;
  margin-bottom: 8px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.artin-inline-desc {
  font-size: 15px;
  color: #46575A;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 750px;
}

.artin-inline-lead-banner .artin-push-job-pill {
  font-size: 12px;
}

.artin-inline-lead-banner .artin-push-input {
  font-size: 13px;
  padding: 11px 14px;
}

.artin-inline-lead-banner .artin-push-submit-btn {
  font-size: 13px;
  padding: 12px 18px;
}

.artin-inline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.artin-inline-row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.artin-inline-row input {
  flex: 2;
}

.artin-inline-row button {
  flex: 1;
}

@media (max-width: 640px) {
  .artin-inline-row {
    flex-direction: column;
  }
  .artin-push-ad-wrapper {
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: 100%;
  }
}
