﻿.setDisplay, .displayStyle {
    display: none;
}

.modalBackground1 {
    background-color: Black;
    filter: alpha(opacity=90);
    opacity: 0.8;
}

.modalPopup1 {
    background-color: #fff;
    border: 3px solid #ccc;
    padding: 10px;
}

.GlassPanel {
    background: #000000;
    opacity: 0.5;
    filter: alpha(opacity=70);
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 110;
    cursor: not-allowed;
}

.modalBackground {
    background-color: Black;
    filter: alpha(opacity=60);
    opacity: 0.6;
}

.modalPopup {
    background-color: #FFFFFF;
    width: 300px;
    border: 3px solid #0DA9D0;
    padding: 0;
}

.modalPopup .header {
    background-color: #2FBDF1;
    height: 30px;
    color: White;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
}

.modalPopup .body {
    min-height: 50px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.typingmodehindi {
    font-family: 'Kruti Dev 011' !important;
    font-size: 20px !important;
}

/* AdminLTE overrides */
.app-main {
    min-height: calc(100vh - 57px) !important;
    padding: 0.75rem;
}

.page-content,
.main-content,
.main-content-inner {
    padding: 0;
}

.widget-box {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    background: #fff;
}

.widget-header {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.space-4 { height: 8px; }
.space-6 { height: 12px; }
.space-8 { height: 16px; }
.space-10 { height: 20px; }
.space-12 { height: 24px; }

.hr {
    border-top: 1px solid #dee2e6;
    margin: 0.75rem 0;
}

.hr-double {
    border-top: 3px double #dee2e6;
    margin: 0.75rem 0;
}

.input-group-addon {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.profile-user-info {
    display: table;
    width: 100%;
}

.profile-user-info > div {
    display: table-row;
}

.profile-user-info > div > div {
    display: table-cell;
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.no-padding-right { padding-right: 0 !important; }
.no-padding-left { padding-left: 0 !important; }

.card {
    margin-bottom: 1rem;
}

.table-header {
    background-color: #17a2b8;
    color: white;
    padding: 8px 12px;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
}

.date-picker {
    background-color: #fff !important;
}

.flatpickr-input {
    background-color: #fff !important;
}

.ts-wrapper .ts-control {
    border-radius: 0.25rem;
    min-height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
}

.ts-dropdown .active {
    background-color: #0d6efd;
    color: white;
}

/* DataTables AdminLTE integration */
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 2px 0;
    white-space: nowrap;
    justify-content: flex-end;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0.85em;
}

.table > thead > tr > th {
    border-bottom: 2px solid #dee2e6;
}

div.dt-buttons {
    margin-bottom: 0.5rem;
}

.btn-group.dt-buttons > .btn {
    border-radius: 0.25rem !important;
    margin-right: 2px;
}

/* SweetAlert2 z-index fix for modals */
.swal2-container {
    z-index: 99999;
}

/* Modal body overflow fix */
.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/* Flatpickr in modals */
.modal .flatpickr-calendar {
    z-index: 99999;
}

/* Responsive table container */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* User panel icon sizing for sidebar */
.user-panel .image i {
    font-size: 1.6rem;
    width: 1.6rem;
    line-height: 1.6rem;
    text-align: center;
}

/* Navbar user avatar icon */
.navbar-nav .nav-link i.fa-user-circle {
    font-size: 1.5rem;
}

/* Navbar grey theme - override white background */
.app-header.navbar {
    background-color: #343a40 !important;
}
.app-header.navbar .navbar-nav .nav-link {
    color: rgba(255,255,255,0.8) !important;
}
.app-header.navbar .navbar-nav .nav-link:hover,
.app-header.navbar .navbar-nav .nav-link:focus {
    color: #fff !important;
}
.app-header.navbar .navbar-nav .dropdown-menu {
    margin-top: 0;
}
.app-header.navbar .navbar-nav .nav-link i {
    color: rgba(255,255,255,0.8) !important;
}

/* Fix sidebar text visibility: app-sidebar has no background-color set,
   so with data-bs-theme="dark" the light-grey text appears on transparent
   (white body) background = invisible. This gives it the dark background. */
.app-sidebar[data-bs-theme="dark"] {
    background-color: #212529 !important;
}

/* Sidebar brand should have no image padding when image removed */
.sidebar-brand {
    gap: 0.5rem;
}

/* Sidebar scroll when menus expand beyond viewport */
.sidebar-wrapper {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Fix expanded submenu background so items stay visible */
.sidebar-wrapper .sidebar-menu > .nav-item > .nav-treeview {
    background-color: transparent !important;
}

.sidebar-wrapper .nav-treeview .nav-link {
    color: #c2c7d0 !important;
}

.sidebar-wrapper .nav-treeview .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}
