:root, [data-bs-theme=light]  {
    /* Fő színek felülírása */
    --tblr-primary: #3E7CB1;
    --tblr-primary-rgb: 44, 62, 80;
    --tblr-primary-darken: #1A212E;
    --tblr-secondary: #3E7CB1;
    --tblr-secondary-rgb: 149, 165, 166;
    
    /* Kiegészítő színek */
    --tblr-success: #27ae60;
    --tblr-success-rgb: 39, 174, 96;
    
    --tblr-danger: #e74c3c;
    --tblr-danger-rgb: 231, 76, 60;
    
    --tblr-warning: #f1c40f;
    --tblr-warning-rgb: 241, 196, 15;
    
    --tblr-info: #3498db;
    --tblr-info-rgb: 52, 152, 219;
}

/* Navbar nav link szín light módban */
[data-bs-theme=light] .navbar-nav {
    --tblr-nav-link-color: #374151;
}

/* SportingGods badge stílusok */
.badge-spg {
    background-color: #3E7CB1;
    color: #ffffff !important;
    text-decoration: none;
}

.badge-spg2 {
    background-color: #1A212E;
    color: #ffffff !important;
    text-decoration: none;
}

/* Protipsters badge stílusok */
.badge-pt {
    background-color: #e19900;
    color: #ffffff !important;
    text-decoration: none;
}

.badge-pt2 {
    background-color: #2f4858;
    color: #ffffff !important;
    text-decoration: none;
}

/* Hover effektek */
.badge-spg:hover,
.badge-spg2:hover,
.badge-pt:hover,
.badge-pt2:hover {
    opacity: 0.9;
    transition: opacity 0.2s ease-in-out;
    color: #ffffff !important;
}

/* Badge méretezések */
.badge-lg {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.badge-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* Badge hover effektek tipp értékelésnél */
.badge-clickable {
    cursor: pointer;
    transition: filter 0.2s ease;
}

.badge-clickable:hover {
    filter: brightness(0.85);
}



/* Telegram előnézet stílusok */
.telegram-preview {
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.telegram-message {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-bottom: 10px;
    overflow: hidden;
}

.telegram-message-header {
    background-color: #5682a3;
    color: white;
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.telegram-logo {
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
}

.telegram-logo:after {
    content: "";
    position: absolute;
    top: 7px;
    left: 7px;
    width: 10px;
    height: 10px;
    background-color: #5682a3;
    clip-path: polygon(0 100%, 100% 50%, 0 0);
}

.telegram-channel {
    font-weight: 500;
    font-size: 16px;
}

.telegram-message-content {
    padding: 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    white-space: pre-wrap;
}

.telegram-buttons {
    padding: 0 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.telegram-button {
    display: block;
    padding: 8px 12px;
    background-color: #f2f2f2;
    border-radius: 4px;
    color: #3a8dde;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    transition: background-color 0.2s;
}

.telegram-button:hover {
    background-color: #e6e6e6;
}

/* Sötét mód támogatás */
[data-bs-theme="dark"] .telegram-message {
    background-color: #292930;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .telegram-message-content {
    color: #e0e0e0;
}

[data-bs-theme="dark"] .telegram-button {
    background-color: #383843;
    color: #5bb8ff;
}

[data-bs-theme="dark"] .telegram-button:hover {
    background-color: #42424f;
}


/* to top button*/
#toTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: none;
    background: #3d3d3b;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    z-index: 100;
    transition: all 0.5s;
  }
  #toTop:hover {
    background: #3E7CB1;
    color: white;
  }
/* Dark mode */
[data-bs-theme=dark] {
    --tblr-secondary: #3E7CB1;
    --tblr-secondary-rgb: 255, 255, 255;
}
[data-bs-theme=dark] .navbar-nav {
    --tblr-nav-link-color: #ffffff;
}

[data-bs-theme=dark] .btn-outline-secondary {
    --tblr-btn-color: #aba7a7;
    --tblr-btn-border-color: #aba7a7;
    --tblr-btn-hover-color: #1A212E;
    --tblr-btn-hover-bg: #ffffff;
    --tblr-btn-hover-border-color: #ffffff;
}
[data-bs-theme=dark] .btn-outline-secondary:hover {
    --tblr-btn-hover-color: #1A212E;
    --tblr-btn-hover-bg: #ffffff;
    --tblr-btn-hover-border-color: #ffffff;
}
[data-bs-theme=dark] .btn-ghost-secondary {
    --tblr-btn-color: #aba7a7;
    --tblr-btn-hover-color: #aba7a7;
    --tblr-btn-hover-bg: rgba(255, 255, 255, 0.1);
}

/* Táblázat cella padding felülírása */
.markdown>table>:not(caption)>*>*, .table>:not(caption)>*>* {
    padding: .5rem .5rem;
}