html {
    font-size: 14px;
}

body, p, div, span, h1, h2, h3, h4, h5, h6, a, li, td, th, label, input, button, select, textarea {
    font-family: monospace, sans-serif !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* Left menu styling */
.left-menu {
    background-color: #343a40;
    color: #ffffff;
    transition: width 0.3s ease;
}

    .left-menu .nav-link {
        color: #dcdcdc;
        font-size: 1rem;
        padding: 10px 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: background-color 0.3s, color 0.3s;
    }

        .left-menu .nav-link:hover {
            background-color: #495057;
            color: #ffffff;
        }

        .left-menu .nav-link i {
            font-size: 1.2rem;
        }

    .left-menu.collapsed {
        width: 60px;
    }

        .left-menu.collapsed .nav-link span {
            display: none;
        }

        .left-menu.collapsed .nav-link i {
            margin-right: 0;
        }

.menu-toggle {
    color: #dcdcdc;
    cursor: pointer;
    margin: 10px;
    font-size: 1.5rem;
}

    .menu-toggle:hover {
        color: #ffffff;
    }

.left-menu {
    overflow: hidden;
    position: relative;
    top: 0px;
    bottom: 50px;
}

.hidden {
    display: none;
}

.po_modal {
    z-index: 10000;
    position: absolute !important;
    top: 10%;
    cursor: pointer;
}

.font-20 {
    font-size: 20px !important;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.navbar-header {
    background-color: #ffffff;
}


body {
    background-color: #f8f9fa;
}

.table thead th {
    border-bottom: 2px solid #dee2e6;
}

.card {
    border-radius: 12px;
}

.btn {
    border-radius: 8px;
}

input, textarea, select {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
}


.navbar-brand {
    font-weight: 700;
    font-size: 20px;
}

.nav-link {
    font-size: 14px;
    color: #000 !important;
    font-weight: 500;
}

    .nav-link:hover {
        color: #6c757d !important;
    }

.search-box {
    background-color: #f8f0f0;
    border-radius: 12px;
    padding: 2px 10px;
}

    .search-box input {
        background: transparent;
        border: none;
        outline: none;
        width: 120px;
        font-size: 14px;
    }

    .search-box .input-group-text {
        background: transparent;
        border: none;
        color: #af8c8c;
    }

.navbar .dropdown-toggle::after {
    display: none;
}

.bg-tile-dashboard {
    background-color: #d9e1e8 !important;
}

.warning-box {
    background-color: #f6e9e9;
    padding: 100px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 800px;
    width: 100%;
    font-size: 1.05rem;
}
.warning-icon {
    font-size: 100px !important;
    display: block !important;
    text-align: center;
    margin-bottom: 65px;
}
.warning-box-body {
    display: block;
    text-align: justify;
}
.position-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: #f8f9fa;
}
.main-content {
    margin-top: 5px;
}


.dr-chart {
    min-height: 384px;
    max-height: 384px;
    border: none;
    border-radius: 15px !important;
}
.logo {
    width: 200px;
    max-width: 100%;
    height: auto;
}

/* Optional: Adjust for smaller screens */
@media (max-width: 768px) {
    .logo {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 140px;
    }
}
.chat-msg {
    margin-bottom: 10px;
}

    .chat-msg strong {
        color: #333;
    }

    .chat-msg.ai {
        background: #e8f0fe;
        padding: 8px 12px;
        border-radius: 8px;
        margin-top: 5px;
    }

    .chat-msg.user {
        background: #e2e3e5;
        padding: 8px 12px;
        border-radius: 8px;
        margin-bottom: 5px;
    }