﻿@font-face {
    font-family:'DIN Pro';src:url("../font/HostGrotesk-Medium.ttf");font-weight:bold;font-style:normal;
}
@font-face {
    font-family:'Nunito';src:url("../font/HostGrotesk-Bold.ttf");font-weight:bold;font-style:bold;
}

body {
    font-family: 'DIN Pro', sans-serif;
    width: 100%;
    background: linear-gradient(135deg, #EFEAE0 0%, #E5E0D5 100%);
    margin-top: 0;
    color: #241F21;
    transition: all 0.3s ease;
}

.dataTables_wrapper, .simplebar-content, .simplebar-content-wrapper {
    background: transparent;
}

/* Container & Card Styling with Gradients */
.container {
    background: linear-gradient(145deg, #ffffff 0%, #F9F7F2 100%);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(36, 31, 33, 0.08);
    border: 1px solid #E5E0D5;
    padding: 24px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Accessibility Bar / Toggle Styling */
.accessibility-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

table.dataTable {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

table.dataTable.display th {
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    font-size: 18px; 
    color: #241F21;
    font-weight: 800;
    border-bottom: 2px solid #D4D1CB;
    padding: 12px 16px;
    background: linear-gradient(to bottom, #F9F7F2, #F0ECE4);
}

table.dataTable.display tbody td {
    font-family: 'DIN Pro', sans-serif;
    cursor: pointer;
    font-size: 16px; 
    color: #241F21;
    font-weight: 600;
    padding: 14px 16px;
    border-bottom: 1px solid #E5E0D5;
    background: transparent;
}

table.dataTable.display tbody td a {
    font-family: 'Nunito', sans-serif;
    color: #241F21;
    text-decoration: none;    
    font-weight: 800;
}

table.dataTable.display tbody td a:hover {
    color: #E9841D;
}

/* Cohesive warm hover state */
table#players.dataTable tbody tr:hover, 
table.dataTable.display tbody tr:hover {
  background-color: #EFEAE0 !important;
}

table#players.dataTable tbody tr:hover > .sorting_1 {
  background-color: #EFEAE0 !important;
}

.simplebar-track.simplebar-vertical {
    background-color: #D9D9D9;
}

.simplebar-scrollbar::before {
  background-color: #FAA624;
  z-index: 1;
}

.view_item1 {
    cursor: pointer; 
    height: 100%;
    width: 100%;
    font-style: normal;
    font-family: 'DIN Pro', sans-serif;
}

table.dataTable tbody tr, 
table.dataTable.display tr td, 
table.dataTable.display tbody tr.odd > .sorting_1, 
table.dataTable.display tbody tr.even > .sorting_1,
table.dataTable.stripe tbody tr.odd, 
table.dataTable.display tbody tr.odd {
    background: #ffffff;
    color: #241F21;
}

table.dataTable.display tbody tr.even {
    background: #FAFAF7;
}

input {
    max-width: 120px;
    background: #ffffff;
    border: 1px solid #D4D1CB;
    border-radius: 6px;
    padding: 6px 10px;
    margin-right: 20px;
    font-family: 'DIN Pro', sans-serif;
}

.buttonz {
    color: #241F21;
    border: 1px solid #D4D1CB;
    background: linear-gradient(135deg, #EFEAE0 0%, #D4D1CB 100%);
    font-size: 14px;
    padding: 8px 20px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 8px;
    margin: 5px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.buttonz:hover {
    background: linear-gradient(135deg, #D4D1CB 0%, #C5C1B8 100%);
    transform: translateY(-1px);
}

.activeb {
    background: linear-gradient(135deg, #E9841D 0%, #D07212 100%) !important;
    color: #ffffff !important;
    border-color: #D07212 !important;
    font-weight: bolder;
}

/* Enhanced Graphical Number Circle with Gradient & Border */
.numberCircle {
    width: 28px;
    height: 28px;
    line-height: 26px;
    border-radius: 50%;
    text-align: center;
    font-size: 13px;
    border: 2px solid #E9841D;
    background: linear-gradient(135deg, #ffffff 0%, #F5F2EC 100%);
    display: inline-block;
    color: #241F21;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(233, 132, 29, 0.2);
}

.wcirc {
    width: 8px;
    height: 8px;
    line-height: 8px;
    border-radius: 50%;
    text-align: center;
    border: 1px solid #b4b4b4;
    background-color: #ffffff;
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
}

.bcirc {
    width: 8px;
    height: 8px;
    line-height: 8px;
    border-radius: 50%;
    text-align: center;
    border: 1px solid #b4b4b4;
    background-color: #241F21;
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
}

.fed_name {
    font-weight: bolder;
    font-size: 20px;
    border: none;
    line-height: 25px;
}

#pairs tbody tr td .fed_name {
    color: #241F21;
    font-size: 18px;
    font-weight: bolder;
    font-family: 'Nunito', sans-serif;
}

.total_score {
    font-family: 'Nunito', sans-serif;
    font-size: 21px;    
}

h4 {
    font-size: 21px;
    font-family: 'Nunito', sans-serif;
    color: #241F21;
}

strong {
    font-family: 'Nunito', sans-serif;
}

.main_title {
    background: linear-gradient(135deg, #241F21 0%, #3D3538 100%);
    min-height: 80px;
    font-family: 'Nunito', sans-serif;
    color: #ffffff;
    font-size: 24px;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    box-shadow: inset 0 -2px 5px rgba(0,0,0,0.2);
}

/* --- ACCESSIBILITY MODE (Bad Eyesight / High Contrast) --- */
body.accessibility-mode {
    background: #000000 !important;
    color: #FFFF00 !important;
}

body.accessibility-mode .container {
    background: #000000 !important;
    border: 3px solid #FFFF00 !important;
    box-shadow: none !important;
}

body.accessibility-mode table.dataTable.display th {
    background: #000000 !important;
    color: #FFFF00 !important;
    font-size: 22px !important;
    border-bottom: 3px solid #FFFF00 !important;
    font-weight: 900 !important;
}

body.accessibility-mode table.dataTable.display tbody td, 
body.accessibility-mode table.dataTable.display tbody td a,
body.accessibility-mode .fed_name,
body.accessibility-mode h4,
body.accessibility-mode strong {
    background: #000000 !important;
    color: #FFFFFF !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    border-bottom: 2px dashed #FFFF00 !important;
}

body.accessibility-mode table.dataTable.display tbody td a:hover {
    color: #FFFF00 !important;
    text-decoration: underline !important;
}

body.accessibility-mode table#players.dataTable tbody tr:hover {
    background-color: #1a1a1a !important;
}

body.accessibility-mode .numberCircle {
    width: 36px;
    height: 36px;
    line-height: 32px;
    font-size: 16px;
    background: #000000 !important;
    color: #FFFF00 !important;
    border: 3px solid #FFFF00 !important;
    box-shadow: none;
}

body.accessibility-mode .buttonz {
    background: #000000 !important;
    color: #FFFF00 !important;
    border: 2px solid #FFFF00 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

body.accessibility-mode .buttonz:hover, 
body.accessibility-mode .activeb {
    background: #FFFF00 !important;
    color: #000000 !important;
}