/* ========================== */
/*        Allgemeines         */
/* ========================== */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f4f4f4;
}

/* ========================== */
/*         Menüleiste         */
/* ========================== */

.topbar {
    background-color: #212529;
    color: white;
    padding: 15px 0 15px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.menu {
    display: flex;
    gap: 15px;
}




.logout-btn {
    background-color: #dc3545;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-left: auto;
    margin-right: 15px;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
}

.menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Abstand für den Inhalt unter der Menüleiste */
.mc-dashboard-container {
    margin-top: 60px; /* Offset, damit nichts unter die Topbar rutscht */
    padding: 15px; /* Links & rechts Padding für den Inhalt */
}

/* ========================== */
/*         Logout-Button      */
/* ========================== */



.logout-btn:hover {
    background-color: #bd2130;
}

/* ========================== */
/*        Login-Seite         */
/* ========================== */

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #cce7ff;
    padding: 20px;
}

.login-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Banner für Fehlermeldungen */
.login-banner {
    background-color: #dc3545;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.banner-error {
    display: none;
    background-color: #dc3545;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.banner-error.visible {
    display: block;
}

.banner-error.invisible {
    display: none;
}

.banner-success {
    display: none;
    background-color: #4aba68;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.banner-success.visible {
    display: block;
}

.banner-success {
    display: none;
    background-color: #4aba68;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.banner-success.visible {
    display: block;
}

.banner-warning {
    display: none;
    background-color: #ffc107; /* Gelber Hintergrund */
    color: #212529;            /* Dunkle Schrift für guten Kontrast */
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.banner-warning.visible {
    display: block;
}


/* Eingabefelder */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Login-Button */
.btn-login {
    background-color: #28a745;
    color: white;
    font-size: 18px;
    padding: 12px;
    border-radius: 5px;
    width: 100%;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.btn-login:hover {
    background-color: #218838;
}

/* Footer */
.login-footer {
    margin-top: 20px;
    font-size: 14px;
    color: #333;
}

/* ========================== */
/*       Responsive Fixes     */
/* ========================== */

@media (max-width: 768px) {
    .menu {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .menu a {
        padding: 6px 10px;
    }
}


/* ========================== */
/*         Banner            */
/* ========================== */

.mc-banner {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    color: white;
}

.success { background-color: #28a745; }
.warning { background-color: #ffc107; color: black; }
.danger { background-color: #dc3545; }

/* ========================== */
/*         Forms             */
/* ========================== */

.mc-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.mc-input {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* On/Off Switch */
.mc-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.mc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mc-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 20px;
    transition: 0.3s;
}

.mc-switch input:checked + .mc-slider {
    background-color: #28a745;
}

.mc-slider::before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.mc-switch input:checked + .mc-slider::before {
    transform: translateX(20px);
}

/* Slider */
.mc-slider-input {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: #ddd;
    border-radius: 5px;
}

.mc-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #28a745;
    border-radius: 50%;
    cursor: pointer;
}

/* ========================== */
/*         Cards              */
/* ========================== */

.mc-card-container {
    display: flex;
    gap: 15px;
}

.mc-card {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

@media (max-width: 768px) {
  .mc-card-container {
    flex-direction: column;    /* ❗️ Cards untereinander */
  }

}

/* ========================== */
/*    Farbige Cards           */
/* ========================== */

.mc-card-blue {
    background: #d9ebff; /* Leichtes Blau */
    color: #003366; /* Dunklerer Blauton für Kontrast */
}

.mc-card-orange {
    background: #ffead6; /* Leichtes Orange */
    color: #995c00; /* Dunkleres Orange für Kontrast */
}

.mc-card-gray {
    background: #e6e6e6; /* Leichtes Grau */
    color: #4d4d4d; /* Dunkleres Grau für Kontrast */
}

.mc-card-green {
    background: #d4edda; /* Leichtes Grün */
    color: #155724; /* Dunkleres Grün für Kontrast */
}

.mc-card-red {
    background: #f8d7da; /* Leichtes Rot */
    color: #721c24; /* Dunkleres Rot für Kontrast */
}

.mc-table-container {
    overflow-x: auto;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mc-table {
    width: 100%;
    border-collapse: collapse;
}

.mc-table th, .mc-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.mc-table th {
    background: #f4f4f4;
    text-align: left;
}
.table-messages-dashboard-container {
    overflow-x: auto;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.table-messages-dashboard {
    width: 100%;
    border-collapse: collapse;
}

.table-messages-dashboard th,
.table-messages-dashboard td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.table-messages-dashboard th {
    background: #f4f4f4;
    text-align: left;
}

.table-messages-dashboard tr:hover {
    background-color: #f9f9f9;
}

.table-messages-dashboard td {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* Kein Umbruch in Zellen */
}


.table-transactions-settings-container {
    overflow-x: auto;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.table-transactions-settings {
    width: 100%;
    border-collapse: collapse;
}

.table-transactions-settings th,
.table-transactions-settings td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.table-transactions-settings th {
    background: #f4f4f4;
    text-align: left;
}

.table-transactions-settings tr:hover {
    background-color: #f9f9f9;
}

.table-transactions-settings td {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* Kein Umbruch in Zellen */
}

.mc-badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.success { background: #28a745; color: white; }
.danger { background: #dc3545; color: white; }

.mc-news-container {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    max-height: 300px;
    overflow-y: auto; 
}

.mc-news-item {
    margin-bottom: 15px;
}

.mc-news-title {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #333;
}

.mc-news-date {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}

.mc-news-text {
    font-size: 1em;
    color: #555;
    line-height: 1.4;
    white-space: pre-wrap;
}



/* Buttons */
.mc-btn {
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    border: none;
}

.warning { background: #ffc107; }
.danger { background: #dc3545; color: white; }


/* ========================== */
/*         Modals             */
/* ========================== */

.mc-modal {
    display: none; /* Versteckt, bis es geöffnet wird */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.mc-modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    text-align: center;
    position: relative;
}

/* Modal schließen */
.mc-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
}

/* Container für Titel und Button */
.mc-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.header-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-buttons .mc-btn {
  flex: 1 1 auto;
  min-width: 130px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .mc-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-buttons {
    justify-content: flex-start;
    width: 100%;
  }

  .header-buttons .mc-btn {
    width: 100%;
    flex: none;
  }
}

.mc-dashboard-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(244, 244, 244, 0.9);
    backdrop-filter: blur(5px);
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 0.85em;
    color: #555;
    z-index: 100;
}

.mc-dashboard-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}






.add-gateway {
    background: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.add-gateway:hover {
    background: #0056b3;
}

.add-device {
    background: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.add-device:hover {
    background: #0056b3;
}

/* Hover-Effekt für klickbare Zeilen */
.mc-table tbody tr {
    cursor: pointer;
    transition: background 0.2s;
}

.mc-table tbody tr:hover {
    background: #f1f1f1;
}

.inactive-row {
  color: gray;
}

.error-row {
  background-color: rgba(255, 0, 0, 0.1); /* leichtes Rot */
}
.ok-row {
  background-color: rgba(0, 255, 0, 0.1); /* leichtes Grün */
}

/* Allgemeines Container-Layout */
.device-container {
    margin: auto;
    padding: 20px;
}

.device-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Button-Leiste */
.device-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.device-btn {
    background: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    text-decoration: none; /* Entfernt den Unterstrich */
    font-size: 13px;
}

.device-btn:hover {
    background-color: #0056b3;
}

.help-btn {
    background: #e0e0e0; /* helles Grau */
    color: #333;          /* dunkles Grau für guten Kontrast */
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
}

.help-btn:hover {
    background-color: #cccccc; /* etwas dunkleres Grau beim Hover */
}


/* Reihen und Spalten */
.device-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.device-column {
    flex: 0 0 49%;         /* Kein Wachsen, keine Schrumpfung, genau 50 % */
    max-width: 49%;
    box-sizing: border-box;
}

/* Mobile Anpassung: Spalten untereinander */
@media (max-width: 768px) {
    .device-row {
        flex-direction: column;
    }

    .device-column {
        width: 100%;
        max-width: 100%;
        flex: 1 0 100%;
    }
}


/* Box-Layout für Inhalte */
.device-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Einheitliche Label-Formatierung */
.device-box label {
    font-weight: bold;
    font-size: 13px;
    margin-top: 10px;
}

/* Labels links neben dem Feld */
.device_field_horizontal {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 97%;
}

.device_field_horizontal label {
    text-align: right;
    display: flex;
    padding-bottom: 8px;
    font-size: 15px;
    align-items: center;
}

.device_field_horizontal input {
    flex: 1;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #e9ecef;
    font-family: monospace;
    font-size: 14px;
}

.device_field_horizontal span {
    flex: 1;
    font-size: 14px;
}

/* Labels oberhalb des Feldes */
.device_field_vertical {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.device_field_vertical label {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
}

.device_field_vertical input {
    width: 97%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #e9ecef;
    font-family: monospace;
    font-size: 14px;
}

/* Badges für ON/OFF */
.device-badge {
    display: inline-block;
    padding: 6px 12px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 14px;
}

.device-success {
    background-color: #28a745;
    color: white;
}

.device-error {
    background-color: #dc3545;
    color: white;
}

/* HEX- und JSON-Boxen */
.device-hex-box {
    background: #000;
    color: #0f0;
    font-family: monospace;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    white-space: nowrap;
}

.device-json-box {
    background: #fff;
    color: #000;
    font-family: monospace;
    padding: 10px;
    border-radius: 4px;
    overflow-y: auto;
    max-height: 300px;
    border: 1px solid #ccc;
}

/* Modal */
.device-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.device-modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    text-align: center;
}

.device-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 18px;
    cursor: pointer;
}

.device-checkbox-container {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.device-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: bold;
}

.device-checkbox input {
    width: 16px;
    height: 16px;
}

.device-dropdown {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #e9ecef;
    cursor: pointer;
    font-size: 14px;
}


.device-form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.device-btn-save {
    background-color: #28a745; /* Grün */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.device-btn-save:hover {
    background-color: #218838;
}



.device-btn-delete {
    background-color: #dc3545; /* Rot */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.device-btn-delete:hover {
    background-color: #c82333;
}

.device-btn-reset {
    background-color: #ff9800;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.device-btn-reset:hover {
    background-color: #e68900;
}


.code-editor {
    width: 95%;
    height: 400px;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
    background-color: #1e1e1e;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 5px;
    resize: both;
    overflow: auto; 
    white-space: pre;
}

.code-editor::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.code-editor::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.code-editor::-webkit-scrollbar-track {
    background: #333;
}

.code-editor:focus {
    outline: none;
    border-color: #007bff;
}


.decoder-view {
    width: 95%;
    height: 200px;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
    background-color: #1e1e1e;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 5px;
    resize: both;
    overflow: auto; 
    white-space: pre;
}

.decoder-view::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.decoder-view::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.decoder-view::-webkit-scrollbar-track {
    background: #333;
}

.decoder-view:focus {
    outline: none;
    border-color: #007bff;
}

.icon-help {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<circle cx='12' cy='12' r='11' fill='none' stroke='currentColor' stroke-width='2'/>\
<text x='12' y='16' text-anchor='middle' font-size='14' fill='currentColor' font-family='sans-serif' font-weight='bold'>?</text>\
</svg>");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  color: #007bff;
  cursor: pointer;
}

.help-tooltip {
  position: absolute;
  z-index: 1000;
  background: #333;
  color: #fff;
  font-size: 0.75em;
  padding: 6px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  max-width: 250px;
  display: none;
  white-space: normal;
}

.site-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

.site-heading {
  font-size: 2em;
  margin-bottom: 1em;
  color: #333;
}

.site-section {
  margin-bottom: 2em;
}

.site-subheading {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  color: #555;
}

.site-link {
  color: #007bff;
  text-decoration: none;
}

.site-link:hover {
  text-decoration: underline;
}

.site-list {
  list-style-type: disc;
  padding-left: 20px;
}

.site-list li {
  margin-bottom: 0.5em;
}

.appclient-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.appclient-box {
  flex: 1;
}

.appclients-list {
  margin-top: 0.5rem;
}

.version-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.85em;
  font-weight: bold;
  color: #fff; /* weiße Schrift */
  background-color: #007bff; /* schöner Blauton */
  border-radius: 4px; /* abgerundete Ecken */
}

.general-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.85em;
  font-weight: bold;
  color: #fff; /* weiße Schrift */
  background-color: #B197FC; /* schöner Blauton */
  border-radius: 4px; /* abgerundete Ecken */
}

.icon-check {
  color: green;
  width: 1em;
  height: 1em;
  display: inline-block;
  background-image: url('data:image/svg+xml;utf8,<svg fill="currentColor" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.485 1.929l-7.071 7.071-3.536-3.536-1.414 1.414 4.95 4.95 8.485-8.485z"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}

.icon-help {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<circle cx='12' cy='12' r='11' fill='none' stroke='currentColor' stroke-width='2'/>\
<text x='12' y='16' text-anchor='middle' font-size='14' fill='currentColor' font-family='sans-serif' font-weight='bold'>?</text>\
</svg>");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  color: #007bff; /* Standardfarbe (blau), kann überschrieben werden */
}

.icon-logout {
  width: 1em;
  height: 1em;
  display: inline-block;
  background-image: url('data:image/svg+xml;utf8,<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16 13v-2H7V8l-5 4 5 4v-3h9zM20 3H12v2h8v14h-8v2h8a2 2 0 002-2V5a2 2 0 00-2-2z"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}

.help-section {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.help-subheading {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 15px;
}

.help-block {
    margin-bottom: 25px;
}

.help-step-title {
    font-size: 1.2em;
    color: #444;
    margin-bottom: 8px;
}

.help-code {
    background: #f8f8f8;
    padding: 10px;
    font-family: monospace;
    border-left: 3px solid #ccc;
    overflow-x: auto;
}

.help-image {
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.help-footer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-size: 0.95em;
    color: #666;
}
