/* ============================================
   POSOSALOCHKA — HLStatsX:CE Windmill Theme
   Matches sourcebans-pososalochka 1:1
   
   Colors:
     Background:    #05090a
     Area BG:       #0b0f11
     Accent (pink): #ff66cc
     Link (blue):   #6bc1ff
     Text:          #ffffff / #cccccc
     Borders:       #222
     Inputs:        #111 / border #333
   Font: Ubuntu
   Border-radius: 0 everywhere
   ============================================ */

/* === Font === */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

/* === Reset border-radius globally === */
*,
*::before,
*::after {
    border-radius: 0 !important;
}

/* === Body === */
body {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background-color: #05090a !important;
    scrollbar-color: #333 #0b0f11;
    padding-top: 40px !important;
    margin: 0;
    padding: 0;
    padding-top: 40px !important;
    color: #ffffff; /* Default text color */
}

/* === Windmill Accent Components === */
.windmill-title-bar {
    color: #fff;
    background-color: #ff66cc;
    border: none;
}

.windmill-button {
    color: #fff;
    background-color: #ff66cc;
    border-color: #ff66cc;
    transition: background-color 0.3s;
}

.windmill-button:hover {
    background-color: #e855b5;
    border-color: #ff66cc;
}

.btn {
    color: #fff;
    background-color: #ff66cc;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e855b5;
}

.windmill-text-link {
    color: #6bc1ff;
}

/* =======================================
   FORCE DARK MODE — override all states
   ======================================= */

/* --- Backgrounds --- */
.bg-white,
.dark\:bg-gray-800,
header,
aside {
    background-color: #0b0f11 !important;
}

.bg-gray-50,
.dark\:bg-gray-900 {
    background-color: #05090a !important;
}

body {
    background-color: #05090a !important;
    color: #ffffff !important;
}

.dark\:bg-gray-700 {
    background-color: #111518 !important;
}

/* --- Text --- */
.text-gray-800,
.dark\:text-gray-200 {
    color: #ffffff !important;
}

.text-gray-600,
.dark\:text-gray-300 {
    color: #cccccc !important;
}

.text-gray-500,
.dark\:text-gray-400 {
    color: #999999 !important;
}

/* --- Borders --- */
.border-gray-100,
.dark\:border-gray-700 {
    border-color: #222 !important;
}

.dark\:border-gray-600 {
    border-color: #333 !important;
}

/* =======================================
   MARQUEE — fixed at top, 1:1 match with SourceBans
   ======================================= */
.patron-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background-color: #111;
    color: #ff66cc;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid #ff66cc;
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-sizing: border-box;
}

.marquee-inner {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 25s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* =======================================
   LOGO + SITE NAV — above main content (1:1 match with SourceBans)
   ======================================= */
.page-content {
    max-width: none;
    margin: 0;
    padding: 20px 16px;
    margin-top: 0;
    padding-top: 0;
    text-align: center;
}

.coa {
    text-align: center;
    margin: 90px 0 5px 0;
}

.coa img {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: auto;
}

.top-nav {
    text-align: center;
    margin: 20px 0;
    font-size: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid #222;
    font-family: 'Ubuntu', sans-serif;
    color: #aaaaaa; /* Color for "/" separators between links - visible gray */
}

.top-nav a {
    margin: 0 8px;
    text-decoration: none;
}

.top-nav a.main-link {
    color: #ff6b6b;
}

.top-nav a.bans-link {
    color: #ffb86c;
}

.top-nav a.stats-link {
    color: #6bc1ff;
}

.top-nav a.vip-link {
    color: #ff66cc;
}

.top-nav a.fastdl-link {
    color: #a1d8ff;
}

.top-nav a:hover {
    text-decoration: underline;
}

/* =======================================
   SIDEBAR
   ======================================= */
aside {
    border-right: 1px solid #222 !important;
    box-shadow: none !important;
}

aside .text-lg,
aside a.text-lg {
    color: #ff66cc !important;
    font-weight: 700 !important;
}

aside a,
aside .inline-flex span {
    color: #6bc1ff !important;
}

aside a:hover,
aside .inline-flex:hover span {
    color: #ff66cc !important;
}

aside li.relative {
    border-left: 3px solid transparent;
    transition: border-color 0.2s;
}

aside li.relative:hover {
    border-left-color: #ff66cc;
}

/* =======================================
   TOP HEADER BAR - HIDDEN
   ======================================= */
header {
    display: none !important;
}

header .shadow-md {
    box-shadow: none !important;
}

/* =======================================
   SHADOWS → BORDERS
   ======================================= */
.shadow-md,
.shadow-lg {
    box-shadow: none !important;
    border: 1px solid #222;
}

/* =======================================
   LINKS
   ======================================= */
a {
    color: #6bc1ff;
    transition: color 0.2s;
}

a:hover {
    color: #ff66cc;
    text-decoration: none;
}

a.head {
    color: #ff66cc !important;
}

/* =======================================
   TABLES
   ======================================= */
table {
    border-collapse: collapse;
    width: 100%;
}

.windmill-title-bar {
    background-color: #ff66cc !important;
    color: #fff !important;
}

/* Table header row */
.data-table-head,
.data-table-row,
table thead,
table thead tr,
table thead th {
    background-color: #0b0f11 !important;
    color: #ff66cc !important;
    font-weight: 700;
}

table thead th,
table th {
    border-bottom: 2px solid #ff66cc !important;
    padding: 8px !important;
}

table td {
    border-bottom: 1px solid #1a1a1a !important;
    color: #ccc !important;
    padding: 6px 8px !important;
}

/* Alternating rows */
table .bg1,
table tbody tr:nth-child(odd) td {
    background-color: #0b0f11 !important;
}

table .bg2,
table tbody tr:nth-child(even) td {
    background-color: #0e1316 !important;
}

table tr:hover td {
    background-color: rgba(255, 102, 204, 0.05) !important;
}

/* =======================================
   FORM INPUTS
   ======================================= */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea,
.form-input,
.form-select,
.form-textarea,
.textbox {
    background-color: #111 !important;
    border: 1px solid #333 !important;
    color: #fff !important;
    font-family: 'Ubuntu', sans-serif !important;
    padding: 8px 12px;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus,
.form-input:focus,
.form-select:focus {
    border-color: #ff66cc !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 102, 204, 0.3) !important;
}

/* =======================================
   BUTTONS
   ======================================= */
.windmill-button,
input[type="submit"],
button.btn {
    background-color: #ff66cc !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 16px;
    cursor: pointer;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s;
}

.windmill-button:hover,
input[type="submit"]:hover,
button.btn:hover {
    background-color: #e855b5 !important;
}

/* =======================================
   DROPDOWN MENUS
   ======================================= */
ul[aria-label="submenu"] {
    background-color: #0b0f11 !important;
    border: 1px solid #333 !important;
}

ul[aria-label="submenu"] a:hover,
ul[aria-label="submenu"] li:hover {
    background-color: rgba(255, 102, 204, 0.1) !important;
}

/* =======================================
   PURPLE → PINK replacements
   ======================================= */
.focus\:shadow-outline-purple {
    box-shadow: 0 0 0 3px rgba(255, 102, 204, 0.3) !important;
}

.focus\:border-purple-400 {
    border-color: #ff66cc !important;
}

.text-purple-600 {
    color: #ff66cc !important;
}

.bg-purple-600 {
    background-color: #ff66cc !important;
}

.bg-purple-700 {
    background-color: #e855b5 !important;
}

input[type="checkbox"]:checked {
    background-color: #ff66cc !important;
    border-color: #ff66cc !important;
}

/* =======================================
   HOVER STATE OVERRIDES
   ======================================= */
.hover\:bg-gray-100:hover,
.dark\:hover\:bg-gray-800:hover {
    background-color: rgba(255, 102, 204, 0.1) !important;
}

.hover\:text-gray-800:hover,
.dark\:hover\:text-gray-200:hover {
    color: #ff66cc !important;
}

/* =======================================
   STATS COLORS
   ======================================= */
.text-green-600, .text-green-500 { color: #4ade80 !important; }
.text-red-600, .text-red-500     { color: #f87171 !important; }
.text-green-700 { color: #2c8c69 !important; }
.text-red-700   { color: #c53030 !important; }
.bg-green-100   { background-color: rgba(44, 140, 105, 0.1) !important; }
.bg-red-100     { background-color: rgba(197, 48, 48, 0.1) !important; }

/* =======================================
   FOOTER
   ======================================= */
.poso-footer-bar {
    background-color: #0b0f11 !important;
    border-top: 1px solid #222;
    color: #666;
    font-size: 12px;
}

.poso-footer-bar a {
    color: #6bc1ff;
    font-weight: 600;
}

/* =======================================
   BANNER IMAGE
   ======================================= */
.flex.justify-center.items-center img {
    max-width: 100%;
}

/* =======================================
   SCROLLBAR
   ======================================= */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0b0f11;
}

::-webkit-scrollbar-thumb {
    background: #333;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* =======================================
   MOBILE
   ======================================= */
@media (max-width: 768px) {
    .patron-marquee {
        font-size: 12px;
        padding: 6px 0;
    }

    body {
        padding-top: 34px !important;
    }

    .poso-header-block .coa img {
        width: 150px;
    }

    .poso-top-nav {
        font-size: 13px;
    }

    .poso-top-nav a {
        margin: 0 4px;
    }
}
