/* 
   LLRP - Specific Styles for Dashboard Cards 
   (Global design reverted to original as per user request)
*/

/* Custom helpers for dashboard cards */
.transition-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.fw-800 {
    font-weight: 800 !important;
}

.fw-900 {
    font-weight: 900 !important;
}

.fw-bold-extra {
    font-weight: 900 !important;
}

.fs-card-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.fs-card-value {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
}

.fs-card-label {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
}

/* Specific styling for the summary matrix */
.matrix-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

/* Notification styles (if needed to keep functional) */
#notificationDropdown .dropdown-menu {
    border: none;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Scoped card header for dashboard */
.dashboard-card-header {
    background: transparent !important;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem;
    font-weight: 700;
}

/* Global Responsive Fixes */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Navbar Responsiveness */
.navbar-brand {
    white-space: normal;
    max-width: 70%;
}

@media (max-width: 576px) {
    .navbar-brand span {
        font-size: 1rem;
    }

    .navbar-brand img {
        height: 30px;
    }
}

/* Chat Widget Responsiveness */
@media (max-width: 400px) {
    #chat-container {
        width: 95vw !important;
        right: -10px !important;
        height: 80vh !important;
    }

    #chat-fab {
        width: 50px !important;
        height: 50px !important;
    }

    #chat-container {
        bottom: 70px !important;
    }
}

/* Chat Input Visibility Enhancements */
#chat-input-msg:focus {
    background-color: #fff !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    border-color: #0d6efd !important;
    outline: none;
}

.card-footer {
    transition: all 0.3s ease;
}

#chat-form:focus-within .card-footer {
    background-color: #f8f9fa !important;
}


/* Table Responsiveness override */
.table-responsive {
    border: none;
}

/* Fix for long text in cards */
.card-body {
    word-wrap: break-word;
}

/* Navbar title adjustment */
.navbar-title-text {
    line-height: 1.2;
    font-size: 1.15rem;
}

@media (max-width: 768px) {
    .navbar-title-text {
        font-size: 1rem;
    }
}

/* Card spacing on small screens */
@media (max-width: 576px) {
    .card-body {
        padding: 1rem !important;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .display-3 {
        font-size: 2.25rem;
    }
}