@font-face {
    font-family: "SolaimanLipiNormal";
    font-style: normal;
    font-weight: normal;
    src: local("SolaimanLipiNormal"),
        url("/assets/webfonts/solaimanlipi.woff") format("woff");
}

body,
html {
    font-family: Helvetica, SolaimanLipiNormal, sans-serif !important;
    color: #000 !important;
    font-size: 14px !important;
}

:root {
    --bs-custom-primary: #095aa9;
}
.bg-goldren {
    background: var(--bs-custom-primary) !important;
}
.aside-menu .menu-item .menu-link.active {
    background-color: var(--bs-custom-primary);
}
.aside-menu
    .menu-item.hover:not(.here)
    > .menu-link:not(.disabled):not(.active):not(.here),
.aside-menu
    .menu-item:not(.here)
    .menu-link:hover:not(.disabled):not(.active):not(.here) {
    background-color: var(--bs-secondary);
}
.aside-menu
    .menu-item.hover:not(.here)
    > .menu-link:not(.disabled):not(.active):not(.here)
    .menu-title,
.aside-menu
    .menu-item:not(.here)
    .menu-link:hover:not(.disabled):not(.active):not(.here)
    .menu-title {
    color: var(--bs-dark);
}
.aside-menu .menu-item .menu-link {
    color: var(--bs-dark);
}
.aside-menu
    .menu-item:not(.here)
    .menu-link:hover:not(.disabled):not(.active):not(.here)
    .menu-icon
    i {
    color: var(--bs-dark);
}
.aside-menu .menu-item .menu-link .menu-title {
    color: var(--bs-dark);
}

footer {
    background-color: #41719e;
    height: 30px;
}

footer.container {
    /* max-width: 1370px; */
    max-width: inherit;
}

main {
    padding-top: 70px;
    min-height: 680px;
}

.bg-dark {
    background-color: white !important;
}

.dropdown-menu {
    background-color: #41719e !important;
}
.navbar-nav li {
    color: #000 !important;
}

.navbar-nav a {
    color: #fff !important;
}
.navbar-nav a:hover {
    color: #000 !important;
}

.topbar .topbar-item .svg-icon,
.topbar .topbar-item i {
    color: #fff;
}
/* ======= Form CSS ========= */

.form-text {
    margin: 0;
}

.form-control,
.form-select,
.form-check-input,
.form-check-input {
    border: 1px solid #095aa9 !important;
    border-radius: 5px !important;
}

.card-body {
    border: 1px solid #095aa9 !important;
}
.table,
thead {
    border-color: #e7e7e7 !important;
}

th {
    color: #000 !important;
    font-weight: bold !important;
}
thead tr {
    vertical-align: top;
}
thead th {
    background-color: #dcdddf !important;
}

.container {
    border: 1px solid #e3e1e1;
    margin: 10px;
    background-color: #fff;
}

form {
    background-color: #fff;
    padding: 0px;
}

.form-check {
    margin-bottom: 10px;
}
.form-check-label {
    color: #000;
}

.form-title {
    background-color: #009ef7;
    color: #fff !important;
    font-size: large;
    font-weight: bold;
    text-align: center !important;
    height: 40px;
    padding-top: 7px;
}

.btn-primary {
    padding-left: 30px;
    padding-right: 30px;
}

.btn {
    border-radius: 5px !important;
    white-space: nowrap;
}

a {
    text-decoration: none;
}

table th {
    font-weight: bold !important;
}

.list-table {
    width: 100%;
    border-collapse: collapse;
}

.list-table td,
.list-table th {
    text-align: center;
    border: 1px solid;
}

.form-label {
    color: #000;
}

thead.thead-dark {
    background-color: #e3e1e1;
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        padding: 10px;
    }
}

@media (min-width: 992px) {
    .content {
        padding: 10px;
    }
}

.content {
    background-color: rgb(220, 221, 223);
}
/* =========== Dashbaord =============== */

.dashboard .card {
    height: 160px;
    text-align: center;
}

.dashboard .card h1 {
    padding-bottom: 10px;
}

.dashboard h4 {
    text-align: left;
}

.dashboard .border {
    border: none;
}

.dashboard .card .svg-icon {
    text-align: left;
}

.dashboard a {
    color: black;
}
.dashboard a:hover {
    color: #009ef7;
}
/*
  .aside {
    background-color: #a6b5c3;
  }

  .header{
    background-color: #a6b5c3;
  }

  .header-fixed .header {
    background-color: #a6b5c3;
  } */

#kt_aside {
    background-color: #fff;
}
#kt_header {
    background-color: #095aa9 !important;
}
#kt_footer {
    background-color: #f5f3f3;
}

.aside-logo {
    background-color: #fff !important;
}
.footer {
    background-color: #e3e1e1;
    padding: 0px !important;
    position: relative;
}

#footer-container {
    padding: 0px 10px !important;
}

/* ======== Menu ============*/
.aside-menu .menu-item .menu-link .menu-title {
    color: #000;
}

.aside-menu .menu-item .menu-link .menu-title:hover {
}

.menu-accordion .hover .show {
    background-color: #095aa9 !important;
}

.aside-menu .menu-item.here > .menu-link {
    background-color: #095aa9 !important;
    color: #fff;
}

.aside-menu .menu-item > .menu-link:hover {
    background-color: #717880 !important;
    color: #fff;
}

@media (max-width: 992px) {
    .toolbar .page-title[data-kt-swapper="true"] {
        display: block !important;
    }
}

span.form-error,
ul.form-error li {
    color: rgb(187, 12, 12) !important;
}

input[readonly] {
    background-color: #dadadd !important;
}
textarea[readonly] {
    background-color: #dadadd !important;
}
input[disabled] {
    background-color: #dadadd !important;
}
:disabled {
    background-color: #ececee !important;
}
help {
    font-size: small;
    font-style: italic;
}
.error {
    color: #f1416c;
}
a.close {
    font-weight: bold;
}

.light-up {
    animation: light-up-animation 2s ease-in-out infinite;
}
@keyframes light-up-animation {
    0%, 100% {
        color: #ff0000; /* Initial red color */
        text-shadow: none;
    }
    50% {
        color: #ff6666; /* Brighter red */
        text-shadow: 0 0 10px #ff6666, 0 0 20px #ff9999;
    }
}

div.application-no{
    font-weight: bold;
    border: 1px solid;
    width: 200px;
    margin: 0 auto;
}

.paginationDiv svg {
    height: 10px !important;
    width: 10px !important;
    min-height: 10px !important;
    min-width: 10px !important;
    max-height: 10px !important;
    max-width: 10px !important;
}


/* Manual System Additional Styles */

/* Video Player Enhancements */
.video-player video {
    background-color: #000;
    object-fit: contain;
}

.video-player iframe {
    background-color: #000;
}

/* PDF Viewer Enhancements */
.pdf-viewer {
    background-color: #f5f5f5;
}

/* Sidebar Scrollbar Styling */
.sidebar-list::-webkit-scrollbar {
    width: 6px;
}

.sidebar-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.sidebar-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.sidebar-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Responsive Video Player */
@media (max-width: 768px) {
    .video-player {
        height: 250px;
    }

    .pdf-viewer {
        height: 400px;
    }

    .sidebar-list {
        max-height: 300px;
    }

    .sidebar-item img {
        width: 50px;
        height: 30px;
    }

    .manual-section {
        margin-bottom: 20px;
    }
}

/* Loading States */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Card Hover Effects */
.manual-section {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.manual-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Tab Navigation */
.manual-tabs .nav-link {
    transition: all 0.3s ease;
}

.manual-tabs .nav-link:hover {
    background-color: #f8f9fa;
    border-bottom-color: #dee2e6;
}

/* Button Hover Effects */
.download-btn:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.05);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}


/* Print Styles */
@media print {
    .manual-container {
        background: white !important;
    }

    .manual-section {
        box-shadow: none !important;
        page-break-inside: avoid;
    }

    .download-btn,
    .manual-tabs,
    .sidebar-list {
        display: none !important;
    }

    .video-player,
    .pdf-viewer {
        border: 1px solid #ddd;
        background: #f9f9f9;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        font-size: 14px;
    }

    .video-player::after {
        content: "Video content - view online";
    }

    .pdf-viewer::after {
        content: "PDF content - view online";
    }
}
