#wpbody .wrap {
    font-family: 'Open Sans', Verdana, Arial, sans-serif;
    margin-top: 20px;
  }
  #ctm-logo {
    display: block;
    background: transparent url(https://d7p5n6bjn5dvo.cloudfront.net/images/logo2.png) no-repeat;
    width: 330px;
    max-width: 100%;
    height: 60px;
    background-size: contain;
  }
  #ctm-logo:focus {
    box-shadow: none;
  }
  .form-table th {
    display: none !important;
  }
  span.hint {
    font-size: 12px;
    display: block;
    line-height: 1.5;
    padding-top: 2px;
    padding-bottom: 6px;
    color: #555;
  }
  #wpbody .ctm-card p {
    margin-top: 0;
  }
  .ctm-card {
    background-color: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    padding: 20px 0 10px 0;
    max-width: 100%;
    margin-top: 0;
    border: none;
  }
  .ctm-field .ctm-field {
    margin-bottom: 10px;
  }
  h3 {
    margin: 7px;
    font-size: 18px;
    color: #222;
    line-height: 1.1;
  }
  h3 small {
    font-size: 65%;
    font-weight: normal;
    line-height: 1;
    color: #777;
  }
  form > .ctm-field + .ctm-field {
    margin-top: 25px;
  }
  input.regular-text {
    width: 100%;
    max-width: 400px;
    font-size: 13px;
    padding: 7px;
    border-radius: 4px;
    border: 1px solid #ccc;
    line-height: 16px;
    margin: 2px 0;
  }
  form {
    margin: 0;
    margin-bottom: 60px;
  }
  
  .ctm-card > *,
  .ctm-card > form,
  .ctm-card > input.string,
  .ctm-card > input.text,
  .ctm-card > input.password {
    margin-left: 3%;
    margin-right: 3%;
    max-width: calc(100% - 6%);
  }
  
  .ctm-card input[type=checkbox] + label {
    display: inline-block;
    padding-left: 5px;
  }
  
  .ctm-card > footer {
    border-top: solid 1px #E0E0E0;
    padding: 12px;
    margin: 0;
    margin-bottom: -10px;
    max-width: 100%;
    line-height: 35px;
  }
  
  .ctm-card > footer .button {
    margin-bottom: 0;
  }
  
  .ctm-card > footer > p, .ctm-card > footer > span {
    line-height: 140%;
  }
  
  .ctm-card > footer {
    margin-top: 20px;
  }
  div.ctm-error {
    display: block;
    width: 100%;
    background-color: rgba(255, 0, 0, 0.5);
    color: white;
    font-size: 120%;
    margin: 0;
    max-width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }
  div.ctm-error a {
    color: white;
  }
  div.ctm-error a:focus {
    box-shadow: none;
  }
  div.ctm-error > span {
    display: block;
    padding: 13px;
    line-height: 1.4;
  }
  .ctm-button {
    font-size: 13px;
    border:none;
    padding:0 10px;
    color:#fff;
    
    line-height:30px;
    height:30px;
    position:relative;
    display:inline-block;
    
    vertical-align: baseline;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    
    text-shadow:none;
    white-space: nowrap;
    
    background-color:#5bbcd2;
    
    -ms-user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    
    transition: background 0.5s;
  }
  .ctm-button.callout {
    background:#6F9DE3 repeat-x top left;
  }
  .ctm-button.callout:hover {
    background:#70A2F1 repeat-x top left;
  }
  a.ctm-button:hover, a.ctm-button:focus {
    box-shadow: none;
    color: white;
  }
  .ctm-btn {
    text-decoration: none;
    background-color: #f3f3f3;
    border-radius: 4px;
    color: black;
    padding: 2px 8px;
    line-height: 20px;
    margin: 0 2px;
  }
  .ctm-list {
    width: 100%;
    border: 1px solid #ccc;
    min-height: 100px;
    max-height: 400px;
    margin-bottom: 5px;
    overflow-y: scroll;
    overflow-x: hidden;
  }
  .ctm-row {
    width: 100%;
    font-size: 90%;
    line-height: 1.5;
    padding: 3px 5px;
  }
  .ctm-row:hover {
    background-color: #eee;
  }
  .ctm-date {
    display: block;
    font-size: 90%;
    color: #ccc;
  }
  div.notice-info-grey {
    background: #f1f2f3;
    padding-top:6px;
  }

/* WordPress Hover Color Overrides - Ensure Tailwind CSS hover styles work properly */

/* Override WordPress admin hover colors with high specificity */
#wpbody-content .wrap a:hover,
#wpbody-content .wrap button:hover,
#wpbody-content .wrap input[type="submit"]:hover,
#wpbody-content .wrap input[type="button"]:hover {
    color: inherit !important;
    background-color: inherit !important;
}

/* Specific overrides for blue hover states */
#wpbody-content .wrap .hover\:bg-blue-700:hover {
    background-color: #1d4ed8 !important;
}

#wpbody-content .wrap .hover\:bg-blue-600:hover {
    background-color: #2563eb !important;
}

#wpbody-content .wrap .hover\:text-blue-600:hover {
    color: #2563eb !important;
}

#wpbody-content .wrap .hover\:text-blue-700:hover {
    color: #1d4ed8 !important;
}

#wpbody-content .wrap .hover\:text-white:hover {
    color: #ffffff !important;
}

/* Override WordPress button hover colors */
#wpbody-content .wrap button.bg-blue-600:hover,
#wpbody-content .wrap input[type="submit"].bg-blue-600:hover {
    background-color: #1d4ed8 !important;
    color: #ffffff !important;
}

#wpbody-content .wrap button.bg-green-600:hover,
#wpbody-content .wrap input[type="submit"].bg-green-600:hover {
    background-color: #059669 !important;
    color: #ffffff !important;
}

#wpbody-content .wrap button.bg-red-600:hover,
#wpbody-content .wrap input[type="submit"].bg-red-600:hover {
    background-color: #dc2626 !important;
    color: #ffffff !important;
}

#wpbody-content .wrap button.bg-yellow-600:hover,
#wpbody-content .wrap input[type="submit"].bg-yellow-600:hover {
    background-color: #d97706 !important;
    color: #ffffff !important;
}

/* Override WordPress link hover colors */
#wpbody-content .wrap a.text-blue-600:hover {
    color: #1d4ed8 !important;
}

#wpbody-content .wrap a.text-green-600:hover {
    color: #059669 !important;
}

#wpbody-content .wrap a.text-red-600:hover {
    color: #dc2626 !important;
}

/* Override WordPress underline on hover */
#wpbody-content .wrap a.no-underline:hover {
    text-decoration: none !important;
}

#wpbody-content .wrap a.underline:hover {
    text-decoration: underline !important;
}

/* Override WordPress box-shadow on hover */
#wpbody-content .wrap button:hover,
#wpbody-content .wrap input[type="submit"]:hover,
#wpbody-content .wrap input[type="button"]:hover {
    box-shadow: none !important;
}

/* Specific overrides for your form elements */
#wpbody-content .wrap .shadow:hover {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

#wpbody-content .wrap .transition:hover {
    transition-property: all !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 150ms !important;
}

/* Reset WordPress admin area input focus/hover styles */
#wpbody-content .wrap input[type="text"]:hover,
#wpbody-content .wrap input[type="password"]:hover,
#wpbody-content .wrap input[type="email"]:hover,
#wpbody-content .wrap textarea:hover,
#wpbody-content .wrap select:hover {
    border-color: inherit !important;
    background-color: inherit !important;
}

/* Ensure Tailwind focus ring styles work */
#wpbody-content .wrap .focus\:ring-blue-500:focus {
    --tw-ring-color: #3b82f6 !important;
    box-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
}

#wpbody-content .wrap .focus\:border-blue-500:focus {
    border-color: #3b82f6 !important;
}

/* Fix formatting issue with content boxes overlapping WordPress footer */
#wpbody-content .wrap .mb-12 {
    margin-bottom: 3rem !important;
}

#wpbody-content .wrap .bg-white.rounded-xl.shadow-lg {
    margin-bottom: 2rem !important;
}

/* Ensure proper spacing for the last content box */
#wpbody-content .wrap .bg-gradient-to-r:last-of-type {
    margin-bottom: 4rem !important;
}

/* Add bottom padding to the main content wrapper to prevent footer overlap */
#wpbody-content .wrap {
    padding-bottom: 2rem !important;
}

/* Ensure the documentation tab content has proper bottom spacing */
#wpbody-content .wrap .space-y-8 > div:last-child {
    margin-bottom: 3rem !important;
}

/* Hide restricted tabs when API is not connected */
#wpbody-content .wrap nav a[href*="tab=api"],
#wpbody-content .wrap nav a[href*="tab=import"],
#wpbody-content .wrap nav a[href*="tab=forms"],
#wpbody-content .wrap nav a[href*="tab=debug"] {
    display: none !important;
}