/* Admin custom css */

.sidebar{
    --sidebar-width: 15rem;!important;
}

.sidebar-content{
    font-size: .8rem;
}

.sidebar-content i{
    font-size: 1.15rem;
}

.table-xls th,
.table-xls td {
    padding: 0.15rem 0.25rem !important; }

.table-xxs th,
.table-xxs td {
    padding: 0.3rem 0.5rem !important; }

.table-zero th,
.table-zero td {
    padding: 0rem 0rem !important; }

.btn-xs, .btn-group-xs > .btn {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.6667;
    border-radius: 0.125rem; }

.btn-xlg, .btn-xlg > .btn {
    padding: 0.7rem 1rem;
    font-size: .9rem;
    line-height: 1.8;
    border-radius: 0.3rem; }

.btn-xxs, .btn-group-xxs > .btn {
    padding: 0.1rem 0.3rem;
    font-size: 0.7rem;
    line-height: 1.6667;
    border-radius: 0.1rem; }

/* The switch - the box around the slider */
.switchTheme {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

/* Hide default HTML checkbox */
.switchTheme input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.switchTheme .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.switchTheme .slider:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    left: 0px;
    bottom: 4px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    box-shadow: 0 0px 15px #2020203d;
    background: white url('https://i.ibb.co/FxzBYR9/night.png');
    background-repeat: no-repeat;
    background-position: center;
}

.switchTheme input:checked + .slider {
    background-color: #2196f3;
}

.switchTheme input:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}

.switchTheme input:checked + .slider:before {
    -webkit-transform: translateX(21px);
    -ms-transform: translateX(21px);
    transform: translateX(21px);
    background: white url('https://i.ibb.co/7JfqXxB/sunny.png');
    background-repeat: no-repeat;
    background-position: center;
}

/* Rounded sliders */
.switchTheme  .slider.round {
    border-radius: 34px;
}

.switchTheme .slider.round:before {
    border-radius: 50%;
}

#searchJobResult {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 1rem;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

input[type="number"] {
    -webkit-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-check-input[type=checkbox]{
    max-width: 1.5rem;
    min-width: 1.5rem;
}



body > div.page-content > div.content-wrapper > div.content-inner > div > div > div > div.row > div.col-md-8 > div:nth-child(1) > div > div > p
{
    display:flex;
    flex-wrap: wrap;
}

/* Mobile Responsive Styles */
@media (max-width: 991.98px) {
    /* Sidebar */
    .sidebar-main {
        position: fixed;
        top: 0;
        bottom: 0;
        width: 280px;
        transform: translateX(-100%);
        z-index: 1040;
        transition: transform 0.3s ease-in-out;
        background-color: var(--sidebar-bg);
    }

    .sidebar-main.sidebar-mobile-expanded {
        transform: translateX(0);
        box-shadow: 5px 0 25px rgba(0,0,0,0.1);
    }

    /* Content wrapper */
    .content-wrapper {
        margin-left: 0 !important;
    }

    /* Navbar */
    .navbar {
        padding: 0.75rem;
    }

    .navbar-brand {
        padding: 0.5rem 0;
    }

    /* Content spacing */
    /* .content-inner {
        padding: 1.25rem;
    } */

    /* Tables */
    .table-responsive {
        margin-bottom: 1rem;
        border: 0;
    }

    .table-responsive thead {
        display: none;
    }

    .table-responsive tr {
        display: block;
        margin-bottom: 1rem;
        border-radius: 0.375rem;
        box-shadow: 0 0 0.25rem rgba(0,0,0,0.075);
    }

    .table-responsive td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .table-responsive td:last-child {
        border-bottom: 0;
    }

    .table-responsive td::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 1rem;
    }

    /* Cards */
    .card {
        margin-bottom: 1rem;
    }

    .card-header {
        padding: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    /* Forms */
    .form-group {
        margin-bottom: 1rem;
    }

    .form-control {
        height: calc(2.25rem + 2px);
    }

    /* Buttons */
    .btn-group-sm > .btn, .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }

    /* Modals */
    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-footer {
        padding: 1rem;
    }

    /* Utilities */
    .m-sm-0 { margin: 0 !important; }
    .mt-sm-0 { margin-top: 0 !important; }
    .mb-sm-0 { margin-bottom: 0 !important; }
    .p-sm-0 { padding: 0 !important; }
    .pt-sm-0 { padding-top: 0 !important; }
    .pb-sm-0 { padding-bottom: 0 !important; }
}

/* Enhanced Mobile Table Styles */
@media (max-width: 991.98px) {
    .table-responsive {
        border: 0;
        margin-bottom: 0;
    }

    .table-responsive table {
        border: 0;
        width: 100%;
    }

    .table-responsive thead {
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .table-responsive tr {
        display: block;
        background-color: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 0.5rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        margin-bottom: 1rem;
        position: relative;
    }

    .table-responsive td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 3rem;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        position: relative;
        text-align: right;
        word-break: break-word;
    }

    .table-responsive td:last-child {
        border-bottom: 0;
    }

    .table-responsive td::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75em;
        padding-right: 1rem;
        color: var(--gray-700);
    }

    /* Action buttons in tables */
    .table-responsive td:last-child {
        border-bottom-left-radius: 0.5rem;
        border-bottom-right-radius: 0.5rem;
        background-color: rgba(0,0,0,0.01);
    }

    .table-responsive td .btn-group,
    .table-responsive td .btn-toolbar {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        gap: 0.5rem;
    }

    .table-responsive td .badge {
        margin-left: auto;
    }

    /* Hover and active states */
    .table-responsive tr:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transform: translateY(-1px);
        transition: all 0.2s ease;
    }

    /* Striped rows alternative */
    .table-responsive tr:nth-child(even) {
        background-color: var(--light-hover);
    }

    /* Status indicators */
    .table-responsive td .status-indicator {
        margin-left: auto;
    }

    /* Responsive text alignments */
    .table-responsive td.text-center {
        justify-content: space-between;
    }

    .table-responsive td.text-right {
        justify-content: space-between;
    }

    /* Numbers and dates alignment */
    .table-responsive td.text-end,
    .table-responsive td.text-right {
        text-align: right !important;
    }

    /* Column specific styles */
    .table-responsive td.fit {
        white-space: nowrap;
        width: auto;
    }

    /* Loading states */
    .table-responsive.is-loading tr {
        opacity: 0.7;
        pointer-events: none;
    }

    /* Empty states */
    .table-responsive:empty::after {
        content: 'Veri bulunamadı';
        display: block;
        text-align: center;
        padding: 2rem;
        color: var(--gray-500);
        font-style: italic;
    }

    /* Pagination container spacing */
    .table-responsive + .pagination,
    .table-responsive + .datatable-footer {
        margin-top: 1rem;
    }
}

/* Mobile Responsive Table Styles */
@media (max-width: 991.98px) {
    /* Base table styles */
    .table-responsive table {
        border: none;
    }

    .table-responsive thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .table-responsive tr {
        display: block;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 0.5rem;
        margin-bottom: 1rem;
        padding: 0.5rem;
    }

    .table-responsive td {
        display: grid;
        grid-template-columns: 40% 60%;
        align-items: center;
        border: none;
        position: relative;
        padding: 0.5rem;
    }

    .table-responsive td::before {
        content: attr(data-label);
        font-weight: 500;
        text-align: left;
        color: var(--gray-600);
        padding-right: 0.5rem;
    }

    /* Specific column styles */
    .table-responsive td:first-child {
        font-weight: 600;
        color: var(--primary);
    }

    /* Image column */
    .table-responsive td:nth-child(2) {
        grid-template-columns: auto 1fr;
    }

    .table-responsive td:nth-child(2) img {
        width: 40px;
        height: 40px;
        object-fit: cover;
    }

    /* Status badges */
    .table-responsive td .badge {
        justify-self: start;
    }

    /* Action buttons */
    .table-responsive td:last-child {
        grid-template-columns: 1fr;
        padding-top: 0.75rem;
        margin-top: 0.5rem;
        border-top: 1px solid var(--border-color);
    }

    .table-responsive td:last-child .btn {
        width: 100%;
    }

    /* Hover effects */
    .table-responsive tr:hover {
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        transform: translateY(-1px);
        transition: all 0.2s ease;
    }

    /* Empty state */
    .table-responsive:empty::after {
        content: 'Veri bulunamadı';
        display: block;
        text-align: center;
        padding: 2rem;
        color: var(--gray-500);
        font-style: italic;
    }
}

/* Dark theme compatibility */
[data-bs-theme="dark"] .sidebar-main {
    background-color: var(--dark-sidebar-bg);
}

[data-bs-theme="dark"] .table-responsive tr {
    background-color: var(--dark-card-bg);
    border: 1px solid var(--dark-border-color);
}

[data-bs-theme="dark"] .table-responsive td {
    border-color: var(--dark-border-color);
}

[data-bs-theme="dark"] .table-responsive td::before {
    color: var(--gray-400);
}

[data-bs-theme="dark"] .table-responsive tr:nth-child(even) {
    background-color: rgba(255,255,255,0.02);
}

/* Dark theme support */
[data-bs-theme="dark"] .table-responsive tr {
    background: var(--dark-card-bg);
    border-color: var(--dark-border-color);
}

[data-bs-theme="dark"] .table-responsive td::before {
    color: var(--gray-400);
}

/* Preserve table layout for larger screens */
@media (min-width: 992px) {
    .table-responsive thead {
        position: sticky;
        top: 0;
        background-color: var(--card-bg);
        z-index: 1;
    }

    .table-responsive th {
        padding: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        border-bottom-width: 2px;
    }

    .table-responsive tr:hover td {
        background-color: rgba(0,0,0,0.02);
    }

    .table-responsive td {
        padding: 1rem;
        vertical-align: middle;
    }

    /* Column specific styles for desktop */
    .table-responsive .fit {
        width: 1%;
        white-space: nowrap;
    }

    /* Action column alignment */
    .table-responsive td:last-child {
        text-align: right;
    }
}

/* Print styles */
@media print {
    .sidebar-main,
    .navbar {
        display: none !important;
    }

    .content-wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }

    .table-responsive thead {
        display: table-header-group;
    }

    .table-responsive tr {
        display: table-row;
    }

    .table-responsive td {
        display: table-cell;
    }

    .table-responsive td::before {
        display: none;
    }
}

