/* HMS Custom Styles */

/* Sidebar Styles */
.wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    transition: all 0.3s;
    position: relative;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .nav-link {
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.2s;
}

#sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#sidebar .sidebar-header {
    background-color: rgba(0, 0, 0, 0.2);
}

#sidebar .sidebar-footer {
    background-color: rgba(0, 0, 0, 0.2);
    padding-bottom: 80px !important;
}

#content {
    width: 100%;
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Dashboard Cards */
.stat-card {
    border-left: 4px solid;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card.primary {
    border-left-color: #0d6efd;
}

.stat-card.success {
    border-left-color: #198754;
}

.stat-card.warning {
    border-left-color: #ffc107;
}

.stat-card.info {
    border-left-color: #0dcaf0;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: 0.3;
}

/* Table Styles */
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Badge Styles */
.badge-status-scheduled {
    background-color: #0d6efd;
}

.badge-status-completed {
    background-color: #198754;
}

.badge-status-cancelled {
    background-color: #dc3545;
}

.badge-status-pending {
    background-color: #ffc107;
    color: #000;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Form Styles */
.form-label {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

    #sidebar.active {
        margin-left: 0;
    }
}

/* Print Styles */
@media print {
    #sidebar, .navbar, .btn {
        display: none !important;
    }

    #content {
        width: 100%;
        margin: 0;
        padding: 0;
    }
}
