#nav-logo {
    margin-left: 10px;
}

#page-container {
    min-height: 100vh;
    transition: transform 0.5s;
}
#msgbox {
    position: fixed;
    top: -100px; /* Start off-screen for slide-in effect */
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
    max-width: 80%;
    padding: 1rem;
    border-radius: 5px;
    z-index: 4000;
    color: #fff; /* Default white text color for readability */
    font-weight: bold;
    transition: top 0.5s ease;
}
.navbar-right {
    margin-left: auto;
}

.margin-right-10px {
	margin-right: 10px;
}

.status-text {
    font-size: 1.25rem; /* Adjust size as needed */
    font-weight: bold;
    color: white;
}

.error-message {
	color: red;
}

/* Default link styles for light theme */
body a {
    color: #0d6efd; /* Bootstrap default blue */
    text-decoration: none;
}

body a:hover {
    color: #084298; /* Darker blue on hover */
}

/* Link styles for dark theme */
body.bg-dark a {
    color: #7cbfff; /* Lighter blue for dark theme */
}

body.bg-dark a:hover {
    color: #a3d1ff; /* Even lighter blue on hover */
}

/* Prevent navbar links from being affected */
#nav a:hover{
    color:  #0d6efd;
    text-shadow: 0 0 12px rgba(124, 191, 255, 0.7);
}

/* Make navbar links bolder */
#nav .nav-link {
    font-weight: 600; /* Adjust as needed */
}

.alert-success {
    background-color: #d1e7dd !important; /* Lighter success color */
    color: #0f5132 !important; /* Darker success text color */
}

.alert-danger {
    background-color: #f8d7da !important; /* Lighter danger color */
    color: #842029 !important; /* Darker danger text color */
}

.alert-warning {
    background-color: #fff3cd !important; /* Lighter warning color */
    color: #856404 !important; /* Darker warning text color */
}

.alert-info {
    background-color: #cff4fc !important; /* Lighter info color */
    color: #055160 !important; /* Darker info text color */
}

.disabled {
    pointer-events: none;
    opacity: 0.5; /* Optional: to indicate the page is disabled */
}

.modal {
    top: 100px !important; /* Adjust modal vertical position */
    z-index: 9000 !important; /* Ensure modals appear above other elements */
}

/* ========================================
   Task Pane Styling (Global)
   ======================================== */
#task-pane {
    position: fixed;
    top: 75px;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: #f8f9fa;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1100;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

#task-pane.visible {
    opacity: 1;
    display: block;
    transform: translateX(0);
}

#close-task-pane {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
}

#close-task-pane:hover {
    color: #dc3545;
}

/* Compact task pane styling */
#task-pane h5 {
    font-size: 1rem;
    margin: 0;
}

#task-pane .list-group-item {
    padding: 0.35rem 0.5rem;
}

#task-pane .list-group-item .btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
}

#task-pane .form-group {
    margin-bottom: 0.5rem;
}

#task-pane .form-group label {
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
}

#task-pane .form-control {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
}

#task-pane .form-control:focus {
    box-shadow: none;
}

/* Mobile responsiveness for task pane */
@media (max-width: 768px) {
    #task-pane .list-group-item .btn {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
        min-height: 44px;
    }
    
    #task-pane .form-control {
        font-size: 1rem;
        padding: 0.375rem 0.75rem;
        min-height: 44px;
    }
}
