/* ULDR Lock Message Styling (WP Login + WooCommerce + Tutor LMS) */

/* WP default login error box */
#login_error{
  max-width: 520px;
  margin: 20px auto 0;
  padding: 18px 20px;
  border-radius: 10px;
  background: #fff8f2;
  border: 1px solid #ffd7b5;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  font-size: 14px;
  color: #333;
}

#login_error a{ color:#333; }
#login_error strong{ color:#d35400; font-weight:700; }

/* WooCommerce notices (common on /my-account/) */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
ul.woocommerce-error{
  max-width: 720px;
  margin: 18px auto;
  padding: 16px 18px;
  border-radius: 10px;
  background: #fff8f2;
  border: 1px solid #ffd7b5;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  line-height: 1.6;
  font-size: 14px;
  color: #333;
}

/* Woo error list */
ul.woocommerce-error{ list-style:none; }
ul.woocommerce-error li{ margin:0; }

/* Tutor LMS alerts (login/register/dashboard) */
.tutor-alert,
.tutor-alert.tutor-alert-warning,
.tutor-alert.tutor-alert-danger,
.tutor-alert.tutor-alert-success,
.tutor-wrap .tutor-alert,
.tutor-template .tutor-alert{
  max-width: 720px;
  margin: 18px auto;
  padding: 16px 18px;
  border-radius: 10px;
  background: #fff8f2;
  border: 1px solid #ffd7b5;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  line-height: 1.6;
  font-size: 14px;
  color: #333;
}

/* Emphasis across systems */
.woocommerce-error strong,
.woocommerce-message strong,
.woocommerce-info strong,
.tutor-alert strong,
.tutor-alert b{
  color:#d35400;
  font-weight:700;
}


/* Preserve \n newlines in messages */
#login_error,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.tutor-alert{
  white-space: pre-line;
}


/* Ensure newlines render and the Lock stats heading sits on its own line */
#login_error,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.tutor-alert{
  white-space: pre-line !important;
}

.tutor-alert strong,
.woocommerce-error strong,
.woocommerce-message strong,
.woocommerce-info strong,
#login_error strong{
  display: block;
  margin-top: 10px;
}


/* ULDR stat lines: force each stat onto its own line */
.uldr-stat-line{
  display:block;
  margin-top: 4px;
}

/* Fallback line is only for cases where markup is stripped; hide by default */
.uldr-stat-fallback{
  display:none;
}


/* ULDR: Force each <strong> on its own line inside notice containers */
#login_error strong,
.woocommerce-error strong,
.woocommerce-message strong,
.woocommerce-info strong,
.tutor-alert strong{
  display:block;
  margin-top: 6px;
}

/* First strong (usually Lock stats) gets a bit more separation */
.tutor-alert strong:first-of-type,
.woocommerce-error strong:first-of-type,
.woocommerce-message strong:first-of-type,
.woocommerce-info strong:first-of-type,
#login_error strong:first-of-type{
  margin-top: 14px;
}


/* ULDR Lock Stats List Styling */
.uldr-lock-stats{
  margin-top: 12px;
}

.uldr-lock-stats-title{
  display:block;
  font-weight:600;
  color:#d35400;
  margin-bottom:6px;
}

.uldr-lock-stats-list{
  margin:0;
  padding-left:18px;
}

.uldr-lock-stats-list li{
  margin:4px 0;
}
