/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 100%;
        padding: 1em;
    }
}
@media (min-width: 992px) {
    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .page-content {
        padding: calc(70px + 1.5rem) 0 60px 0;
    }
}
@media (min-width: 768px) {
    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
}

.container, .container-sm {
    /* --vz-gutter-x: 0; */
    max-width: 100%;
}

@media (max-width: 767px) {
    .container, .container-sm {
        --vz-gutter-x: 0;
        max-width: 100%;
    }
}
.page-content {
    padding: 70px 0 0 0;
}

:is([data-layout=vertical],[data-layout=semibox])[data-sidebar-size=sm] {
    min-height: 100vh;
}

.auth-page-wrapper .auth-page-content {
    padding-bottom: 60px;
    /* position: relative; */
    z-index: 2;
    width: 100%;
    height: 100vh;
}

/* Diagonal Split Login Styles */
.diagonal-split {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.diagonal-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 50%, #f8f9fa 50%);
    z-index: 1;
}

.city-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/glw-login-bg.webp') center center;
    background-size: cover;
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
}

.logo-section {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-section img {
    max-width: 150px;
    height: auto;
}

.welcome-text {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-text h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.welcome-text p {
    color: #666;
    font-size: 0.9rem;
}

.top, .bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.clickable-row:hover, .table-active {
    background-color: #212529 !important;
    color: #FFF !important;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.login .form-control {
    padding: 0.75rem 1rem;
}

#users-datatable .form-control {
    /* padding: revert; */
}

.form-control:focus, .form-select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-control:disabled {
    background-color: var(--vz-gray-700);
    opacity: 1;
}

[data-bs-theme="light"] .form-control:disabled {
    color: var(--vz-gray-400);
}

.btn-login {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1rem;
    background: transparent;
    z-index: 2;
}

.footer p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

/* Password Manager Integration Fixes */
.form-group input[type="password"] {
    position: relative;
    z-index: 1;
}

/* Ensure password manager buttons are positioned correctly */
.form-group .position-relative {
    position: relative !important;
}

/* Fix for Keeper and other password managers */
.form-group input[type="email"],
.form-group input[type="password"] {
    position: relative;
    z-index: 1;
}

/* Ensure the password addon button doesn't interfere with password managers */
.password-addon {
    z-index: 2;
}

/* Custom CSS for the application */

/* Custom styles for the main content area */
.login.main-content {
    margin-left: 250px;
    padding: 20px;
    min-height: 100vh;
    background: linear-gradient(120deg, transparent 50%, #f8f9fa 50%);
}
.main-content {
    /* margin-left: 250px; */
    /* padding: 20px; */
    min-height: 100vh;
}

/* Custom styles for cards */
.card {
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.card-header {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: #323835;
    color: white;
    border-radius: 10px 10px 0 0 !important;
    border: none;
}

/* Custom button styles */
.login.btn {
    border-radius: 25px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.login.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .diagonal-split::before {
        background: linear-gradient(112.5deg, transparent 35%, #f8f9fa 35%);
    }
    
    .login-card {
        padding: 2rem;
        margin: 1rem;
    }

    .main-content {
        margin-left: 0;
        padding: 15px;
    }
}

#signatures {
  scroll-margin-top: 85px;
}


.notice {
    font-size: 12px !important;
    font-weight: bold;
    line-height: 1.2;
}

.main-content#report {
    width: 210mm !important;
}

@media print {
    @page {
        size: A4;
        margin: 0;
        padding: 0;
    }

    body, html, .layout-wrapper {
        background-color: #fff;
    }

    .main-content#report {
        width: 210mm !important;
        margin-left: 0 !important;
        background-color: #fff;
    }

    #report .page-content {
        padding-top: 0 !important;
        background-color: #fff;
    }

    #page-topbar {
        display: none;
    }

    [data-bs-theme="dark"] {
        --canvas-stroke: #999;
        --txt-black: #000 !important;
        --txt-white: #fff !important;
        --txt-white-title: #fff !important;
    }

    [data-bs-theme="dark"] .bg-light { 
        background-color: initial !important;
    }

    [data-bs-theme="dark"] body, [data-bs-theme="dark"] html, [data-bs-theme="dark"] .layout-wrapper {
        background-color: #fff !important;
    }

    .table>thead {
        /* border-color: var(--vz-border-color); */
        --vz-border-color: #000 !important;
    }
}

/* .checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
  font-size: 14px;
  line-height: 1.2;
} */

.checklist {
  column-count: 2;     /* two flowing columns */
  column-gap: 1rem;    /* spacing between columns */
  font-size: 12px;
  line-height: 1.2;
}


/* Each section = one box */
/* .checklist-section {
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  break-inside: avoid;
} */

.checklist-section {
  display: block;        /* switch off flex/grid behavior */
  border: 1px solid #333;
  /* margin-bottom: 0.5rem; */
  break-inside: avoid;   /* keep a whole section in one column */
}


.section-title {
  /* background: #333; */
  font-weight: bold;
  /* padding: 0.5rem; */
  /* border-bottom: 1px solid #333; */
}

.section-badge {
    width: 85px;
}

.section-controls {
    border-left: 1px solid #333;
    width: 70px; 
    padding: 5px;
}

.checklist-row {
    border-top: 1px solid #333;
}

.controls-wrapper {
    width: 70px;
    padding-block: .15em;
}

.controls {
    /* width: 50px;
    text-align: center; */
}

.row.header-row {
    font-weight: bold;
    background: #eee; /* optional shading for header row */
}

.question {
    flex: 1;
    padding: 0.1rem;
    border-right: 1px solid #333;
    font-size: 10px;
    /* color: #000; */
}

/* .bg-dark {
    background-color: #000 !important;
} */

:root {
    --canvas-stroke: #999;
    --txt-black: #000;
    --txt-white: #fff;
    --txt-white-title: #fff;
}

[data-bs-theme="dark"] {
    --canvas-stroke: #999;
    --txt-black: #fff;
    --txt-white: #000;
    --txt-white-title: #fff;
}

.text-black-print {
    color: var(--txt-black);
}

.text-white-print {
    color: var(--txt-white);
}
.text-white-print-title {
    color: var(--txt-white-title);
}

.new-page {
    break-before: page;
}

#report p {
    font-size: 10px;
}

#report td {
    font-size: 10px;
}

.text-black {
    color: #000 !important;
}
.text-12 {
    font-size: 12px !important;
}

.text-danger {
    color: red !important;
}

#back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    -webkit-transition: all .5s 
ease;
    transition: all .5s 
ease;
    display: none;
    z-index: 1000;
}

#assessments-datatable tbody tr, #assessments-datatable tbody tr td {
    padding: .3em .6em !important;
}

.avatar-lg {
    height: 105px !important;
    width: 105px !important;
}


.drag-handle {
  cursor: grab;
  pointer-events: auto; /* explicitly enable */
  touch-action: none;
  position: relative;
  z-index: 2;
}
.drag-handle:active {
  cursor: grabbing;
}