
/* General body styles */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f8f8ff;
    color: #000;
}

/* Heading styles */
h1 {
    line-height: 1.6;
    font-size: 2.5em;
}

h1:focus {
    outline: 3px solid #000;
}

/* Responsive styles for screens with max-width 600px or min-width 601px */
@media screen and (max-width: 600px), (min-width: 601px) {
    h1 {
        font-size: 2em;
    }

    body {
        font-size: 18px;
    }
}

/* Styled table */
.styled-table,
.styled-table caption {
    border-collapse: collapse;
    margin: 20px auto;
    font-size: 0.9em;
    font-family: sans-serif;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

/* Table header and caption styles */
.styled-table thead tr,
.styled-table caption {
    background-color: #009879;
    color: #000;
    text-align: center;
    font-weight: bold;
}

/* Table cell styles */
.styled-table th,
.styled-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
}

/* Table body row styles */
.styled-table tbody tr {
    border-bottom: 1px solid #ddd;
}

/* Alternate row background color */
.styled-table tbody tr:nth-child(even) {
    background-color: #f3f3f3;
}

/* Last row styles */
.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

/* Active row styles */
.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

/* License and badge container styles */
.license,
.badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Affiliate disclosure styles */
.affiliate-disclosure {
    font-size: 12px;
    font-style: italic;
}

/* Image styles */
img {
    max-width: 100%;
    height: auto;
}

/* Specific style for CoinSip Logo image */
img[alt="CoinSip Logo"] {
    max-width: 468px;
    max-height: 60px;
}

/* Language buttons container styles */
.language-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Language button styles */
.language-buttons a {
    text-decoration: none;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    transition: background-color 0.3s ease;
}

.language-buttons a:hover {
    background-color: #ddd;
}

.language-buttons a.active {
    background-color: #0074D9;
    color: #fff;
    font-weight: bold;
    border: 1px solid #0056a7;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #36393f;
        color: #f5f5f5;
    }

    h1:focus {
        outline: 3px solid #fff;
    }

    .styled-table,
    .styled-table caption {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    }

    .styled-table thead tr,
    .styled-table caption {
        background-color: #444a53;
        color: #f5f5f5;
    }

    .styled-table th,
    .styled-table td {
        border: 1px solid #f5f5f5;
    }

    .styled-table tbody tr:nth-child(even) {
        background-color: #444a53;
    }

    .styled-table tbody tr.active-row {
        color: #7289da;
    }

    .license,
    .badge-container {
        color: #f5f5f5;
    }

    .affiliate-disclosure {
        color: #f5f5f5;
    }

    img {
        filter: brightness(0.8);
    }

    a {
        color: #00bfff;
    }

    a:hover {
        color: #87ceeb;
    }

    a:active {
        color: #1e90ff;
    }

    a:visited {
        color: #6495ed;
    }
}

/* Badge container styles */
.badge-container {
    text-align: center;
}

/* KB Club link styles */
.kb-club {
    display: inline-block;
    text-decoration: none;
    color: #212121;
    font-weight: bold;
    padding: .25rem;
    font-family: sans-serif;
    transition: .4s;
}

.kb-club:hover {
    background: #E1F6F8;
}

/* KB Club button styles */
.kb-club-no-bg,
.kb-club-bg {
    border: 2px solid #26A65B;
    padding: .25rem .5rem;
}

.kb-club-bg {
    background: #26A65B;
    color: #FFFFFF;
}

footer .badge-container .dark-theme-badge {
  background-color: #333333;
  color: #FFFFFF;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

footer .badge-container .dark-theme-badge:hover {
  background-color: #444444 !important;
}

footer .badge-container .dark-theme-badge small {
  color: #A9A9A9;
}
