body {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    height: 100%;
    margin: 0;
    padding: 0;
}

body, body * {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

label {
    font-size: 15px;
    font-weight: 550;
}

select option {
    font-size: 14px;
    font-weight: 600; /* optional, if you also want bold */
}

/* Change active page button */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #ffc107 !important; /* yellow */
    color: black !important;
    border: 1px solid #999 !important;
}

/* Hover effect */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #ffeb3b !important;
    color: #000 !important;
    border: 1px solid #666 !important;
}

/* General buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    padding: 5px 10px;
    margin: 2px;
}


.split-left {
    background: url('/assets/images/tvk-logo.jpeg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.split-left img {
    max-width: 100%;
    max-height: 100%;
}

.split-right {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #f8f9fa;
}

.login-card {
    width: 100%;
    max-width: 420px;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15);
    overflow: hidden;
}

.login-card .card-header {
    background: linear-gradient(90deg, #FFDF00 0%, #FF0000 100%);
    color: #fff;
}

.step { display: none; }

.step.active { display: block; }

.pin-inputs input {
    width: 2.8rem; height: 3.2rem; text-align: center; font-size: 1.25rem;
}

.small-muted { font-size: .875rem; color: #6c757d; }

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #F0F0F0 !important;
    color: black !important;
}

.navbar .navbar-brand,
.navbar .btn,
.navbar select,
.navbar i {
    color: black !important;
}

.tvk-navbar {
    background: linear-gradient(90deg, #FFDF00, #FF0000) !important;
    color: black !important;
}

.tvk-gradient {
    background: linear-gradient(90deg, rgba(255,223,0,0.7), rgba(255,0,0,0.7)); /* 70% opacity */
    color: black;
    border-radius: 4px;
}

.tvk-navbar .navbar-brand,
.tvk-navbar i,
.tvk-navbar .btn,
.tvk-navbar select {
    color: black !important;
    border-color: black !important;
}

.btn-black-outline {
    border: 1px solid black !important;
    color: black !important;
    background: transparent !important;
}

.btn-black-outline:hover {
    background: rgba(0,0,0,0.1) !important;
}

.btn-white-outline {
    border: 1px solid white !important;
    color: white !important;
    background: transparent !important;
}

.btn-white-outline:hover {
    background: rgba(0,0,0,0.1) !important;
}

.small-dropdown .dropdown-item {
    font-size: 14px;    /* adjust as you like */
    padding: 4px 10px;  /* reduce padding */
}

/* smaller dropdown menu overall */
.small-dropdown {
    min-width: 160px; /* optional: make menu narrower */
}

.closable-div {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden; /* keeps header rounded */
}

/* header styling */
.closable-div .div-header {
    background: linear-gradient(to right, #e0e0e0, #a0a0a0);
    color: #222;
    padding: 10px 40px 10px 15px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #ccc;
    position: relative;
}

/* close button in header */
.closable-div .close-btn {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}
.closable-div .close-btn:hover {
    color: red;
}

/* content area */
.closable-div .div-body {
    padding: 15px;
}

#sidebar {
    position: fixed;
    top: 56px; /* height of navbar */
    left: -300px;
    width: 300px;
    height: calc(100% - 56px);
    background: #F0F0F0;
    color: black;
    overflow-y: auto;
    transition: all 0.3s;
    padding: 0rem;
}

#sidebar.active {
    left: 0;
}

#content {
    margin-top: 56px; /* height of navbar */
    padding: 1rem;
    transition: margin-left 0.3s;
}

#content.active {
    margin-left: 300px;
}

#domainTree .jstree-anchor {
    font-size: 14px;
    line-height: 1.7;
}

#domainTree .jstree-clicked {
    font-weight: 600;
}

#domainTree .jstree-closed > .jstree-ocl::before {
    content: "+";
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

#domainTree .jstree-open > .jstree-ocl::before {
    content: "–";
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

#domainTree .jstree-ocl {
    background: none !important;
    width: 1em;
}

#domainCadresTable thead th {
    font-size: 14px !important;
}

#domainCadresTable tbody td {
    font-size: 13px !important;
}

@media (min-width: 768px) {
    body { font-size: 18px; }
}

@media (max-width: 480px) {
    body { font-size: 15px; }
}
