.wc-smart-input-wrap {
  margin-top: 20px;
}
.woocommerce .smarinpr-input-wrap {
  margin-bottom: 1.5em;
}
.wc-smart-input-wrap label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: inherit;
}
#smarinpr_input {
  max-width: 400px;
  width: 100%;
  padding: 10px;
  font-size: 1em;
  color: inherit;
}

.wc-smart-input-wrap textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 80px;
  padding: 10px;
  font-size: 1em;
  color: inherit;
}
.wc-sip-live-info {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 0.9em;
  color: inherit;
}

.wc-label-inline label {
  margin: 0;
  white-space: nowrap;
}

/* Our custom notice - fully controlled by our plugin */
.smarinpr-custom-notice {
  position: relative;
  max-width: 480px;
  margin: 2em auto 2em auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  padding: 1.2em 2.5em 1.2em 1.2em;
  font-size: 1.08em;
  background: #fff5f5;
  color: #b71c1c;
  border: 1.5px solid #f44336;
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.smarinpr-custom-notice .smarinpr-notice-icon {
  font-size: 1.4em;
  color: #f44336;
  margin-right: 0.5em;
  flex-shrink: 0;
}

.smarinpr-custom-notice .smarinpr-notice-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: #fff;
  color: #b71c1c;
  border: none;
  border-radius: 50%;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: background 0.2s, color 0.2s, opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.smarinpr-custom-notice .smarinpr-notice-close:hover,
.smarinpr-custom-notice .smarinpr-notice-close:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px #f44336 !important;
  background: #fbe9e7;
}

/* Fallback styling for server-side generated notices */
.smarinpr-notice {
  position: relative;
  max-width: 480px;
  margin: 2em auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  padding: 1.2em 2.5em 1.2em 1.2em;
  font-size: 1.08em;
  background: #fff5f5;
  color: #b71c1c;
  border: 1.5px solid #f44336;
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-bottom: 2em;
}
.smarinpr-notice .smarinpr-notice-icon {
  font-size: 1.4em;
  color: #f44336;
  margin-right: 0.5em;
  flex-shrink: 0;
}
.smarinpr-notice-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: #fff;
  color: #b71c1c;
  border: none;
  border-radius: 50%;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
/* Style only smarinpr notices, not all WooCommerce notices */
.woocommerce-error li.smarinpr-notice,
.woocommerce-message li.smarinpr-notice,
.woocommerce-info li.smarinpr-notice {
  background: #fff5f5 !important;
  border: 1.5px solid #f44336 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07) !important;
  padding: 1.2em 2.5em 1.2em 1.2em !important;
  margin: 1em auto !important;
  max-width: 480px !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.8em !important;
}

/* Remove the problematic global notice reset */
/* 
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  outline: none !important;
}
.woocommerce-error:focus,
.woocommerce-message:focus,
.woocommerce-info:focus,
.woocommerce-error:active,
.woocommerce-message:active,
.woocommerce-info:active {
  outline: none !important;
  box-shadow: none !important;
}
*/
