    :root {
        --container-bg-primary: #202020;
        --container-bg-secondary: #2d2d2d;
        --container-bg-tertiary: #3d3d3d;
        --text-color-primary: #e0e0e0;
        --accent-color: #B28427;
        
        /* Log status colors */
        --color-success: #2ecc71;
        --color-error: #e74c3c;
        --color-highlight: #f1c40f;
        
        /* Log entry backgrounds */
        --log-bg-header: rgba(255, 255, 255, 0.1);
        --log-bg-hover: rgba(255, 255, 255, 0.05);
        --log-bg-hover-darker: rgba(255, 255, 255, 0.2);
        
        /* Transaction styling colors */
        --transaction-header-bg: var(--container-bg-tertiary);
        --transaction-row-border: 1px solid var(--container-bg-tertiary);
        --transaction-row-odd-bg: var(--container-bg-secondary);
        --transaction-row-even-bg: #333333;
        --transaction-row-hover-bg: #3a3a3a;
    }
    
    a {
        color: #2ad;
    }
    
    body { 
        background-color: #323232;
    }
    
    .back-button {
        display: inline-flex;
        align-items: center;
        padding: 6px 12px;
        background: var(--container-bg-tertiary);
        color: var(--text-color-primary);
        text-decoration: none;
        border-radius: 4px;
        margin-bottom: 10px;
        transition: background 0.3s;
    }
    .back-button:hover {
        background: #4d4d4d;
    }
    .back-button:before {
        content: "\2190";
        margin-right: 5px;
    }
    .main-container {
        max-width: 100%;
        margin: 0 auto;
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
        background: var(--container-bg-primary);
        border-radius: 8px;
        margin-bottom: 15px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        color: var(--text-color-primary);
        box-sizing: border-box;
    }
    .account-container {
        max-width: 100%;
        margin: 0 auto;
        padding: 15px;
        background: var(--container-bg-primary);
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        color: var(--text-color-primary);
    }
   
    .tekstheader {
        font-size: 16px;
        font-weight: bold;
        color: var(--text-color-primary);
        margin-bottom: 10px;
        display: block;
    }
    
        .navbar {
            display: flex;
            flex-wrap: nowrap; /* Prevent wrapping to new line */
            margin-bottom: 8px;
            overflow-x: auto; /* Allow horizontal scrolling if needed */
            padding-bottom: 5px; /* Space for potential scrollbar */
            width: 100%;
        }
        .navbar-tab {
            background: #323232;
            color: #fff;
            border: 1px solid #1f1f1f;
            padding: 7px 5px;
            text-decoration: none;
            flex: 1 0 auto; /* All tabs take equal width */
            text-align: center;
            transition: background 0.3s;
            white-space: nowrap; /* Prevent text wrapping */
            min-width: 0; /* Allow shrinking below content size */
        }
        .navbar-tab:hover {
            background:  rgba(255, 255, 255, 0.2);
        }
        .navbar-tab.active {
            background:  rgba(255, 255, 255, 0.2);
        }
        
        .tabs {
            display: flex;
            flex-wrap: nowrap; /* Prevent wrapping to new line */
            margin-bottom: 20px;
            overflow-x: auto; /* Allow horizontal scrolling if needed */
            padding-bottom: 5px; /* Space for potential scrollbar */
            width: 100%;
        }
        .tab {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border-radius: 5px;
            padding: 10px 5px;
            text-decoration: none;
            flex: 1 0 auto; /* All tabs take equal width */
            text-align: center;
            transition: background 0.3s;
            white-space: nowrap; /* Prevent text wrapping */
            min-width: 0; /* Allow shrinking below content size */
        }
        .tab:hover {
            background:  rgba(255, 255, 255, 0.2);
        }
        .tab.active {
            background:  rgba(255, 255, 255, 0.2);
        }
        
        
        /*/ Tab Container met links zoals in object status / Obay /*/
        .tab-container {
                display: flex;
                overflow-x: auto;
                margin-bottom: 15px;
                border-bottom: 1px solid #444;
              }
              .tab-button {
                padding: 10px 15px;
                background: none;
                border: none;
                color: #ccc;
                cursor: pointer;
                font-size: 11px;
                white-space: nowrap;
                transition: all 0.3s;
              }
              .tab-button:hover, .tab-button.active {
                color: #ffd700;
                border-bottom: 3px solid #ffd700;
              }
              
    .errorbold {
        color: #e74c3c;
        font-weight: bold;
        padding: 8px 10px;
        background-color: rgba(231, 76, 60, 0.1);
        border-radius: 5px;
        display: block;
        margin: 8px 0;
    }
    .nav-cards {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }
    .nav-card {
        background: var(--container-bg-secondary);
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
        width: 100%;
        display: flex;
        text-decoration: none;
    }
    .nav-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        background: var(--container-bg-tertiary);
    }
    .nav-card-icon {
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav-card-content {
        padding: 10px;
        flex-grow: 1;
    }
    .nav-card-title {
        font-weight: bold;
        font-size: 13px;
        margin-bottom: 5px;
        color: #fff;
    }
    .nav-card-desc {
        color: #aaa;
        font-size: 11px;
    }
    .form-section {
        margin-bottom: 15px;
        background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
        border-radius: 8px;
        padding: 12px;
    }
    .form-section h3 {
        margin-top: 0;
        margin-bottom: 10px;
        font-size: 16px;
        border-bottom: 1px solid #444;
        padding-bottom: 8px;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .form-control {
        width: 100%;
        height: 25px;
        padding: 8px 10px;
        border: 1px solid #444;
        border-radius: 5px;
        background: #333;
        color: #fff;
    }
    
    /* Fix for select elements in Chrome */
    select.form-control {
        height: auto;
        padding: 4px 8px;
        line-height: 1.2;
        appearance: menulist;
        -webkit-appearance: menulist;
    }
    .btn {
        display: inline-block;
            padding: 10px 24px;
            margin: 5px;
            background: linear-gradient(rgb(68, 68, 68), rgb(45, 45, 45)) repeat scroll 0% 0% rgb(51, 51, 51);
            color: white;
            border: 1px solid rgb(17, 17, 17);
            border-radius: 6px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
            font-weight: bold;
    }
    .btn.small {
        display: inline-block;
            padding: 8px 20px;
            margin: 5px;
            background: linear-gradient(rgb(68, 68, 68), rgb(45, 45, 45)) repeat scroll 0% 0% rgb(51, 51, 51);
            color: white;
            border: 1px solid rgb(17, 17, 17);
            border-radius: 6px;
            font-size: 10px;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
            font-weight: bold;
    }
    .btn.med {
        display: inline-block;
            padding: 9px 22px;
            margin: 5px;
            background: linear-gradient(rgb(68, 68, 68), rgb(45, 45, 45)) repeat scroll 0% 0% rgb(51, 51, 51);
            color: white;
            border: 1px solid rgb(17, 17, 17);
            border-radius: 6px;
            font-size: 11px;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
            font-weight: bold;
    }
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    .form-actions {
        margin-top: 15px;
        text-align: center;
    }
    .pagination {
        display: flex;
        justify-content: center;
        margin: 15px 0;
        gap: 5px;
      }
      
      .pagination a {
        display: inline-block;
        padding: 5px 10px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        text-decoration: none;
        color: #fff;
      }
      
      .pagination a.active {
        background: rgba(255, 255, 255, 0.3);
      }
      
      .pagination a:hover {
        background: rgba(255, 255, 255, 0.2);
      }
      
      .pagination a.pagination-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px 8px;
        font-size: 12px;
      }
      
      .pagination a.pagination-nav i {
        font-style: normal;
      }
      
      .pagination a.pagination-nav i.fa-chevron-left:before {
        content: "\00AB"; /* HTML entity for « (left-pointing double angle quotation mark) */
      }
      
      .pagination a.pagination-nav i.fa-chevron-right:before {
        content: "\00BB"; /* HTML entity for » (right-pointing double angle quotation mark) */
      }
    /* Custom radio button styling */
    .poll-radio {
        appearance: none;
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        border: 2px solid #777;
        border-radius: 50%;
        outline: none;
        margin-right: 5px;
        position: relative;
    }
    .poll-radio:checked {
        border-color: var(--accent-color);
    }
    .poll-radio:checked::before {
        content: "";
        position: absolute;
        top: 3px;
        left: 3px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--accent-color);
    }
    
    /* Custom radio button styling for reward cards */
    .reward-radio {
        appearance: none;
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        border: 2px solid #777;
        border-radius: 50%;
        outline: none;
        position: absolute;
        top: 5px;
        left: 5px;
        margin: 0;
        cursor: pointer;
    }
    .reward-radio:checked {
        border-color: var(--accent-color);
    }
    .reward-radio:checked::before {
        content: "";
        position: absolute;
        top: 3px;
        left: 3px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--accent-color);
    }
    
    /* User avatar styling */
    .user-avatar {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 8px;
        border: 2px solid #333;
    }
    
    /* Log Components */
    .log-header {
        display: flex;
        justify-content: space-between;
        padding: 6px 8px;
        background: var(--log-bg-header);
        border-radius: 4px;
        margin-bottom: 6px;
        font-weight: bold;
        font-size: 1em;
    }
    
    /* Common log entry styles */
    .log-entry, .kill-entry, .transaction-entry, .protection-entry, 
    .hiding-entry, .promotion-entry, .player-hand, .bet-entry, .map-entry, .war-entry {
        display: flex;
        justify-content: space-between;
        padding: 4px 8px;
        margin-bottom: 3px;
        border-radius: 4px;
        transition: background 0.2s;
        font-size: 1em;
    }
    
    /* Hover effect for entries */
    .log-entry:hover, .kill-entry:hover, .transaction-entry:hover, 
    .protection-entry:hover, .hiding-entry:hover, .promotion-entry:hover, 
    .player-hand:hover, .bet-entry:hover, .map-entry:hover, .war-entry:hover {
        background: var(--log-bg-hover);
    }
    
    /* Entry with pointer cursor */
    .log-entry[onclick], .kill-entry[onclick], .map-entry[onclick] {
        cursor: pointer;
    }
    
    /* Common log item styles */
    .log-item {
        padding: 0 3px;
    }
    
    /* Common date column */
    .log-item.date, .kill-date, .transaction-date, 
    .protection-date, .hiding-date, .promotion-date, .war-date {
        width: 140px;
        text-align: center;
        margin-right: 10px;
    }
    
    /* Player name column */
    .log-item.player, .player-name {
        flex-grow: 1;
    }
    
    /* Amount column */
    .log-item.amount {
        width: 120px;
        text-align: center;
    }
    
    /* Result column */
    .log-item.result {
        width: 80px;
        text-align: center;
    }
    
    /* Index number column */
    .log-item.index {
        width: 30px;
        text-align: center;
    }
    
    /* Empty log message */
    .log-empty {
        text-align: center;
        padding: 15px;
        font-weight: bold;
    }
    
    /* Status colors for text */
    .text-success {
        color: var(--color-success);
        font-weight: bold;
    }
    
    .text-error {
        color: var(--color-error);
        font-weight: bold;
    }
    
    /* Error message styling */
    .error-message {
        background-color: rgba(231, 76, 60, 0.1);
        border-left: 4px solid var(--color-error);
        color: var(--text-color-primary);
        padding: 10px 15px;
        margin: 10px 0;
        border-radius: 4px;
        font-weight: bold;
    }
    
    /* Success message styling */
    .result-message.success {
        background-color: rgba(46, 204, 113, 0.1);
        border-left: 4px solid var(--color-success);
        color: var(--text-color-primary);
        padding: 10px 15px;
        margin: 10px 0;
        border-radius: 4px;
        font-weight: bold;
    }
    
    .text-highlight {
        color: var(--color-highlight);
        font-weight: bold;
    }
    
    /* Common details containers */
    .kill-details, .transaction-details, .protection-details, 
    .hiding-details, .promotion-details, .war-details {
        flex-grow: 1;
    }
    
    /* Button link for log views */
    .button-link {
        display: inline-block;
        padding: 5px 10px;
        background: var(--log-bg-header);
        border-radius: 4px;
        text-decoration: none;
        color: #fff;
        transition: background 0.2s;
    }
    
    .button-link:hover {
        background: var(--log-bg-hover-darker);
    }
    
    /* Icon styling */
    .icon {
        font-size: 18px;
        display: inline-block;
        text-align: center;
    }
    .icon-warning {
        color: #ffc107; /* Yellow color for warning icon */
    }
    .icon-success {
        color: #28a745; /* Green color for success icon */
    }
    .icon-danger {
        color: #dc3545; /* Red color for danger/error icon */
    }
    .icon-primary {
        color: #007bff; /* Blue color for info icon */
    }
    .icon-lg {
        font-size: 62px;
    }
    .icon-md {
        font-size: 20px;
    }
    .icon-sm {
        font-size: 16px;
    }
    
    /* Clickable log entries */
    .log-entry {
        cursor: pointer;
        position: relative;
    }
    .log-entry:hover {
        background: var(--log-bg-hover);
    }
    .log-entry .icon, 
    .log-entry a {
        position: relative;
        z-index: 2; /* Keep icons and links above the clickable area */
    }
    
    /* Transaction History Styling */
    .transactions-container {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        margin-bottom: 15px;
    }
    
    .transactions-header {
        display: flex;
        background: var(--transaction-header-bg);
        padding: 12px 15px;
        font-weight: bold;
        color: var(--text-color-primary);
    }
    
    .transaction-row {
        display: flex;
        padding: 12px 15px;
        align-items: center;
        border-bottom: var(--transaction-row-border);
        transition: background 0.2s;
    }
    
    .transaction-row:hover {
        background: var(--transaction-row-hover-bg);
        cursor: pointer;
    }
    
    .transaction-row-odd {
        background: var(--transaction-row-odd-bg);
    }
    
    .transaction-row-even {
        background: var(--transaction-row-even-bg);
    }
    
    .transaction-column {
        padding: 0 10px;
    }
    
    
    
    /* Styling for checkboxes */
    input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 3px;
        background-color: rgba(255,255,255,0.1);
        border: 1px solid #444;
        box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
        cursor: pointer;
        position: relative;
        transition: all 0.2s ease;
      }
      
      input[type="checkbox"]:checked {
        background-color: #3498db;
        border-color: #2980b9;
      }
      
      input[type="checkbox"]:checked:after {
        content: "\2713"; /* Unicode checkmark symbol */
        font-size: 12px;
        color: white;
        position: absolute;
        top: 1px;
        left: 3px;
      }
      
      input[type="checkbox"]:hover {
        background-color: rgba(255,255,255,0.2);
      }
      
      /* Custom dropdown styling */
      .select-styling {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-color: var(--container-bg-tertiary, #333) !important;
        color: var(--text-color-primary, #fff) !important;
        border: 1px solid #444 !important;
        border-radius: 5px !important;
        padding: 8px 12px !important;
        background-repeat: no-repeat;
        background-position: right 10px center;
        cursor: pointer;
      }
      
      /* This helps with some browsers */
      select option {
        padding: 8px !important;
        background-color: #333 !important;
        color: white !important;
        border: none !important;
        box-shadow: none !important;
      }
      
      /* General reset for select elements */
      select {
        background-color: #333 !important;
        border-color: #444 !important;
        outline: none !important;
      }
      
      /* Some browsers need this */
      select::-ms-expand {
        display: none;
      }
    
    /* Modern Scrollbar Styling */
    /* For WebKit browsers (Chrome, Safari, newer versions of Opera) */
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    
    ::-webkit-scrollbar-track {
        background: var(--container-bg-primary);
        border-radius: 3px;
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--container-bg-tertiary);
        border-radius: 3px;
        transition: background 0.2s ease;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent-color);
    }
    
    /* For Firefox */
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--container-bg-tertiary) var(--container-bg-primary);
    }
    
    /* For Edge and Internet Explorer */
    body {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: thin;     /* Firefox */
    }
    
    
    /*/ Header image for most pages /*/
    .top-header {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 5px;
        width: 100%;
    }
    .top-header img {
        width: 100%;
        max-width: 600px;
        border-radius: 8px;
        margin-bottom: 5px;
        transition: all 0.3s ease;
    }
    
    @media (min-width: 1100px) {
        .top-header img {
            max-width: 700px;
         }
    }
    
.intro-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--container-bg-tertiary);
}
        
    @media (max-width: 850px) {
        .nav-card {
            flex: 1 0 100%;
            max-width: 100%;
        }
        
        .transactions-container {
            overflow-x: auto;
        }
        
        .transactions-header, 
        .transaction-row {
           /* min-width: 600px;*/
        }
        
        p {
            font-size: 10px;
          }
         p.intro-text {
           font-size: 10px;
         }
        h2 {
            font-size: 13px;
        }
         h3 {
            font-size: 13px;
          }
         .intro-title {
           font-size: 13px;
         }
         
         .nav-card-title {
            font-weight: bold;
            font-size: 10px;
            margin-bottom: 5px;
            color: #fff;
        }
        .nav-card-desc {
            color: #aaa;
            font-size: 7px;
        }
            
        .transaction-row {
             font-size: 10px;
        }
        .achievement-name {
            font-size: 9px;
          }
          
     
          
          
     }
    