/* 
 * Hide the page title for the Dashboard page (page ID 29341)
 */
.page-id-29341 .wp-block-post-title {
  display: none;
}

/* Dashboard Title */
.arm-company-title {
  display: block;
  width: 100%;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* ====================
   Form Layout
==================== */
.arm-container {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 2rem auto;
  width: 100%;
}

.arm-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

/* ====================
   Form Fields & Labels
==================== */
.arm-field {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 0.5rem;
  transition: border 0.2s ease;
}

.arm-field:hover {
  border: 2px solid currentColor;
}

.arm-label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: inherit;
}

.arm-required {
  color: red;
  margin-right: 0.25em;
}

.arm-input,
.arm-password-wrapper input[type="password"] {
  width: 100%;
  padding: 0.5rem;
  border: none;
  background-color: transparent;
  font-size: inherit;
  color: inherit;
  box-sizing: border-box;
}

.arm-input:focus,
.arm-password-wrapper input[type="password"]:focus {
  outline: none;
}

/* ====================
   Password Visibility Toggle
==================== */
.arm-password-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: inherit;
  border: none;
  padding: 0;
}

.arm-toggle-eye {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.arm-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

/* ====================
   Button Styles
==================== */
.arm-button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  text-align: center;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.arm-button.is-primary {
  background-color: #0073aa;
  color: #fff;
}

.arm-button.is-primary:hover {
  background-color: #005c8b;
}

.arm-button.is-secondary {
  background-color: #ddd;
  color: #333;
}

.arm-button.is-secondary:hover {
  background-color: #ccc;
}

.arm-button.is-disabled,
.arm-button:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}

.arm-button-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

/* ====================
   Text Feedback
==================== */
.arm-help {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.25rem;
}

.arm-error {
  font-size: 0.85rem;
  color: #c00;
  margin-top: 0.25rem;
}

.arm-message {
  color: #d63638;
  background: #fff4f4;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  text-align: center;
  margin-top: 1rem;
}

/* ====================
   Links
==================== */
.arm-link {
  display: block;
  text-align: center;
  font-size: 0.95rem;
  color: #0073aa;
  text-decoration: none;
  margin-top: 1rem;
}

.arm-link:hover {
  text-decoration: underline;
}

.arm-link-right {
  text-align: right;
  margin-top: -0.5rem;
  font-size: 0.9rem;
}

/* ====================
   Autofill Fix for Chrome
==================== */
input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: inherit !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* ====================
   Team Member List Layout
==================== */
.arm-team-member-list {
  margin: 1em 0;
}

.arm-role-section {
  margin-top: 2em;
}

.arm-role-section h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
}

.arm-user-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.arm-user-row {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 0.5em;
  padding: 10px;
  transition: background 0.2s ease;
}

.arm-user-row a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
}

.arm-user-row:hover {
  background: #eef6ff;
}

.arm-user-name {
  font-weight: bold;
}

.arm-user-email {
  font-size: 0.9em;
  color: #666;
}

.arm-add-user {
  margin-top: 2em;
  text-align: center;
}

.arm-add-user .arm-button {
  background: #0073aa;
  color: #fff;
  padding: 12px 20px;
  font-size: 1em;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

.arm-add-user .arm-button:hover {
  background: #005b8c;
}

.arm-icon-button {
    display: inline-block;
    font-size: 1.3em;
    padding: 6px 8px;
    margin-left: 4px;
    text-decoration: none;
    color: #333;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    line-height: 1;
    transition: background 0.2s ease;
}

.arm-icon-button:hover {
    background: #e0e0e0;
    color: #111;
}

.arm-icon-button.arm-danger {
    color: #a00;
    border-color: #a00;
    background: #fff2f2;
}

.arm-icon-button.arm-danger:hover {
    background: #f9d6d6;
}

.arm-user-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
