
/* =========================================
   1. RESET & DESIGN TOKENS
========================================= */

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;

    --background: #f5f7fb;
    --surface: #ffffff;
    --surface-alt: #f8fafc;

    --text: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;

    --border: #e2e8f0;
    --border-light: #f1f5f9;

    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);

    --transition: 0.2s ease;

    --container-width: 1320px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    background: var(--background);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.3);
    outline-offset: 3px;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    cursor: pointer;
}

button {
    border: 0;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
    vertical-align: middle;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    font-weight: 650;
    line-height: 1.35;
}

p {
    line-height: 1.7;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input[type="hidden"] {
    display: none;
}

::selection {
    background: #bfdbfe;
    color: #1e3a8a;
}


/* =========================================
   2. MAIN LAYOUT
========================================= */

.vw-anahat_sinir,
.container,
.container-fluid,
.body_wrapper {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
}

.vw-anahat_sinir {
    padding-inline: 24px;
}

.container,
.container-fluid {
    padding-inline: 0;
}

.vw-sahteBG {
    min-height: 100vh;
    padding-block: 24px 48px;
    background: var(--background);
}

.body_wrapper {
    min-width: 0;
}

#content_container,
#content {
    min-width: 0;
}

#content_container {
    flex: 1 1 auto;
}

#content {
    width: 100%;
}

.floatcontainer::after,
.row::after {
    display: table;
    clear: both;
    content: "";
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.col-xs-6 {
    flex: 0 0 calc(50% - 8px);
    min-width: 0;
}

.col-xs-12,
.col-sm-12,
.col-md-12 {
    flex: 0 0 100%;
    min-width: 0;
}

.col-sm-3 {
    flex: 0 0 25%;
}

.col-sm-9 {
    flex: 1 1 70%;
    min-width: 0;
}

.col-md-6 {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
}

.col-md-8 {
    flex: 1 1 65%;
    min-width: 0;
}

.col-md-4 {
    flex: 1 1 30%;
    min-width: 0;
}


/* =========================================
   3. HEADER & MAIN NAVIGATION
========================================= */

.vw-sahtebgHD {
    height: 5px;
    background: linear-gradient(
        90deg,
        #2563eb,
        #4f46e5,
        #06b6d4
    );
}

.vw-sahtebgNV {
    display: none;
}

#main_navbar {
    position: relative;
    z-index: 100;
    width: 100%;
    min-height: 76px;
    margin-block: 18px;
    padding: 12px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

#main_navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 50px;
}

.navbar-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    min-width: 150px;
    min-height: 44px;
    color: var(--primary);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.navbar-brand::before {
    display: block;
    width: 38px;
    height: 38px;
    margin-right: 12px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border-radius: 11px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    content: "";
}

.navbar-collapse,
.vw-collapse {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
}

.navbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 14px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: var(--radius-md);
    transition:
        background var(--transition),
        color var(--transition);
}

.navbar-link:hover,
.navbar-link:focus-visible {
    background: var(--primary-light);
    color: var(--primary);
}

.navbar-link .fa {
    font-size: 15px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.navbar-nav > li {
    position: relative;
}

.navbar-nav .divider {
    width: 1px;
    height: 28px;
    background: var(--border);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.navbar-toggle .icon-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}


/* =========================================
   4. SEARCH
========================================= */

.navbar-form {
    display: flex;
    align-items: center;
}

#globalsearch {
    display: flex;
    align-items: stretch;
    width: 240px;
    height: 42px;
    overflow: hidden;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

#globalsearch:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#globalsearch .form-control {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: none;
}

#globalsearch .input-group-btn {
    display: flex;
    flex: 0 0 42px;
}

#globalsearch .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 100%;
    padding: 0;
    background: transparent;
    color: var(--text-secondary);
    border: 0;
    border-radius: 0;
}

#globalsearch .btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}


/* =========================================
   5. DROPDOWN & LOGIN
========================================= */

.dropdown-grid {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.dropdown-toggle:hover {
    background: var(--primary-light);
}

.caret {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.dropdown-grid-wrapper {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1000;
    display: none;
    width: min(680px, calc(100vw - 32px));
}

.dropdown-grid:hover > .dropdown-grid-wrapper,
.dropdown-grid:focus-within > .dropdown-grid-wrapper,
.dropdown-grid.open > .dropdown-grid-wrapper {
    display: block;
}

.dropdown-menu {
    width: 100%;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.dropdown-menu .row {
    align-items: flex-start;
}

.dropdown-menu h3 {
    margin-bottom: 16px;
    font-size: 17px;
}

.carousel-inner {
    min-width: 0;
}

.carousel-inner > .item {
    display: none;
}

.carousel-inner > .item.active {
    display: block;
}

.carousel-indicators {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.carousel-indicators li {
    width: 100%;
    border-radius: var(--radius-sm);
}

.carousel-indicators li a {
    display: block;
    padding: 10px 12px;
    color: var(--text);
    font-weight: 600;
    border-radius: inherit;
}

.carousel-indicators li.active a,
.carousel-indicators li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.carousel-indicators .desc {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 400;
}

#navbar_loginform {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.form-group > .col-sm-9,
.form-group > .col-sm-12 {
    min-width: 0;
}

.control-label {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.form-control,
.textbox,
textarea {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 13px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    outline: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-control:focus,
.textbox:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder,
.textbox::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 16px;
    background: var(--primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.btn:hover {
    background: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-default {
    background: var(--surface-alt);
    color: var(--text);
    border-color: var(--border);
}

.btn-info {
    background: var(--primary);
}

.btn-success {
    background: var(--success);
}

.btn-facebook {
    background: #1877f2;
}

.btn-pinterest {
    background: #bd081c;
}

.btn-github {
    background: #334155;
}

.btn-social {
    justify-content: flex-start;
    padding-inline: 16px;
}

.btn-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-sm,
.input-sm {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 12px;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}


/* =========================================
   6. SECONDARY NAVIGATION
========================================= */

#navbar {
    position: relative;
    z-index: 90;
    width: 100%;
    min-height: 52px;
    background: #172554;
    border: 0;
}

#navtabs,
#navtabs > .floatcontainer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
}

#navtabs {
    padding: 6px 24px;
}

#navtabs > .floatcontainer {
    margin: 0;
    padding: 0;
}

#navtabs li {
    position: relative;
}

#navtabs > .floatcontainer > li > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 16px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    transition:
        background var(--transition),
        color var(--transition);
}

#navtabs > .floatcontainer > li > a:hover,
#navtabs > .floatcontainer > li > a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.vw-ikonsinir {
    color: #93c5fd;
    font-size: 15px;
}

#navtabs .popupbody {
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
}

#navtabs .popupbody a {
    display: block;
    padding: 10px 14px;
}


/* =========================================
   7. ANNOUNCEMENTS & NOTICES
========================================= */

.vw-duyuruboxBG {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    margin-bottom: 20px;
    padding: 12px 18px;
    background: var(--primary-light);
    color: #1e40af;
    border: 1px solid #dbeafe;
    border-radius: var(--radius-md);
}

.vw-duruikon {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 20px;
}

#carousel-example {
    flex: 1;
    min-width: 0;
}

#carousel-example .item {
    font-size: 13px;
    line-height: 1.6;
}

#carousel-example a {
    font-weight: 600;
}

#notices {
    margin-bottom: 20px;
}

#notices ol {
    display: grid;
    gap: 12px;
}

#navbar_notice_1 {
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

#navbar_notice_1 h2 {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
}

#navbar_notice_1 h2:not(:first-child) {
    margin-top: 18px;
}

#navbar_notice_1 p {
    color: var(--text-secondary);
    font-size: 13px;
}

#navbar_notice_1 a {
    font-weight: 600;
}


/* =========================================
   8. FORUM CLOSED NOTICE
========================================= */

#vw-forumkapali {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding: 20px 24px;
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
    border-radius: var(--radius-lg);
}

.vw-forumkapalisol {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #fef3c7;
    color: var(--warning);
    border-radius: var(--radius-md);
    font-size: 22px;
}

.vw-forumkapalisag {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 1.8;
}

.vw-forumkapalisag strong {
    font-size: 14px;
}


/* =========================================
   9. LATEST POSTS / STATISTICS
========================================= */

.vw-topxHD {
    padding: 15px 20px;
    background: #1e3a8a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

#vsa_fh_stats {
    margin-bottom: 24px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

#vsa_fh_stats table {
    width: 100%;
    table-layout: fixed;
}

#vsa_fh_stats td {
    min-width: 0;
    padding: 12px 16px;
    overflow-wrap: anywhere;
    vertical-align: top;
    border-bottom: 1px solid var(--border-light);
}

#vsa_fh_stats .vw-topxaltHD {
    padding: 12px 16px;
    background: var(--surface-alt);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
}

#vsastats_lpdiv,
#vsastats_fdiv {
    color: var(--text-secondary);
    font-size: 13px;
}

#vsastats_fdiv table td {
    padding: 7px 0;
}

#vsa_stats_status {
    display: block;
    font-size: 12px;
}


/* =========================================
   10. FORUM CATEGORIES
========================================= */

#forums {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin-block: 0 28px;
}

#forums > .forumbit_nopost {
    min-width: 0;
    overflow: visible;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

#forums > .forumbit_nopost:hover {
    box-shadow: var(--shadow-md);
}

#forums .forumhead {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 15px 20px;
    background: #1e3a8a;
    color: #ffffff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

#forums .forumhead h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

#forums .forumhead .forumtitle {
    flex: 1;
    min-width: 0;
}

#forums .forumhead .forumtitle a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

#forums .forumhead .forumtitle a:hover {
    color: #bfdbfe;
}

#forums .forumhead .collapse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #bfdbfe;
}

#forums .forumhead .collapse:hover {
    color: #ffffff;
}

#forums .vw-ackapaikon {
    font-size: 17px;
}

#forums .eti-ket_ikon {
    display: inline-block;
    flex: 0 0 6px;
    width: 6px;
    height: 24px;
    margin-right: 12px;
    background: #60a5fa;
    border-radius: 4px;
}

#forums .childforum {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#forums .childforum > .forumbit_post {
    position: relative;
    min-width: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition);
}

#forums .childforum > .forumbit_post:last-child {
    border-bottom: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

#forums .childforum > .forumbit_post:hover {
    background: #f8fbff;
}


/* =========================================
   11. FORUM ROWS
========================================= */

#forums .forumrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 30%);
    align-items: stretch;
    width: 100%;
    min-height: 110px;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#forums .forumrow > .foruminfo {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
    padding: 20px 22px;
}

#forums .forumdata,
#forums .datacontainer {
    flex: 1;
    min-width: 0;
    width: 100%;
}

#forums .vw-durumikonbg {
    position: relative;
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: 2px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid #dbeafe;
    border-radius: 12px;
    font-style: normal;
    font-size: 18px;
}

#forums .vw-durumikonbg::before {
    content: "\f086";
}

#forums .vw-durumikon-old {
    background: #f1f5f9;
    color: #64748b;
    border-color: var(--border);
}

#forums .titleline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 6px;
}

#forums .titleline .forumtitle {
    flex: 1 1 220px;
    min-width: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

#forums .titleline .forumtitle a {
    color: var(--text);
}

#forums .titleline .forumtitle a:hover {
    color: var(--primary);
}

#forums .viewing {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
}

#forums .statviewing,
#forums .statthreads,
#forums .statposts {
    white-space: nowrap;
}

#forums .forumdescription {
    max-width: 760px;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}


/* =========================================
   12. LAST POST
========================================= */

#forums .forumlastpost {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 16px 20px;
    background: rgba(248, 250, 252, 0.65);
    border-left: 1px solid var(--border-light);
}

#forums .lastpostlabel {
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

#forums .lastposttitle {
    margin-bottom: 9px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#forums .lastposttitle .threadtitle {
    color: var(--text);
}

#forums .lastposttitle .threadtitle:hover {
    color: var(--primary);
}

#forums .lastpostby {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 12px;
}

#forums .vw-sonmesajavatar {
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border-radius: 50%;
}

#forums .vw-lastavatar {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #dbeafe;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
}

#forums .lastpostby .username {
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
}

#forums .lastpostdate {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

#forums .lastpostdate .time {
    color: var(--text-secondary);
}

#forums .lastpostarrow {
    margin-left: 4px;
    color: var(--primary);
}

#forums .lastpostarrow::before {
    content: "\f061";
}


/* =========================================
   13. SUBFORUMS
========================================= */

#forums .subforums {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

#forums .subforumlistlabel {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
}

#forums .subforumlist {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}

#forums .subforum {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    font-size: 11px;
}

#forums .subforum a {
    color: var(--text-secondary);
}

#forums .subforum a:hover {
    color: var(--primary);
}

#forums .altforum_ikon_old {
    color: var(--text-muted);
    font-size: 11px;
}


/* =========================================
   14. POPUP MENUS
========================================= */

.popupmenu {
    position: relative;
}

.popupctrl {
    cursor: pointer;
}

.popupbody {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 200;
    display: none;
    min-width: 190px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.popupmenu:hover > .popupbody,
.popupmenu:focus-within > .popupbody,
.popupmenu.open > .popupbody {
    display: block;
}

.popupbody li {
    display: block;
    width: 100%;
}

.popupbody li a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    color: var(--text-secondary);
    font-size: 12px;
    border-radius: var(--radius-sm);
    transition:
        background var(--transition),
        color var(--transition);
}

.popupbody li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.memberaction .popupbody {
    min-width: 180px;
}

.memberaction_body .fa {
    width: 15px;
    color: var(--text-muted);
}


/* =========================================
   15. SIDEBAR
========================================= */

#sidebar_container {
    width: 100%;
    min-width: 0;
    margin-top: 24px;
}

#sidebar_button_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    background: var(--surface);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

#sidebar_button_link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

#sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

#sidebar > li {
    min-width: 0;
}

#sidebar .block {
    height: 100%;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

#sidebar .blocksubhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 18px;
    background: #1e3a8a;
    color: #ffffff;
}

#sidebar .blocktitle {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

#sidebar .blocksubhead .collapse {
    color: #bfdbfe;
}

#sidebar .widget_content,
#sidebar .blockbody {
    min-width: 0;
}

#sidebar .blockrow {
    padding: 16px;
}

#sidebar iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: var(--radius-sm);
}

#sidebar .underblock {
    height: 1px;
    background: var(--border-light);
}


/* =========================================
   16. FORUM INFORMATION & STATISTICS
========================================= */

.vw-frmneoluyorsol,
.vw-frmneoluyorsag {
    min-width: 0;
}

.vw-frmneoluyorBG {
    margin-top: 22px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.vw-frmneoluyorhd {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 18px;
    background: #1e3a8a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.vw-frmneoluyorhd .fa {
    color: #bfdbfe;
    font-size: 15px;
}

.vw-frmneoluyoraltBG {
    min-width: 0;
    padding: 18px 20px;
    color: var(--text-secondary);
    font-size: 13px;
}

.vw-frmneoluyoraltBG dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
}

.vw-frmneoluyoraltBG dt {
    color: var(--text-secondary);
    font-size: 12px;
}

.vw-frmneoluyoraltBG dd {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.vw-frmneoluyoraltBG .fa {
    margin-right: 6px;
    color: var(--primary);
}

#wjt_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

#wjt_list a {
    color: var(--primary);
    font-size: 12px;
}


/* =========================================
   17. ADVERTISEMENTS & EMBEDS
========================================= */

.adsbygoogle {
    display: block;
    max-width: 100%;
    margin-block: 20px;
    overflow: hidden;
}

#ad_global_above_footer {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-block: 20px;
}

#content table {
    max-width: 100%;
}

#content td {
    overflow-wrap: anywhere;
}

#content table[width="100%"] {
    width: 100%;
}


/* =========================================
   18. FOOTER
========================================= */

.vw-footerBG {
    height: 1px;
    margin-top: 36px;
    background: var(--border);
}

#footer {
    margin-top: 0;
    padding-block: 24px;
    background: #172554;
    color: #cbd5e1;
}

#footer > .vw-anahat_sinir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

#footer a {
    color: #cbd5e1;
    font-size: 12px;
}

#footer a:hover {
    color: #ffffff;
}

#footer .float-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-left: auto;
}

#footer .vw-footerNV_ikon {
    margin-right: 6px;
    color: #93c5fd;
}

#footer .btn-shwbtn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
}

#footer .btn-shwbtn:hover {
    background: rgba(255, 255, 255, 0.2);
}

#footer .dropdown-menu {
    width: auto;
    min-width: 190px;
}

#footer .dropdown-menu a {
    color: var(--text);
}

#footer .dropdown-menu a:hover {
    color: var(--primary);
}

#footer_select {
    display: flex;
    align-items: center;
}

#footer_select select {
    width: auto;
    max-width: 100%;
    min-height: 38px;
    padding: 8px 32px 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
}

#footer_select option {
    background: #172554;
    color: #ffffff;
}

.vw-footerHD {
    padding-block: 18px;
    background: #0f172a;
    color: #94a3b8;
    font-size: 11px;
}

.vw-footerHD > .vw-anahat_sinir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.vw-footerHD a {
    color: #cbd5e1;
}

.vw-footerHD a:hover {
    color: #ffffff;
}

.vw-ftsag_copyright,
.vw-ftsol_copyright {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.7;
}

.auto-style-spacer {
    display: inline;
    margin-inline: 5px;
}

.vw-yukaribt {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition:
        background var(--transition),
        transform var(--transition);
}

.vw-yukaribt:hover {
    background: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-4px);
}


/* =========================================
   19. TABLET
========================================= */

@media (max-width: 1024px) {

    :root {
        --container-width: 100%;
    }

    .vw-anahat_sinir {
        padding-inline: 20px;
    }

    #main_navbar {
        padding: 12px 16px;
    }

    #main_navbar .container-fluid {
        gap: 14px;
    }

    .navbar-brand {
        min-width: 110px;
    }

    .navbar-collapse {
        gap: 10px;
    }

    .navbar-link {
        padding-inline: 10px;
    }

    #globalsearch {
        width: 190px;
    }

    .hidden-md {
        display: none;
    }

    #forums .forumrow {
        grid-template-columns: minmax(0, 1fr) minmax(190px, 32%);
    }

    #forums .forumrow > .foruminfo {
        gap: 14px;
        padding: 18px;
    }

    #forums .forumlastpost {
        padding: 14px;
    }

    #forums .viewing {
        gap: 4px 8px;
    }

    #sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================
   20. MOBILE / SMALL TABLET
========================================= */

@media (max-width: 768px) {

    body {
        font-size: 13px;
    }

    .vw-anahat_sinir {
        padding-inline: 16px;
    }

    .vw-sahteBG {
        padding-block: 16px 32px;
    }

    #main_navbar {
        margin-block: 12px;
        padding: 12px;
        border-radius: var(--radius-md);
    }

    #main_navbar .container-fluid {
        flex-wrap: wrap;
        align-items: stretch;
        gap: 12px;
    }

    .navbar-header {
        justify-content: space-between;
        width: 100%;
    }

    .navbar-brand {
        min-height: 40px;
        font-size: 19px;
    }

    .navbar-brand::before {
        width: 34px;
        height: 34px;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-collapse,
    .vw-collapse {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 6px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }

    .navbar-collapse.in,
    .vw-collapse.in,
    #navbar-collapse-1:target {
        display: flex;
    }

    .navbar-left,
    .navbar-link {
        width: 100%;
    }

    .navbar-link {
        justify-content: flex-start;
        padding: 11px 12px;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-left: 0;
    }

    .navbar-nav > li {
        width: 100%;
    }

    .navbar-nav .divider {
        width: 100%;
        height: 1px;
        margin-block: 4px;
    }

    .navbar-form {
        width: 100%;
    }

    #globalsearch {
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-grid-wrapper {
        position: static;
        width: 100%;
        margin-top: 8px;
    }

    .dropdown-menu {
        padding: 16px;
        box-shadow: var(--shadow-md);
    }

    #navbar {
        min-height: auto;
    }

    #navtabs,
    #navtabs > .floatcontainer {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    #navtabs::-webkit-scrollbar,
    #navtabs > .floatcontainer::-webkit-scrollbar {
        display: none;
    }

    #navtabs {
        padding: 6px 16px;
    }

    #navtabs > .floatcontainer {
        gap: 2px;
    }

    #navtabs > .floatcontainer > li {
        flex: 0 0 auto;
    }

    #navtabs > .floatcontainer > li > a {
        padding: 9px 12px;
        font-size: 12px;
    }

    .vw-duyuruboxBG {
        align-items: flex-start;
        padding: 12px 14px;
    }

    #navbar_notice_1 {
        padding: 16px;
    }

    #navbar_notice_1 h2 {
        font-size: 15px;
    }

    #vw-forumkapali {
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .vw-forumkapalisol {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    #forums {
        gap: 18px;
    }

    #forums .forumhead {
        min-height: 52px;
        padding: 13px 16px;
    }

    #forums .forumhead h2,
    #forums .forumhead .forumtitle a {
        font-size: 14px;
    }

    #forums .forumrow {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    #forums .forumrow > .foruminfo {
        padding: 16px;
    }

    #forums .forumlastpost {
        padding: 12px 16px 14px 74px;
        background: var(--surface-alt);
        border-top: 1px solid var(--border-light);
        border-left: 0;
    }

    #forums .vw-durumikonbg {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    #forums .titleline {
        align-items: flex-start;
        gap: 5px;
    }

    #forums .titleline .forumtitle {
        flex-basis: 100%;
        font-size: 14px;
    }

    #forums .forumdescription {
        font-size: 12px;
    }

    #forums .viewing {
        font-size: 10px;
    }

    #forums .lastposttitle {
        white-space: normal;
    }

    #forums .lastpostlabel {
        margin-bottom: 4px;
    }

    #forums .vw-768pxgizle {
        display: none;
    }

    #forums .lastpostby {
        display: flex;
    }

    #forums .vw-sonmesajavatar {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .vw-topxMgizle {
        display: none;
    }

    #vsa_fh_stats td {
        padding: 10px 12px;
    }

    #sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .vw-frmneoluyoraltBG dl {
        grid-template-columns: minmax(0, 1fr);
    }

    #footer > .vw-anahat_sinir {
        align-items: flex-start;
        flex-direction: column;
    }

    #footer .float-right {
        width: 100%;
        margin-left: 0;
    }

    .vw-footerHD > .vw-anahat_sinir {
        align-items: flex-start;
        flex-direction: column;
    }

    .vw-yukaribt {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }

}


/* =========================================
   21. SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .vw-anahat_sinir {
        padding-inline: 12px;
    }

    #main_navbar {
        margin-block: 10px;
    }

    #navtabs {
        padding-inline: 12px;
    }

    #navbar_notice_1 {
        padding: 14px;
    }

    #vw-forumkapali {
        padding: 14px;
    }

    .vw-forumkapalisag {
        font-size: 12px;
    }

    .vw-topxHD {
        padding: 13px 15px;
        font-size: 13px;
    }

    #forums {
        gap: 16px;
    }

    #forums .forumhead {
        padding: 12px 14px;
    }

    #forums .forumhead h2 {
        gap: 8px;
    }

    #forums .eti-ket_ikon {
        margin-right: 8px;
    }

    #forums .forumrow > .foruminfo {
        gap: 11px;
        padding: 14px;
    }

    #forums .vw-durumikonbg {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 15px;
        border-radius: 10px;
    }

    #forums .forumlastpost {
        padding: 11px 14px 12px 61px;
    }

    #forums .titleline .forumtitle {
        font-size: 13px;
    }

    #forums .forumdescription {
        font-size: 11px;
    }

    #forums .viewing {
        gap: 3px 8px;
        font-size: 10px;
    }

    #forums .subforums {
        gap: 6px;
    }

    .dropdown-menu {
        padding: 12px;
    }

    .dropdown-menu .row {
        flex-direction: column;
    }

    .dropdown-menu .col-md-8,
    .dropdown-menu .col-md-4,
    .dropdown-menu .col-sm-8,
    .dropdown-menu .col-sm-4 {
        flex: 0 0 100%;
        width: 100%;
    }

    .form-group {
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
    }

    .form-group > .col-sm-3,
    .form-group > .col-sm-9 {
        flex: 0 0 100%;
        width: 100%;
    }

    .form-group > .col-xs-6 {
        flex: 0 0 100%;
        width: 100%;
    }

    .carousel-indicators {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .carousel-indicators li {
        width: auto;
        flex: 1 1 calc(50% - 6px);
    }

    .carousel-indicators li a {
        padding: 9px;
        font-size: 11px;
    }

    .carousel-indicators .desc {
        font-size: 10px;
    }

    .vw-frmneoluyoraltBG {
        padding: 14px;
    }

    #footer {
        padding-block: 20px;
    }

    #footer .float-right {
        gap: 10px;
    }

    .vw-footerHD {
        padding-block: 16px;
    }

    .vw-ftsag_copyright,
    .vw-ftsol_copyright {
        font-size: 10px;
    }

}


/* =========================================
   22. ACCESSIBILITY & MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

@media (hover: none) {

    .btn:hover,
    .vw-yukaribt:hover {
        transform: none;
    }

}

@media (forced-colors: active) {

    .btn,
    .forumhead,
    .vw-topxHD,
    .vw-frmneoluyorhd {
        border: 1px solid ButtonText;
    }

}