:root {
    --theme-primary: #2f6f8f;
    --theme-primary-dark: #285f7a;
    --theme-primary-light: #eaf3f7;
    --theme-accent: #c9dde8;
    --theme-bg: #f6f9fb;
    --theme-primary-rgb: 47, 111, 143;
    --theme-text: #1f2d3a;
    --theme-surface: #ffffff;
    --theme-border: #d9e5ed;
    --theme-glow: rgba(47, 111, 143, 0.16);
    --sky-color: var(--theme-primary);
}

input:-internal-autofill-selected {
    appearance: menulist-button;
    background-image: none !important;
    background-color: transparent !important;
    color: #000 !important;
}
.btn-success{
    color: #fff;
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    padding: 5px 10px !important;
    width: auto;
}

.btn{
        padding: 10px !important;
        background-color: var(--theme-primary) !important;
        border-color: var(--theme-primary) !important;
        color: #fff !important;
        border-radius: 10px !important;
        box-shadow: 0 6px 14px var(--theme-glow);
        transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover{
        background-color: var(--theme-primary-dark) !important;
        border-color: var(--theme-primary-dark) !important;
        transform: translateY(-1px);
        box-shadow: 0 10px 18px rgba(47, 111, 143, 0.24);
}
.form-select,.form-control{
        padding: .60rem 3.75rem .60rem 1.25rem !important; 
        border-color: var(--theme-border) !important;
        background-color: var(--theme-surface);
        border-radius: 10px !important;
}
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #f8fcff 0%, var(--theme-bg) 100%);
    color: var(--theme-text);
    margin: 0;
    padding: 0;
}

.login-container {
    max-width: 100%;
    background: #000000a1
    ;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 100%);
    min-width: 500px;
}
table.dataTable>thead>tr>th,.table tbody th{
    color: var(--theme-primary) !important;
}

table tr>th {
    color: var(--theme-primary) !important;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: var(--theme-primary) !important;
    background-color: transparent;
    border-color: transparent transparent var(--theme-primary) !important;
}
td pre{
    line-height:normal;
    margin: 0;
    overflow: hidden;
    font-size: .8125rem;
}
.table thead th{
    font-weight: 700 !important;
    background-color: #eff6fb;
    border-bottom: 1px solid var(--theme-border) !important;
}

.login-container input::placeholder {
    color: rgba(255, 255, 255, .8); /* Change to your desired color */
    opacity: 1; /* Optional: to ensure the placeholder is fully opaque */
}

.login-container input{
    width: calc(100% - 20px);
    margin: 10px 0;
    padding: 10px;
    background: transparent;
    border: 0;
    border-bottom: 2px solid #ddd;
    outline: 0;
}

#loginForm label, .login-container h2{
    color: #fff;
}
form label{
    font-size: 14px !important;
    color: var(--theme-primary) !important;
    margin-bottom: 0px !important;
    font-weight: 500 !important;
}
#grievanceTable th{
    background-color: var(--sky-color);
    color: #fff;
}

h2{
    color: var(--theme-primary) !important;
}
.grievanceSubject{
    max-width:350px !important;
    width:350px !important;
}

.grievanceSubject p {
    text-wrap: auto;
    width: 350px;
}

h2 {
    text-align: center;
    font-family: cursive;
}

input {
    width: calc(100% - 20px);
    margin: 10px 0;
    padding: 10px;
}

.btn-outline-secondary {
    padding: 5px 10px !important;
    width: auto;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #17ba35;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
}

button:hover {
    background-color: #0056b3;
}

.error {
    color: red;
    text-align: center;
}
/* 
.l_nw_header {
    background-color: #0056b3;
    color: var(--white);
    padding: 10px 0;
    position: fixed;
    width: 100vw;
    z-index: 99999;
    color: white;

} */

.m_line {
    background: var(--white);
    width: 2px;
    height: 40px;
    margin: 0 10px;
}
.m_line_li{
    background: var(--white);
    width: 2px;
    height: 30px;
    margin: 0 5px;
}

.l_nw_a p {
    font-size: 12px;
    color: var(--white);
    font-weight: var(--font-500);
    margin: 0;
}

/* .navbar-brand {
    display: flex;
    align-items: center;
} */
.dt-paging nav {
    display: flex;
}


/* 
.l_nw_ul li{
  font-size: 12px;
  font-weight: 600 !important;
  color: var(--white) !important;
}

.l_nw_ul li a{
  color: var(--white) !important;
}
.dt-paging nav {
    display: flex;
}
.l_nw_ul li:hover{
  text-decoration: underline;
} */
#grievanceModal{
    z-index: 99999;
}
.wrwp_padd{
    font-size: 14px;
    top: 0px;
    position: relative;
}
.secLogo{
    height: 33px !important;
}
.sideMenuSection li a{
    padding: 3px 5px !important;
}

.sideMenuSection li a i{
    margin: 0px !important;
}
.cardSection{
    padding: 10px 20px !important;
    text-align: left;
}
.cardSection img {
    margin-top: -30px;
}
.cardSection p {
    line-height: normal;
}

.cardSection h5 {
    line-height: normal;
    margin-bottom: 0;
    font-size: 13px;
}
.h-lg-screen{
    height: auto !important;
}
.h-screen {
    height: auto !important;
}
.h-screen{
    width: 75%;
}

.navbar-vertical.navbar-expand-lg.show,.h-screen.flex-grow-1{
    height: auto !important;
}

.h-screen.flex-grow-1{
    margin-left: 220px;
}
/* .sideMenuSection{
    height: 71vh;
    overflow: auto;
} */
.sideMenuSection a.nav-link.active, .sideMenuSection li a:hover {
    background: linear-gradient(90deg, #eaf3f7 0%, #f5fafd 100%);
    /* padding: 6px 10px !important; */
    border-radius: 8px !important;
    font-size: 14px !important;
}
.sideMenuSection li>a{
    font-size: 14px !important;
}
a.das_logo{
    width: 95%;
    text-align: center;
    color: var(--theme-primary) !important;
}

.editHeadding{
    color: var(--theme-primary);
    font-family: cursive;
}
.form-control{
    border-color: var(--theme-border) !important;
}

.form-control:focus {
    color: var(--theme-primary) !important;
    background-color: hsl(0, 0%, 100%);
    border-color: var(--theme-primary) !important;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(var(--theme-primary-rgb), 0.25) !important;
}
.form-check-input:checked {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
}
.btn-sm.btn-danger{
    padding: 5px 10px !important;
}
.card-header{
    padding: 5px 15px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid var(--theme-border) !important;
}
.header {
    font-size: 22px !important;
    text-transform: capitalize;
}

.welComeDash{
    color: var(--theme-primary) !important;
}

.card,
.table,
.navbar-vertical,
.l_nw_header2 {
    border: 1px solid var(--theme-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(31, 45, 58, 0.06);
    background-color: var(--theme-surface);
}
@media (min-width:992px) and (max-width: 1024px) {
  .l_nw_ul li{
    font-size: 10px;
  }

    .l_nw_a p {
        font-size: 10px;
    }
}

@media (min-width:768px) and (max-width: 991px) {
    /* .m_line {
        display: none;
    } */

    .m_line_li{
        display: none;
    }

    .l_nw_a p {
        font-size: 10px;
    }
}

@media (min-width:320px) and (max-width: 767px) {
    /* .m_line {
        display: none;
    } */

    .m_line_li{
        display: none;
    }

    .l_nw_a p {
        font-size: 10px;
    }
}
.swal2-html-container{
    font-size: 1.0em!important;
}
.swal2-title{font-size: 26px!important;}

.table > :not(caption) > * > * {
    padding: 1rem 0.5rem;
}
.swal2-popup {    width: 28em!important;}
.swal2-styled.swal2-confirm, .swal2-styled.swal2-cancel{font-size: 12px!important;}
.swal2-actions.swal2-actions-horizontal {
    display: flex;
    flex-wrap: nowrap !important;
    width: 65%;
  }
  .editBlogBtn{
    width: 72px;
  }
  .delBlogBtn{
    width: 85px;
  }

/* ── Hospital Edit Page ─────────────────────────────── */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.toggle-link {
  cursor: pointer;
  font-size: 12px;
  color: var(--theme-primary);
  font-weight: 600;
}
.img-thumb {
  max-width: 120px;
  border: 1px solid var(--theme-border, #d9e5ed);
  padding: 3px;
  border-radius: 8px;
}
.hospital-edit .accordion-item {
  border: 1px solid var(--theme-border, #d9e5ed);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}
.hospital-edit .accordion-button {
  font-weight: 600;
  color: var(--theme-primary);
  background: linear-gradient(90deg, #f7fbfe 0%, #eef6fb 100%);
}
.hospital-edit .accordion-button:not(.collapsed) {
  color: #fff;
  background: linear-gradient(90deg, var(--theme-primary), var(--theme-primary-dark));
}
.hospital-edit .gallery-card {
  border: 1px solid var(--theme-border, #d9e5ed);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hospital-edit .gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(var(--theme-primary-rgb), 0.18);
}
.hospital-edit .gallery-card img {
  height: 150px;
  object-fit: cover;
}
.hospital-edit .section-form-card {
  border: 1px solid var(--theme-border, #d9e5ed);
  border-radius: 12px;
  background: #fff;
}
.hospital-edit .section-list .list-group-item {
  border: 1px solid var(--theme-border, #d9e5ed);
  border-radius: 10px;
  margin-bottom: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hospital-edit .section-list .list-group-item:hover {
  border-color: var(--theme-primary);
  box-shadow: 0 6px 14px rgba(var(--theme-primary-rgb), 0.12);
}
.hospital-edit .action-delete {
  color: #c62828;
  font-weight: 600;
  text-decoration: none;
}
.hospital-edit .action-delete:hover {
  color: #8e1a1a;
  text-decoration: underline;
}
.hospital-edit .btn-success {
  background-color: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
}
.hospital-edit .btn-success:hover {
  background-color: var(--theme-primary-dark) !important;
  border-color: var(--theme-primary-dark) !important;
}

/* Doctor list action buttons */
.doc-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  text-decoration: none;
}
.doc-action-btn:hover { opacity: 0.82; transform: scale(1.08); }
.doc-toggle-btn { background: #fff3cd; color: #856404; }
.doc-toggle-btn:hover { background: #ffe69c; }
.doc-edit-btn { background: #cfe2ff; color: #084298; }
.doc-edit-btn:hover { background: #b6d4fe; }
.doc-delete-btn { background: #f8d7da; color: #842029; }
.doc-delete-btn:hover { background: #f1aeb5; }
