/* Share Cart Pro - lightweight bookstore UI. Loaded only on the cart page. */
.scp-cart-box,
.scp-cart-box * { box-sizing: border-box; }
.scp-cart-box {
  direction: rtl;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #e6dac7;
  border-radius: 24px;
  background: #fffaf1;
  color: #2b2b2b;
  font-family: inherit;
  box-shadow: 0 10px 30px rgba(36, 75, 54, 0.08);
}
.scp-help-box {
  padding: 18px 20px;
  margin-bottom: 18px;
  border: 1px solid #d8ccb8;
  border-radius: 20px;
  background: linear-gradient(135deg, #f2efe6, #fffaf1);
}
.scp-help-box h3,
.scp-result-box h3,
.scp-form-title {
  margin: 0 0 10px;
  color: #244b36;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.7;
}
.scp-help-box p,
.scp-result-box p {
  margin: 8px 0;
  color: #3f3f3f;
  font-size: 15px;
  line-height: 2;
}
.scp-share-form {
  padding: 18px;
  border: 1px solid #eadfce;
  border-radius: 20px;
  background: #ffffff;
}
.scp-field { margin: 0 0 14px; }
.scp-field label,
.scp-label {
  display: block;
  margin: 0 0 7px;
  color: #4d4d4d;
  font-size: 14px;
  font-weight: 700;
}
.scp-field input,
.scp-field select,
.scp-copy-source {
  width: 100%;
  max-width: 460px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d7cbb8;
  border-radius: 14px;
  background: #fff;
  color: #1f1f1f;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.scp-field input:focus,
.scp-field select:focus,
.scp-copy-source:focus {
  border-color: #244b36;
  box-shadow: 0 0 0 3px rgba(36, 75, 54, .12);
  outline: none;
}
.scp-actions { margin: 18px 0 0; }
.scp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px !important;
  padding: 8px 18px !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800 !important;
  line-height: 1.4;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.scp-btn-primary {
  background: #244b36 !important;
  color: #fff !important;
  border: 1px solid #244b36 !important;
}
.scp-btn-secondary {
  background: #586b44 !important;
  color: #fff !important;
  border: 1px solid #586b44 !important;
}
.scp-btn-light {
  background: #fff !important;
  color: #244b36 !important;
  border: 1px solid #c9d6c7 !important;
}
.scp-btn-light:hover,
.scp-btn-light:focus {
  background: #e9f3ea !important;
  color: #183525 !important;
}
.scp-result-box {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #d8e4d4;
  border-radius: 22px;
  background: #f8faf5;
}
#scp-created-link {
  max-width: none;
  margin-bottom: 12px;
  direction: ltr;
  text-align: left;
}
#scp-created-message {
  max-width: none;
  min-height: 150px;
  resize: vertical;
  line-height: 1.9;
}
.scp-copy-buttons,
.scp-messenger-buttons,
.scp-desktop-messenger-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.scp-mobile-share-note {
  display: none;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff6e6;
  color: #7a4e00;
  font-size: 13px;
  line-height: 1.8;
}
.scp-desktop-messenger { margin-top: 12px; }
.scp-desktop-messenger-panel[hidden] { display: none !important; }
.scp-copied-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  padding: 12px 16px;
  border-radius: 14px;
  background: #244b36;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
}
@media (max-width: 1024px) {
  .scp-cart-box { padding: 14px; border-radius: 20px; }
  .scp-field input,
  .scp-field select,
  .scp-btn { width: 100%; max-width: none; }
  .scp-copy-buttons,
  .scp-messenger-buttons { display: flex; flex-direction: column; }
  .scp-mobile-share-note { display: block; }
  .scp-desktop-messenger { display: none; }
  .scp-help-box h3,
  .scp-result-box h3,
  .scp-form-title { font-size: 18px; }
  #scp-created-message { min-height: 130px; }
}
@media (min-width: 1025px) {
  .scp-messenger-buttons,
  .scp-mobile-share-note { display: none !important; }
}
.wp-admin .scp-status-active { color: #1f6f3f; font-weight: 700; }
.wp-admin .scp-status-expired { color: #777; font-weight: 700; }
.wp-admin .scp-status-disabled { color: #a33; font-weight: 700; }
