
form {
    max-width: 500px;
    margin: 30px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-family: inherit;
}

form p {
    margin-bottom: 20px;
}

form label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

form input[type="text"],
form input[type="email"],
form select,
form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    background: white;
    box-sizing: border-box;
    transition: border 0.2s;
}

form input:focus,
form textarea:focus,
form select:focus {
    border-color: #308e39;
    outline: none;
}

form button,
.button {
    padding: 10px 20px;
    background-color: #308e39;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

form button:hover,
.button:hover {
    background-color: #9ce01f;
}

form button:disabled,
.button:disabled {
    background-color: #ccc; /* light grey background */
    color: #888;            /* greyed text */
    cursor: not-allowed;    /* optional: shows a disabled cursor */
}

/* Prevent hover from changing color if disabled */
form button:disabled:hover,
.button:disabled:hover {
    background-color: #ccc; /* keep same grey background */
    color: #888;            /* keep text greyed */
}

.twx-success {
    background: #e6ffed;
    border: 1px solid #2ecc71;
    color: #2c7a4b;
    padding: 12px;
    margin: 20px auto;
    border-radius: 5px;
    max-width: 500px;
}

.twx-error {
    background: #ffe6e6;
    border: 1px solid #e74c3c;
    color: #c0392b;
    padding: 12px;
    margin: 20px auto;
    border-radius: 5px;
    max-width: 500px;
}

/* Features & Pricing */
.pricing-section {
    padding: 2rem 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.pricing-table th,
.pricing-table td {
    padding: 0.75rem 1rem;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #ddd;
    word-wrap: break-word;
}

.pricing-table thead th {
    background-color: #f8f8f8;
    font-weight: 700;
    font-size: 1rem;
    color: #555;
}

.pricing-table thead .plus-col,
.pricing-table tfoot .plus-col
{
    background-color: #F97316;
    color: #fff;
}

.pricing-table thead .pro-col, 
.pricing-table tfoot .pro-col 
{
    background-color: #8B5CF6;
    color: #fff;
}

.pricing-table tbody td:first-child,
.pricing-table thead th:first-child,
.pricing-table tfoot th:first-child {
    text-align: left;
    width: 35%;
    font-weight: 600;
    font-size: 1rem;
    color: #222;
}

.pricing-table tbody td .desc {
    display: block;
    margin-top: 0.3rem;
    font-weight: 400;
    font-size: 0.875rem;
    color: #666;
}

.pricing-table tbody td img.emoji {
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
    margin-right: 0.2em;
}

.pricing-table tbody td p {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: #444;
}

.pricing-table .highlight {
    /* background-color: #e0f0ff; */
    background-color: rgba(249, 115, 22, 0.15);
    font-weight: 600;
}

.pricing-table .plus-most-popular {
    /* background: linear-gradient(135deg, #b6e0fe 0%, #65aaff 100%); */
    background: linear-gradient(135deg, #b6e0fe 0%, #65aaff 100%); 
    color: #003366;
    position: relative;
}

.pricing-table .pop {
    display: inline-block;
    /* background: var(--secondary-color); */
    color: #003366;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.3rem;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.6);
    user-select: none;
}

.pricing-table .btn-buy-table {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background-color: var(--primary-color);
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 0.3rem;
    transition: background-color 0.3s ease;
}

.pricing-table .btn-buy-table:hover,
.pricing-table .btn-buy-table:focus {
    background-color: #005bb5;
    outline: none;
}

.pricing-table .price {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    line-height: 1.3;
}

.pricing-table .price.pop {
    color: #003366;
}

.pricing-table .pro-plan-buy {
    background-color: #f5f9ff;
}

.pricing-table tfoot th {
    font-weight: 600;
    background-color: #fafafa;
}

.pricing-table tfoot tr:last-child th {
    border-top: none;
}

.pricing-table a.btn-buy-table:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 2px;
}

.desktop-layout { display: block; }
.mobile-layout { display: none; }

@media (max-width: 768px) {
  .desktop-layout { display: none; }
  .mobile-layout { display: block; }
  .plan-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
}

/* TWX customers grid (simple, borderless, responsive) */
.twx-customers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
    padding: 0;
    justify-content: center;
}
.twx-customer-card {
    flex: 1 1 220px; /* min width of a card */
    max-width: 260px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.twx-customer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.twx-cust-logo {
    width: 100%;
    max-width: 140px;
    height: auto;
    margin: 0 auto 12px;
    display: block;
}
.twx-cust-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.twx-cust-link {
    font-size: 0.9rem;
    color: #0073aa;
    text-decoration: none;
    word-break: break-word;
}
.twx-cust-link:hover {
    text-decoration: underline;
}

/* Google Reviews */
.twx-reviews {
  margin: 1em 0;
}
.twx-review {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}
.twx-stars {
  color: #f39c12;
  font-size: 16px;
}

/* Plugin Version History Table */
.plugin-version-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 15px;
    color: #333;
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.plugin-version-table th {
    text-align: center;
    background: #d1ebd4;
    padding: 12px;
    border-bottom: 2px solid #d6e4f0;
    font-weight: 600;
    color: #2a4a6b;
}
.plugin-version-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.4;
}
.plugin-version-table tr:last-child td {
    border-bottom: none;
}
.plugin-version-table td:nth-child(1) {
    text-align: center;
    font-weight: 500;
    background-color: #f9fbfd;
    color: #2a4a6b;
}
.plugin-version-table td:nth-child(2) {
    text-align: left;
}

.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.zoom-overlay img {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 0 20px #000;
    border-radius: 8px;
    /* border: 4px solid #000 !important; */
    transition: transform 0.3s ease;
    cursor: zoom-out;
    width: 80% !important;
    height: auto !important;
}

.spaced-list img[class*="wp-image-"] {
    border: 3px solid black;
}

.twx-img-border img {
    border: 3px solid black;
}

.action-btn a{
    background-color: #B6FF6D;
    color: #1c5521;
}
.action-btn a:visited{
    color: #1c5521;
}
.action-btn2 a{
    background-color: var(--primary-color);
    color: #B6FF6D;
}
.action-btn2 a:visited{
    color: #B6FF6D;
}
.action-btn a:hover {
    background-color: #9ae852;
    color: #ffffff;
}
.action-btn2 a:hover {
    background-color: #003f1c;
    color: #B6FF6D;
}

.twx-trav-quote {
    max-width: 50%;
    margin: 0 auto;   /* centers the block horizontally */
}

/* Manage Customers */
.twx-manage-customer table {
  border-collapse: collapse;
  width: 100%;
}

.twx-manage-customer th,
.twx-manage-customer td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.twx-manage-customer th {
  background-color: #f9f9f9;
  font-weight: bold;
}

.twx-manage-customer pre {
  background: #f4f4f4;
  border: 1px solid #e0e0e0;
  padding: 6px;
  margin: 0;
  max-height: 200px;
  overflow: auto;
}


/* Wordpress Overrides */ 
:root {
    /* --wp--style--global--content-size: 800px; previously 620px */
}


/* Theme Overrides */

/* Posts */
/* Edited theme php to not include these, but just in case Theme gets updated */
.site-main article .entry-meta {
    display: none !important;
}
.site-main article .entry-footer .cat-links {
    display: none !important;
}

/* Front Page Logo */
.site-logo img.custom-logo {
    /* height: 140px !important; */
    width: auto !important;    /* auto width keeps aspect ratio */
    max-height: 100%; /* prevent overflow */
}
@media (max-width: 768px) {
    .site-logo img.custom-logo {
        height: 60px !important;
    }
}

/* Front Page Header Banner */
.top-header-right-part {
  position: relative;
  height: 140px;
  overflow: hidden;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-header-right-part::before,
.top-header-right-part::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 3s ease-in-out;
  z-index: 0;
}
.top-header-right-part::before {
  background-image: url('/wp-content/uploads/2025/08/header_banner.jpg');
  opacity: 1;
  animation: fade1 22s infinite;
}
.top-header-right-part::after {
  background-image: url('/wp-content/uploads/2025/08/header_banner_set2.jpg');
  animation: fade2 22s infinite;
}
.top-header-right-part:hover::before,
.top-header-right-part:hover::after {
  filter: brightness(70%);
}
.top-header-right-part .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-size: 20px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none; /* so hover still works on parent */
  animation: fadeInBannerText 1s ease-in forwards;
  animation-delay: 3s;
}
/*
.top-header-right-part:hover .overlay-text {
  opacity: 1;
}
*/

/* Animations */
@keyframes fade1 {
  0%, 36%   { opacity: 1; }
  50%, 86%  { opacity: 0; }
  100%      { opacity: 1; }
}

@keyframes fade2 {
  0%, 36%   { opacity: 0; }
  50%, 86%  { opacity: 1; }
  100%      { opacity: 0; }
}

@keyframes fadeInBannerText {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .top-header-right-part {
    display: none !important;
  }
}

/* Footer */

/* Target all social icons */
.wp-social-link svg {
    width: 32px !important;   /* new width */
    height: 32px !important;  /* new height */
}

/* Optional: scale up the anchor for better spacing */
.wp-social-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Reduce padding  */
.site-footer .site-footer-top {
    padding: 2.5rem 0 2.5rem !important;
}
#block-16 {
    margin: 0 0 0 !important;
}

.spaced-list li {
  margin-bottom: 0.75rem; /* change value to suit (e.g. 0.5rem, 1rem) */
}
.home .entry-title {
    display: none; /* Hides <h1> title on front page but is still indexable by Google */
}
.home .alignfull{
    margin-top: 0px !important; /* Pushes Cover Banner on homepage up to top menu */
}

/* Responsive: stack columns on narrow screens */
/*
@media (max-width: 768px) {
    .pricing-table table,
    .pricing-table thead,
    .pricing-table tbody,
    .pricing-table tfoot,
    .pricing-table tr,
    .pricing-table th,
    .pricing-table td {
    display: block;
    width: 100%;
    }

    .pricing-table thead tr,
    .pricing-table tfoot tr {
    display: none;
    }

    .pricing-table tbody tr {
    margin-bottom: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    }

    .pricing-table tbody td {
    text-align: left;
    padding-left: 50%;
    position: relative;
    border: none;
    border-bottom: 1px solid #eee;
    }

    .pricing-table tbody td:last-child {
    border-bottom: none;
    }

    .pricing-table tbody td:first-child {
    padding-left: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 2px solid #ccc;
    }

    .pricing-table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    }

}
*/


