/*!
 * Custom specific CSS
 */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.modal-header{
    background-color: #0056b3 !important;
    color: #FFFFFF;
    font-weight: bolder;
}

.modal-body{
    padding: 20px;
    background-color: #e7f3ff;
    color: #000000;
}


.sidebar {
    background: #0056b3;
    min-height: 100vh;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s;
}
.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.sidebar-header h4 {
    color: white;
    margin: 0;
    font-weight: bold;
}
.sidebar-header small {
    color: rgba(255,255,255,0.8);
}
.sidebar-menu {
    padding: 1rem 0;
}
.sidebar-menu .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0;
    transition: all 0.3s;
}

.sidebar-menu .nav-link:hover,
.sidebar-menu .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: white;
    transform: translateX(5px);
}
.sidebar-menu .nav-link i {
    width: 20px;
    margin-right: 10px;
}
.main-content {
    background-color: #e7f3ff;
    margin-left: 250px;
    min-height: 100vh;
}


.top-navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    position: fixed;
    width: calc(100% - 255px);
    z-index: 99;
}
.page-header {
    background: #FFFFFF;
    padding: 1.0rem;
    margin-bottom: 1.0rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 15px;

}
.stats-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 4px solid #dc3545;
    transition: transform 0.2s;
}
.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.stats-card .stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}
.content-card {
    margin-top: 60px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.content-card .card-header {
    background: transparent;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
    font-weight: 600;
}
.content-card .card-body {
    padding: 1.5rem;
}
.btn-custom {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    background-color: #f8f9fa;
    font-weight: 600;
    color: #000000;
}


.category-tabs .nav-link {
    background: #e9ecef;
    color: #6c757d;
    border: none;
    margin-right: 0.5rem;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
}
.category-tabs .nav-link.active {
    background: #007bff;
    color: white;
}
.btn-add-cart {
    background: #28a745;
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.paymentBtn {
    background: #28a745;
    border: none;
    color: white;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.payment-buttons button {
    margin: 0.25rem;
    min-width: 80px;
}

.role-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: inline-block;
}

.admin-dashboard-card {
    border-radius: 12px;
    padding: 1.5rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    height: 100%;
}
.admin-dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.admin-stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.admin-chart-container {
    position: relative;
    height: 300px;
}
.admin-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dc3545;
}
 
.note-container {
    font-family: Arial, sans-serif;
    width: 100%; /* Adjust as needed */
}

#notes {
    min-width:  700px;
    height: auto;
    padding: 12px;
    font-family: 'Courier New', Courier, monospace; /* Medical feel */
    font-size: 14px;
    border-radius: 4px; /* Rounded corners */    
    background-color: #f9f9f9; /* Light gray background */
}

#LogNotes {
    width:  700%;
    height: 150px;
    padding: 12px;
    border: 2px solid #ccc; /* Light gray border */
    border-radius: 8px; /* Rounded corners */
    font-family: 'Courier New', Courier, monospace; /* Medical feel */
    font-size: 14px;
    line-height: 1.5;
    background-color: #f9f9f9; /* Light gray background */
    resize: vertical; /* Allows user to resize height only */
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

/* Style when user clicks in the box */
#doc-notes:focus {
    border-color: #007bff; /* Blue border on focus */
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}
  
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
}

