/* File: web/css/custom.css */
.error-summary {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.error-summary ul {
    margin: 0;
    padding-left: 20px;
}

.error-summary li {
    list-style-type: disc;
}

.field-error {
    color: #dc3545;
    font-weight: 500;
}

/* Custom background color for sidebar */
.main-sidebar.sidebar-dark-primary {
    background-color: #12175c !important; /* Change to your desired color */
}

/* Optionally, change the text color */
.main-sidebar.sidebar-dark-primary .nav-link {
    color: #ffffff !important; /* Adjust text color for contrast */
}

.nav-item.active {
    color: #1C1C1C;
}

[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active,
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active:hover,
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active:focus {
  background-color: #f0f0f5 !important;
  color: #12175c !important; /* Dark navy text for contrast */
}

.custom-pagination {
    display: flex;
    list-style: none;
    padding-left: 0;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.custom-page-item {
    border: 1px solid #ccc;
    padding: 8px 14px;
    border-radius: 5px;
    background: #f9f9f9;
    transition: background 0.3s;
}

.custom-page-item a.custom-page-link {
    text-decoration: none;
    color: #333;
}

.custom-page-item.active {
    background: #007bff;
    color: #fff;
    font-weight: bold;
}

.custom-page-item.active a {
    color: #fff;
}

.custom-page-item.disabled {
    opacity: 0.6;
}
.pagination {
    list-style: none;
    padding-left: 0;
}
	