.form-table th {
padding: 20px 10px 20px 10px !important;
}

#poststuff h3, .metabox-holder h3 {
font-size: 16px !important;
font-style: italic !important;
} 

#wam-premium-admin-main {
	float: left; 
	width: 80%;
}
#wam-premium-admin-side {
	float: right; 
	margin-left: 20px;
	width: 15%;
	margin-top: 35px;
}
#wam-premium-admin-side .inner-sidebar {
	width: 20%;
	float: none;
}
.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 0; top: 0; }
#imp_status{position:relative; height: 60px;}
#imp_merge_do{position:relative; height: 60px;}
.se-pre-con {
	position: absolute;
	right: 20px;
	top: 0;
	background: url(../images/Preloader_11.gif) center no-repeat;
}
#imp_merge {margin-top:20px; margin-bottom: 20px;}
#icon-themes {
	height: 100px;
	position: absolute;
  	right: 20px;
  	top: 0;
}
.btn-wam-import {
	background-color: lightgray;
}
.wam-premium h2 {
	padding: 0px 6px !important;
	display: block;
}
.wam-header {
	position:relative; 
	height: 60px;
	display: block;
}

.wam-premium .form-table th {
	width: 300px !important;
}
.btn-wam-connected {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
	background-color: lightgray;
	cursor: none;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.column-memberno{ width: 10%; } 
.column-name{ width: 20%; } 
.column-paidby{ width: 10%; } 
.column-amount{ width: 120px; text-align: right; } 
.column-status{ width: 200px; }

.column-Memberno{ width: 120px; } 
.column-Name{ width: 20%; } 
.column-Zip{ width: 60px; } 
.column-City{ width: 100px; } 
.column-Street{ width: 200px; }

#wam-premium-member-table .bulkactions {
	padding-left: 20px;
}

#wam-premium-member-table .tablenav-pages {
	padding-right: 20px;
}

#wam-premium-member-table .bottom{
	margin-bottom: 20px;
}

/* Container for header and search */
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 0;
}

/* Ensure the h3 has no extra margin */
.header-wrapper h3 {
  margin: 0;
  font-size: 1.5em; /* adjust as needed */
}

/* Search wrapper styling */
.search-wrapper {
  position: relative;
  width: 200px; /* adjust width as needed */
}

/* Style the search input */
.search-wrapper input {
  width: 100%;
  padding-right: 2.5em; /* leave space for the icon */
  box-sizing: border-box;
}

/* Position the search icon */
.search-wrapper .search-icon {
  position: absolute;
  right: 10px;  /* adjust spacing as needed */
  top: 50%;
  transform: translateY(-50%);
  color: #888;  /* optional: adjust icon color */
  pointer-events: none;
}

.wam-submit {
	cursor:pointer;
	color: white;
	background-color: darkgreen;
	border-color: darkgreen;
	padding: 10px;
	font-size: 18px;
	border-radius: 8px;
}

.wam-success{color:darkgreen}
.wam-danger{color:darkred}.

.wam-quickpay form {
  display: flex;
  flex-wrap: wrap;
  
  & > input {
    flex: 1 1 10ch;
    margin: .5rem;
    
    &[type="email"] {
      flex: 3 1 30ch;
    }
  }
}

.wam-quickpay input {
  border: none;
  background: hsl(0 0% 93%);
  border-radius: .25rem;
  padding: .75rem 1rem;
  font-size: 16px;
  margin-right: 1rem;
  
  &[type="submit"] {
    background: #1F0AD3;
    color: white;
	cursor:pointer;
	
    box-shadow: 0 .75rem .5rem -.5rem hsl(0 50% 80%);
  }
}

.wa-premium-payment-form p, .wa-premium-payment-form pre {
  margin-bottom: 18px;
  font-family: Libre Franklin;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
	
}


/* New member form */


.wam-new-member-form {
    max-width: 850px;
    margin: 0 3rem;
	padding: 2.5rem 2rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: "Segoe UI", sans-serif;
    color: #222;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Membership summary section */
#wam-membership-summary {
    display: flex;
    align-items: flex-start;
    gap: 6rem;
    margin-bottom: 1rem;
	flex-wrap: nowrap; /* ðŸ’¡ Prevent line wrapping */
    width: 100%;
    max-width: 100%; /* Make sure it can stretch */
}

#wam-membership-summary img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

#wam-membership-summary .details {
	flex: 1;
    font-size: 16px;
    line-height: 1.6;
    min-width: 0; /* Important: prevent overflow inside flex */
	 white-space: nowrap; /* ðŸ”¥ prevents "per year" from wrapping */
}


#wam-membership-summary .details strong {
    display: block;
    font-size: 16px;
    margin-bottom: 0.25rem;
}

#wam-membership-summary .details strong:first-child {
    font-size: 20px;
    display: block;
    margin-bottom: 0.25rem;
}

#wam-membership-summary .wam-summary-item {
	flex-wrap: nowrap;	
}
#wam-membership-summary .wam-summary-item > * {
	width: auto;	
}
/* Radio buttons */
.wam-member-type-options {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin: 1.5rem 0;
    font-size: 16px;
}

.wam-member-type-options label {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.wam-member-type-options input[type="radio"] {
    accent-color: #000;
    width: 18px;
    height: 18px;
}

/* Form fields layout */
.wam-new-member-form form {
    margin-top: 1rem;
}
input[type="checkbox"].form-check-input.border-success:checked {
    background-color: #198754; /* Bootstrap green */
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}


.form-group.row {
    margin-top: 1rem;
}
.form-group.row .col-sm-10,
.form-group.row .col-sm-6,
.form-group.row .col-sm-4,
.form-group.row .col-sm-2 {
    padding: 0 5px;
}

.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    background-color: #fff;
}

/* Submit button */
.wam-new-member-form input[type="submit"],
.wam-new-member-form .btn.btn-primary {
    background-color: #005eb8;
    color: #fff;
    font-size: 17px;
    padding: 0.6rem 2rem;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s;
    font-weight: 600;
}

.wam-new-member-form input[type="submit"]:hover,
.wam-new-member-form .btn.btn-primary:hover {
    background-color: #004c9a;
}

.invalid-feedback {
	color: #d9534f;
	font-size: 0.9rem;
	margin-top: 0.25rem;
	display: none;
}
input.is-invalid {
	border-color: #d9534f;
}



/* Responsive tweaks */
@media (max-width: 768px) {
    .form-group.row {
        flex-direction: column;
    }

    .form-group.row label,
    .form-group.row > div {
        max-width: 100%;
        flex: 100%;
    }

    .wam-member-type-options {
        flex-direction: column;
        gap: 1rem;
    }

    .wam-new-member-form input[type="submit"] {
        width: 100%;
    }
}

/* QuickPay continue / receipt */
.wam-qpay-continue{max-width:980px;margin:0 auto;padding:1.25rem}
.wam-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
@media (max-width:820px){.wam-grid{grid-template-columns:1fr}}
.wam-card{border:1px solid #e6e6e6;border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.04);background:#fff}
.wam-card__header{padding:1rem 1.25rem;border-bottom:1px solid #eee;display:flex;align-items:center;gap:.75rem}
.wam-card__body{padding:1rem 1.25rem}
.wam-title{margin:0;font-size:1.25rem;font-weight:700}
.wam-subtitle{margin:0;font-size:1.05rem;font-weight:700}
.wam-note{margin:.25rem 0 1rem;color:#555}
.wam-kv{margin:0}
.wam-kv__row{display:grid;grid-template-columns:auto 1fr;gap:.25rem .75rem;margin:.25rem 0}
.wam-kv dt{color:#444; width: 100px;}
.wam-kv dd{margin:0;font-weight:600}
.wam-amount{font-size:1.15rem;font-weight:700}
.wam-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}
.wam-btn{display:inline-block;padding:.6rem 1rem;border-radius:8px;text-decoration:none;font-weight:600;border:1px solid transparent;cursor:pointer}
.wam-btn--primary{background:#0a7cff;color:#fff}
.wam-btn--outline{background:#fff;border-color:#d7d7d7;color:#333}
.wam-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.25rem .6rem;font-size:.85rem;border:1px solid transparent;font-weight:600}
.wam-badge--success{background:#e8f6ee;color:#17633d;border-color:#bfe6cf}
.wam-badge--danger{background:#fdeaea;color:#7d2121;border-color:#f4c2c2}
.wam-badge--info{background:#eef5ff;color:#1f4788;border-color:#cfe0ff}
.wam-alert{padding:.75rem 1rem;border-radius:8px;border:1px solid transparent;margin:1rem 0}
.wam-alert--danger{background:#fdeaea;color:#7d2121;border-color:#f4c2c2}
.wam-alert--warning{background:#fff6e5;color:#7a4b00;border-color:#ffe2a8}
.wam-muted{color:#666; margin-top: 20px;}
/* Icons (CSS-only) */
.wam-ico{width:10px;height:10px;border-radius:50%;display:inline-block}
.wam-ico--success{background:#2ecc71}
.wam-ico--info{background:#2d7ff9}
.wam-ico--danger{background:#e74c3c}

/* Pending pulse */
.wam-dot-pulse{display:inline-block;width:.5rem;height:.5rem;border-radius:50%;background:#2d7ff9;vertical-align:middle;margin-left:.35rem;animation:wamPulse 1.2s infinite}
@keyframes wamPulse{0%{opacity:.2;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}100%{opacity:.2;transform:scale(.9)}}

/* Copy button (uses a simple glyph) */
.wam-copy{margin-left:.4rem;line-height:1;border:1px solid #d7d7d7;background:#fff;border-radius:6px;padding:.2rem .45rem;cursor:pointer}
.wam-copy.is-copied{border-color:#2ecc71;box-shadow:0 0 0 2px rgba(46,204,113,.15)}

/* Print: only print the receipt container */
@media print{
	body *{visibility:hidden}
	#wam-qpay-continue, #wam-qpay-continue *{visibility:visible}
	#wam-qpay-continue{position:absolute;left:0;top:0;width:100%}
	.wam-hide-on-print{display:none !important}
}
/* Continue page refinements */
.wam-qpay-continue .wam-card__body { text-align: left; }
.wam-qpay-continue .wam-bullets,
.wam-qpay-continue .wam-card__body p { text-align: left; }

.wam-title-line { font-size: 0.95rem; font-weight: 700; margin: 0; display: flex; align-items: center; gap: .5rem; }
.wam-title-sep { opacity: .5; }
.wam-status-text--pill { padding: .25rem .5rem; border-radius: 999px; font-weight: 600; }
.wam-badge--success { background: #eaf7ee; color: #237a45; }
.wam-badge--info    { background: #e9f1ff; color: #2d7ff9; }
.wam-badge--danger  { background: #fdecea; color: #b3261e; }

.wam-card-brand { height: 18px; vertical-align: middle; margin-right: 6px; }
.wam-copy { margin-left: .5rem; border: 1px solid #d7d7d7; background: #fff; border-radius: 6px; padding: .2rem .5rem; cursor: pointer; }
.wam-copy.is-copied { border-color: #2ecc71; box-shadow: 0 0 0 2px rgba(46,204,113,.15); }

/* already present earlier: .wam-dot-pulse animation, print rules, etc. */

/* ==== New member form – responsive polish ==== */

/* Main card/container */
.wam-new-member-form {
  max-width: 740px;             /* a bit narrower than before */
  margin: 16px auto;            /* smaller top/bottom margin */
  padding: 18px 20px;           /* tighter padding */
  border-radius: 12px;
}

/* Small/medium devices: tighten more */
@media (max-width: 900px) {
  .wam-new-member-form {
    max-width: 680px;
    padding: 16px 18px;
    margin: 14px auto;
  }
}
@media (max-width: 600px) {
  .wam-new-member-form {
    max-width: 560px;
    padding: 14px 16px;
    margin: 12px auto;
  }
}

/* Headline block spacing (if present) */
.wam-member-header,
#wam-membership-summary {
  margin-bottom: 14px;
}

/* Form groups: reduce vertical spacing */
.wam-new-member-form .form-group,
.wam-new-member-form .mb-3 {
  margin-bottom: 12px !important;
}

/* Section headline (ADDRESS INFORMATION) – slightly tighter */
.wam-new-member-form .section-title,
.wam-new-member-form h3.section-title {
  margin: 14px 0 8px;
}

/* =========================
   Member type radio options
   ========================= */
.wam-member-type-options {
  /* Keep the radios inside the same inner padding as the form body */
  margin: 6px 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;         /* smaller gap between options */
}

/* Try to “chip-ify” labels without breaking existing markup */
.wam-member-type-options label,
.wam-member-type-options .form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
 /* padding: 6px 10px;
  border: 1px solid #e2e8f0; */
  border-radius: 10px;
  background: #fff;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;   /* avoid ugly wrapping of a single option */
}

/* Radios themselves get minimal inline spacing */
.wam-member-type-options input[type="radio"] {
  margin: 0 4px 0 0;
}

/* When the page is *very* narrow, allow options to break nicely */
@media (max-width: 420px) {
  .wam-member-type-options {
    gap: 6px 8px;
  }
  .wam-member-type-options label,
  .wam-member-type-options .form-check-label {
    padding: 5px 8px;
    font-size: 0.95rem;
  }
}

/* =========================
   Rules checkbox row
   ========================= */
.wam-rules-row {
  margin-top: 6px;
  margin-bottom: 10px;
}

/* Keep the button snug with the content */
.wam-new-member-form .btn-lg,
.wam-new-member-form .btn {
  margin-top: 8px;
}

/* =========================
   Inputs – small refinements
   ========================= */
.wam-new-member-form input[type="text"],
.wam-new-member-form input[type="email"],
.wam-new-member-form input[type="tel"] {
  height: 44px;                /* consistent height without looking bulky */
  padding: 8px 10px;
}

/* Error state stays visible but less heavy on small screens */
@media (max-width: 600px) {
  .wam-new-member-form .invalid-feedback {
    font-size: 0.925rem;
    margin-top: 4px;
  }
}

/* Make sure the “membership summary” image/text don’t push too wide */
#wam-membership-summary img {
  max-width: 120px;
  height: auto;
}
#wam-membership-summary .details {
  line-height: 1.35;
  min-height: 117px;
}

