/* Page Directory Styles */
.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    font-size: 14px;
    color: #8a94a6;
}

.breadcrumb-item a {
    color: #3b7ddd;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #2b5db4;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #8a94a6;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #8a94a6;
}


/* Dashboard Styles */

/* Bed status cards */
.dashboard-alert-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 20px !important;
    overflow: hidden;
    border: 1px solid #000 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    height: 160px;
    margin-bottom: 10px;
    position: relative;
}

.dashboard-alert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: #3b7ddd !important;
}

.dashboard-alert-card .card-body {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

/* Status colors */
.dashboard-alert-normal {
    background-color: #ffffff;
}

.dashboard-alert-bed-exit {
    background-color: #97DCF9 !important;
}

.dashboard-alert-sit-up {
    background-color: #D9D9D9 !important;
}

.dashboard-alert-sit-to-stand {
    background-color: #90D96E !important;
}
.dashboard-alert-lie-fall {
    background-color: #BF0400 !important;
}

/* Icon sizes */
.dashboard-alert-icon {
    max-height: 85px;
    max-width: 85px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Main display panel */
.main-display {
    border: 3px solid #24305C !important;
    border-radius: 8px !important;
    background-color: #000033;
}

/* Control buttons */
.control-btn {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000;
    border: 2px solid #6c757d !important;
    border-radius: 10px !important;
    padding: 10px;
    background-color: white;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.control-btn i {
    font-size: 35px;
    margin-bottom: 0px;
}

.control-btn span {
    font-size: 13px;
    font-weight: bold;
    margin-top: -5px;
}

/* Badge styling */
.id-badge {
    background-color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    color: #000 !important;
    border-radius: 0 !important;
}

/* Main container styling */
.dashboard-container .card {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Left panel main card */
.dashboard-container .main-panel-card {
    border-radius: 10px !important;
    border: 1px solid #000 !important;
}

/* Bed title styling */
.dashboard-alert-title {
    font-weight: bold;
    font-size: 1rem;
    margin: 0 !important;
    color: #000;
    width: 100%;
    padding: 8px 0;
    text-align: center;
}

/* Bed grid layout */
.dashboard-alert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 5px;
}

/* Adjust spacing for better layout */
.dashboard-container .row {
    margin-right: -10px;
    margin-left: -10px;
}

.dashboard-container [class*="col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

/* Card content area */
.card-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .dashboard-alert-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-alert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .control-btn {
        width: 70px;
        height: 70px;
        padding: 8px;
    }

    .bed-icon {
        max-height: 40px;
        max-width: 40px;
    }
}

/* Ensure the main display has proper aspect ratio */
.position-relative {
    position: relative;
    width: 100%;
}

/* Ensure icons are properly centered */
.dashboard-alert-card .text-center {
    width: 100%;
}

/* Ensure bed cards have consistent height */
.dashboard-alert-card {
    min-height: 100px;
    display: flex;
    flex-direction: column;
}
