:root {
        --primary: #0052cc;
        --secondary: #00875a;
        --accent: #f59f00;
        --dark-bg: #172b4d;
        --light-bg: #f4f5f7;
        --table-row: #e6f7ff;
        --text-dark: #172b4d;
        --text-light: #f4f5f7;
        --border: #dfe1e6;
        --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        --success: #36b37e;
        --danger: #ff5630;
        --warning: #ffab00;
        --gradient-primary: linear-gradient(135deg, #0052cc, #00a3bf);
        --gradient-secondary: linear-gradient(135deg, #00875a, #36b37e);
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
        background-color: var(--light-bg);
        color: var(--text-dark);
        line-height: 1.6;
    }

    header {
        background-color: var(--dark-bg);
        color: white;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-actions {
        display: flex;
        align-items: center;
    }

    .search-btn {
        color: white;
        font-size: 1.2rem;
        margin-right: 1rem;
        text-decoration: none;
        transition: color 0.3s;
    }

    .search-btn:hover {
        color: var(--secondary);
    }

    .login-btn,
    .signup-btn {
        color: white;
        text-decoration: none;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .login-btn {
        margin-right: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .login-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .signup-btn {
        background: var(--secondary);
        color: white;
    }

    .signup-btn:hover {
        background: #00a57f;
    }

    .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #059669 !important;
        text-decoration: none;
    }

    .logo span {
        color: var(--secondary);
    }

    nav ul {
        display: flex;
        list-style: none;
    }

    nav ul li {
        margin-left: 1.5rem;
        position: relative;
    }

    nav ul li a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        padding: 0.5rem;
        transition: color 0.3s;
    }

    nav ul li a:hover {
        color: var(--secondary);
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: white;
        min-width: 200px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        z-index: 1;
        border-radius: 4px;
        top: 100%;
        left: 0;
    }

    .dropdown-content a {
        color: var(--text-dark);
        padding: 0.75rem 1rem;
        display: block;
        text-decoration: none;
        transition: background-color 0.3s;
    }

    .dropdown-content a:hover {
        background-color: var(--light-bg);
        color: var(--primary);
    }

    nav ul li:hover .dropdown-content {
        display: block;
    }

    /* menu styles */
    /* Main header nav container */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 30px;
  color: white;
  position: relative;
  z-index: 1000;
}

/* Logo styling */
.header-nav .logo {
  font-size: 22px;
  font-weight: bold;
  color: #00d395;
  text-decoration: none;
  margin-right: 40px;
}

/* Main nav menu */
.main-nav {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Main nav items */
.main-nav > li {
  position: relative;
}

/* Main nav links */
.main-nav > li > a {
  color: white;
  font-size: 15px;
  text-decoration: none;
  padding: 6px 0;
  display: block;
  transition: color 0.3s ease;
}

/* Hover effect for main nav */
.main-nav > li > a:hover {
  color: #00d395;
}

/* Submenu container */
.main-nav li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #263142;
  padding: 12px 0;
  border-radius: 4px;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

/* Show submenu on hover */
.main-nav li:hover > ul {
  display: block;
}

/* Submenu items */
.main-nav li ul li {
  padding: 0;
}

.main-nav li ul li a {
  display: block;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

/* Hover effect for submenu */
.main-nav li ul li a:hover {
  background-color: #00d395;
  color: #000;
  border-left: 3px solid #fff;
}

/* CTA Button */
.cta-button {
  background: #00d395;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #00c187;
}

/* 🔽 Bonus: Arrow indicator for parent menu items */
.main-nav > li.menu-item-has-children > a::after {
  content: " ▼";
  font-size: 12px;
  margin-left: 5px;
  color: #aaa;
  transition: transform 0.3s;
}

.main-nav > li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
  color: #00d395;
}

/* Search form container */
.search-form {
    display: flex;
    align-items: center; /* This is key to vertically aligning the input and button */
    /* You can also adjust the gap between the elements */
    /* gap: 6px; */
}

/* Search input field */
.search-form .search-field {
  flex: 1;
  padding: 8px 10px;
  border: none;
  background-color: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
  border: 1px solid #059669;
}

/* Placeholder styling */
.search-form .search-field::placeholder {
  color: #aaa;
}

/* Search button */
.search-submit {
    background-color: #00d395;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
    /* margin-left: 6px; /* You can remove this and use gap on the parent element */
}

/* Screen reader text (hide visually, but accessible) */
.search-form .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Optional: Icon inside button (font awesome or SVG) */
.search-form .search-submit::before {
  content: '🔍'; /* replace with icon if needed */
  font-size: 16px;
  color: #000;
}

/* Hover effect */
.search-form .search-submit:hover {
  background-color: #00c187;
}

/* Responsive tweak */
@media screen and (max-width: 500px) {
  .search-form {
    max-width: 100%;
  }
}

/* menu styles */

/* Container Styling */
.wpcf7 {
  max-width: 600px;
  margin: 2rem auto;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
}

/* Headings */
.wpcf7 h2, .wpcf7 legend {
  font-size: 1.75rem;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
}

/* Labels */
.wpcf7 label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  color: #111827;
}

/* Inputs & Textareas */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f9fafb;
  transition: border-color 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Submit Button */
.wpcf7 input[type="submit"] {
  background-color: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #1e40af;
}

/* Spinner fix (optional) */
.wpcf7-spinner {
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: middle;
}


.contact-info {
  flex: 1;
  min-width: 280px;
  padding: 2rem;
  background-color: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', sans-serif;
  color: #1f2937;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1e3a8a;
}

.contact-info p {
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  padding-left: 1.5rem;
  position: relative;
}

.contact-info li::before {
  content: "📍";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
}

.contact-info li:nth-child(1)::before {
  content: "✉️";
}
.contact-info li:nth-child(2)::before {
  content: "📞";
}
.contact-info li:nth-child(3)::before {
  content: "📍";
}


/* General Table Styling */
/* Table container (optional for spacing) */
#crypto-table_wrapper {
  margin-top: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Table structure */
#crypto-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
}

/* Header row */
#crypto-table thead th {
  background-color: #006fa7;
  color: #fffafb;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}

/* Table rows */
#crypto-table tbody tr {
  transition: background-color 0.2s;
}

#crypto-table tbody tr:hover {
  background-color: #f3f4f6;
}

/* Table cells */
#crypto-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #374151;
}

/* Symbol column */
#crypto-table td:first-child {
  font-weight: 600;
  color: #111827;
}

/* Price and volume columns */
#crypto-table td:nth-child(2),
#crypto-table td:nth-child(4),
#crypto-table td:nth-child(5) {
  color: #0f172a;
}

/* Trend chart */
.trend-chart {
  display: block;
  width: 70px !important;
  height: 30px !important;
  max-width: 70px;
  max-height: 30px;
  margin: auto;
}
/* Add spacing around the DataTable controls */
.dataTables_length,
.dataTables_filter {
  margin-bottom: 15px;
  margin-top: 10px;
}

/* Optional: align spacing between them */
.dataTables_wrapper .dataTables_length {
  float: left;
  margin-left: 10px;
}

.dataTables_wrapper .dataTables_filter {
  float: right;
  margin-right: 10px;
}

/* Positive and negative percentage styling */
.positive {
  color: #16a34a; /* emerald-600 */
  font-weight: 600;
}

.negative {
  color: #dc2626; /* red-600 */
  font-weight: 600;
}

/* Zebra striping */
#crypto-table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

/* Pagination and search input */
.dataTables_wrapper .dataTables_filter input {
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 13px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 6px 10px;
  margin: 2px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  color: #111827;
  cursor: pointer;
  font-size: 13px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #3b82f6;
  color: #fff !important;
  border-color: #3b82f6;
}

/* Entries dropdown */
.dataTables_wrapper .dataTables_length select {
  border-radius: 4px;
  padding: 4px 6px;
  border: 1px solid #d1d5db;
  font-size: 13px;
}


/* Exchange review css */
.exchange-review .banner-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    background-color: var(--light-bg);
}

.exchange-review .trust-score {
    float: right;
    position: relative;
    margin-top: -80px;
    margin-right: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.exchange-review h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* .exchange-review h2 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
} */


/* .exchange-review .toc {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
} */
 

.exchange-review .pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.exchange-review .pros h2 {
    color: #27ae60;
    margin-top: 0;
}

.exchange-review .cons h2 {
    color: #e74c3c;
    margin-top: 0;
}

.exchange-review .pros ul,
.exchange-review .cons ul {
    padding-left: 1.5rem;
}

.exchange-review .pros li,
.exchange-review .cons li {
    margin-bottom: 0.5rem;
}



.exchange-review tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.exchange-review .faq-item {
    margin-bottom: 1.5rem;
}

.exchange-review .faq-question {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.exchange-review .step-by-step {
    counter-reset: steps;
    margin-bottom: 2rem;
}

.exchange-review .author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 1.5rem;

}

.exchange-review .author-info h4 {
    margin-top: 0;
}

.exchange-review .suggested-articles {
    margin: 2rem 0;
}

.exchange-review .article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.exchange-review .article-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.exchange-review .article-card:hover {
    transform: translateY(-5px);
}

.exchange-review .article-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background-color: #ddd;
}

.exchange-review .article-content {
    padding: 1rem;
}

.exchange-review .article-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.faq-item {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-answer {
    display: none;
    padding: 0 10px 15px;
    font-size: 1rem;
    color: #333;
}

.faq-item.active .faq-answer {
    display: block;
}
.faq-answer.active{
    display: block;
}

.faq-question .icon {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
    content: "-";
    transform: rotate(180deg);
}

.faq-item.active .faq-question .icon::before {
    content: "–";
}

.faq-question .icon::before {
    content: "+";
}


/* Container Section */
.exchange-review-listing {
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.review-section-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* Cards Wrapper */
.review-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Individual Review Card */
.review-card {
    background-color: #fff;
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

/* Thumbnail Image */
.review-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Card Body */
.review-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Title with Link */
.review-title a {
    font-size: 18px;
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}

.review-title a:hover {
    text-decoration: underline;
}

/* Meta Info */
.review-meta {
    font-size: 14px;
    color: #666;
}

/* Excerpt */
.review-content {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}
/* Responsive styles */
@media (max-width: 768px) {
    .exchange-review .container {
        grid-template-columns: 1fr;
    }

    .exchange-review main,
    .exchange-review aside {
        grid-column: 1;
    }

    .exchange-review .pros-cons {
        grid-template-columns: 1fr;
    }

    .exchange-review h1 {
        font-size: 2rem;
    }

    .exchange-review h2 {
        font-size: 1.5rem;
    }

    .review-cards-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .review-card {
        width: 90%;
    }
     .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    float: none;
    text-align: center;
    margin-bottom: 10px;
  }
}

.nav-search-form {
  display: flex;
  align-items: center;
  background-color: #1c2636;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 2px 5px;
  margin-left: 20px;
}

.search-input {
    /* Add styles for your input field */
    border: 2px solid #00d395;
    padding: 8px 12px;
    border-radius: 4px;
    /* You may need to remove any margins that might cause misalignment */
    margin: 0;
}

.nav-search-input::placeholder {
  color: #aaa;
}

.nav-search-button {
  background-color: #00b386;
  border: none;
  padding: 8px 12px;
  color: white;
  cursor: pointer;
  border-radius: 3px;
  font-weight: bold;
  margin-left: 5px;
  transition: background 0.3s ease;
}

.nav-search-button:hover {
  background-color: #009e74;
}


/* search page styles */
.search-results-section {
  padding: 40px 20px;
}

.search-title {
  font-size: 28px;
  margin-bottom: 30px;
}

.search-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-result-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.search-result-item:hover {
  background: #f0f9ff;
  border-color: #38bdf8;
}

.search-result-item h2 {
  margin: 0 0 10px;
}

.search-result-item a {
  color: #2563eb;
  text-decoration: none;
}

.search-result-item a:hover {
  text-decoration: underline;
}
.crypto-positive { color: #16a34a; font-weight: bold; }
.crypto-negative { color: #dc2626; font-weight: bold; }
img.trading-icon {
    width: 20px;
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 50px;
}

/* General Table Styling */
#exchange-reviews-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

/* Table Header */
#exchange-reviews-table thead th {
    background-color: #f1f5f9;
    color: #111827;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid #e5e7eb;
}

/* Table Rows */
#exchange-reviews-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

#exchange-reviews-table tbody tr:hover {
    background-color: #f3f4f6;
}

/* Table Cells */
#exchange-reviews-table td {
    padding: 12px 16px;
    color: #1f2937;
    vertical-align: middle;
    font-size: 14px;
}

/* Exchange Logo */
.exchange-logo {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Read Review Button */
#custom-exchange-table {
    overflow-x: auto;
    padding-bottom: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#custom-exchange-table .custom-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    font-size: 14px;
    margin-bottom: 1.5rem;
}

#custom-exchange-table .custom-table thead th {
    background-color: #f9fbfd;
    color: #111827;
    font-weight: 600;
    padding: 12px 10px;
    border-bottom: 2px solid #e5e7eb;
    text-align: left;
    white-space: nowrap;
}

#custom-exchange-table .custom-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

/* Exchange logo image */
#custom-exchange-table .exchange-logo {
        margin: 0px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
}

/* Read review link */
#custom-exchange-table a.read-review {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

#custom-exchange-table a.read-review:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* DataTables Pagination (optional) */
#custom-exchange-table .dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 4px 10px;
    margin: 0 2px;
    background-color: #e0e7ff;
    border: none;
    border-radius: 4px;
    color: #1e40af;
    cursor: pointer;
    transition: background 0.3s;
}

#custom-exchange-table .dataTables_wrapper .dataTables_paginate .paginate_button.current,
#custom-exchange-table .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #3b82f6;
    color: white !important;
}

#custom-exchange-table .dataTables_wrapper .dataTables_length,
#custom-exchange-table .dataTables_wrapper .dataTables_filter {
    margin-bottom: 1rem;
}

#custom-exchange-table .custom-table th,
#custom-exchange-table .custom-table td {
    white-space: nowrap;
}

ul {
    margin-left: 20px;
}
