/* From header */
/* From 'My Account' button */
/* Common system font stack */
.util-boxshadow {
  box-shadow: 2px 2px 5px 0px #00000040;
}
#main {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 10px;
}
.penink-address-list-workflow {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #333333;
  padding: 20px;
  background-color: #FFFFFF;
  /* White background for the content area */
  border-radius: 8px;
  box-shadow: 2px 2px 5px 0px #00000040;
  margin-top: 50px;
  margin-bottom: 50px;
}
.entry-title {
  /* Assuming this is the main H1 for the page */
  color: #194A8D;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  margin-bottom: 25px !important;
  /* Ensure override */
  padding-bottom: 10px;
  font-size: 2.2em;
  /* Adjust as needed */
}
.penink-address-list-workflow {
  /* Buttons */
  /* Primary action buttons (Orange) */
  /* Secondary/Default buttons (Blue) */
  /* Table Styling */
  /* Messages */
  /* Login form specific (if needed) */
}
.penink-address-list-workflow h3 {
  color: #194A8D;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.8em;
}
.penink-address-list-workflow h4 {
  color: #194A8D;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.4em;
}
.penink-address-list-workflow p {
  line-height: 1.6;
  margin-bottom: 15px;
}
.penink-address-list-workflow form p {
  margin-bottom: 20px;
  /* More space between form elements */
}
.penink-address-list-workflow label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #555;
}
.penink-address-list-workflow input[type="text"],
.penink-address-list-workflow input[type="file"],
.penink-address-list-workflow select,
.penink-address-list-workflow .regular-text {
  /* Added .regular-text for ACF fields */
  width: 100%;
  padding: 12px;
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 1em;
  background-color: #FFFFFF;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.penink-address-list-workflow input[type="text"]:focus,
.penink-address-list-workflow input[type="file"]:focus,
.penink-address-list-workflow select:focus,
.penink-address-list-workflow .regular-text:focus {
  border-color: #194A8D;
  box-shadow: 0 0 0 0.2rem rgba(25, 74, 141, 0.25);
  /* Focus ring like Bootstrap */
  outline: none;
}
.penink-address-list-workflow input[type="file"] {
  padding: 8px;
  /* File inputs often need different padding */
}
.penink-address-list-workflow input[type="submit"],
.penink-address-list-workflow .button,
.penink-address-list-workflow a.button {
  /* General button styling */
  display: inline-block;
  padding: 12px 25px;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease, color 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
  /* Base border */
  line-height: normal;
  /* Ensure consistent height */
}
.penink-address-list-workflow input[type="submit"][name="submit_csv_upload"],
.penink-address-list-workflow input[type="submit"][name="submit_csv_mapping"],
.penink-address-list-workflow .button-primary,
.penink-address-list-workflow a.button-primary {
  background-color: #e89d40;
  color: #FFFFFF;
  border-color: #e89d40;
}
.penink-address-list-workflow input[type="submit"][name="submit_csv_upload"]:hover,
.penink-address-list-workflow input[type="submit"][name="submit_csv_mapping"]:hover,
.penink-address-list-workflow .button-primary:hover,
.penink-address-list-workflow a.button-primary:hover {
  background-color: #db851a;
  border-color: #db851a;
  color: #FFFFFF;
  transform: translateY(-1px);
}
.penink-address-list-workflow input[type="submit"]:not([name="submit_csv_upload"]):not([name="submit_csv_mapping"]),
.penink-address-list-workflow .button:not(.button-primary),
.penink-address-list-workflow a.button:not(.button-primary) {
  background-color: #194A8D;
  color: #FFFFFF;
  border-color: #194A8D;
}
.penink-address-list-workflow input[type="submit"]:not([name="submit_csv_upload"]):not([name="submit_csv_mapping"]):hover,
.penink-address-list-workflow .button:not(.button-primary):hover,
.penink-address-list-workflow a.button:not(.button-primary):hover {
  background-color: #113362;
  border-color: #113362;
  color: #FFFFFF;
  transform: translateY(-1px);
}
.penink-address-list-workflow .wp-list-table {
  border: 1px solid #DEE2E6;
  border-radius: 6px;
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: none;
  /* Remove default WP shadow if any */
  width: 100%;
  border-collapse: separate;
  /* Allows border-radius to work on table */
  border-spacing: 0;
  display: block;
  max-width: -moz-fit-content;
  max-width: fit-content;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
}
.penink-address-list-workflow .wp-list-table th,
.penink-address-list-workflow .wp-list-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #DEE2E6;
}
.penink-address-list-workflow .wp-list-table th {
  background-color: #F8F9FA;
  color: #194A8D;
  font-weight: bold;
  border-top: none;
  /* Remove top border for cleaner look with rounded corners */
}
.penink-address-list-workflow .wp-list-table td {
  background-color: #FFFFFF;
}
.penink-address-list-workflow .wp-list-table tbody tr:last-child td {
  border-bottom: none;
  /* Remove bottom border for last row */
}
.penink-address-list-workflow .wp-list-table thead th:first-child {
  border-top-left-radius: 6px;
}
.penink-address-list-workflow .wp-list-table thead th:last-child {
  border-top-right-radius: 6px;
}
.penink-address-list-workflow .wp-list-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 6px;
}
.penink-address-list-workflow .wp-list-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 6px;
}
.penink-address-list-workflow .wp-list-table tbody tr:nth-child(even) td {
  background-color: #fefefe;
  /* Very light striping */
}
.penink-address-list-workflow .wp-list-table tbody tr:hover td {
  background-color: #e9ecef;
}
.penink-address-list-workflow div[style*="overflow-x: auto"] {
  /* Container for the table */
  border-radius: 6px;
  border: 1px solid #DEE2E6;
  /* Add border to the scroll container */
  margin-bottom: 20px;
}
.penink-address-list-workflow .penink-message {
  padding: 15px 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 0.95em;
}
.penink-address-list-workflow .penink-message.penink-error {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}
.penink-address-list-workflow .penink-message.penink-success {
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}
.penink-address-list-workflow .penink-message.penink-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border-color: #bee5eb;
}
.penink-address-list-workflow #loginform {
  /* Scope to workflow area */
  border: 1px solid #DEE2E6;
  padding: 25px;
  border-radius: 6px;
  background-color: #F8F9FA;
  margin-top: 20px;
}
.penink-address-list-workflow #loginform p {
  margin-bottom: 15px;
}
.penink-address-list-workflow #loginform label {
  color: #333333;
  font-weight: normal;
  /* WP default is bold, make it normal */
}
.penink-address-list-workflow #loginform input[type="text"],
.penink-address-list-workflow #loginform input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  /* Space below input */
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  box-sizing: border-box;
}
.penink-address-list-workflow #loginform .forgetmenot label {
  font-weight: normal;
}
.penink-address-list-workflow #loginform input[type="submit"] {
  background-color: #e89d40;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
}
.penink-address-list-workflow #loginform input[type="submit"]:hover {
  background-color: #95b4e6;
}
.penink-address-list-workflow #loginform p.submit {
  margin-top: 10px;
  /* Space above submit button */
}
.penink-address-list-workflow #loginform .message {
  /* WP login messages */
  border-left-color: #e89d40 !important;
  /* Match site accent */
  padding: 12px !important;
  margin-bottom: 20px !important;
  background-color: #fff !important;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1) !important;
}
/* Form Grid Layout */
.penink-form-grid-container {
  display: grid;
  grid-template-columns: auto 1fr;
  /* Label takes auto width, input takes remaining */
  gap: 10px 20px;
  /* Row gap, Column gap */
  align-items: center;
  /* Vertically align items in the center of the cell */
  margin-bottom: 20px;
  /* Space below each grid container */
}
.penink-form-grid-item {
  display: contents;
  /* Allows label and input to be direct grid children */
}
.penink-form-grid-item label {
  grid-column-start: 1;
  margin-bottom: 0;
  /* Override default label margin */
  text-align: right;
  /* Align label text to the right */
  padding-right: 10px;
  /* Space between label and input */
}
.penink-form-grid-item input[type="text"],
.penink-form-grid-item select,
.penink-form-grid-item .regular-text {
  grid-column-start: 2;
  width: 100%;
  /* Make input take full width of its grid cell */
}
@media (max-width: 768px) {
  .penink-form-grid-container {
    grid-template-columns: 1fr;
    /* Stack label and input */
    gap: 0;
    /* Remove column gap, row gap will be handled by margins */
  }
  .penink-form-grid-item label {
    grid-column-start: 1;
    /* Ensure it takes the first (and only) column */
    text-align: left;
    padding-right: 0;
    margin-bottom: 5px;
    /* Space between label and input when stacked */
  }
  .penink-form-grid-item input[type="text"],
  .penink-form-grid-item select,
  .penink-form-grid-item .regular-text {
    grid-column-start: 1;
    /* Ensure it takes the first (and only) column */
    margin-bottom: 15px;
    /* Space below each input when stacked */
  }
}
/* Adjustments for single full-width items if needed, or specific overrides */
/* For example, if a field needs to span both columns */
.penink-form-grid-item-full-width {
  grid-column: 1 / -1;
  /* Span all columns */
  /* Add any specific styling for full-width items here */
}
