main > .container, main > .container-fluid
{
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: transparent !important;
    border-radius: 0;
    padding: .75rem 0;
    margin-bottom: 0;
}

.breadcrumb-item > a {
    text-decoration: none;
    color: var(--bs-secondary);
    transition: color 0.2s ease;
}

.breadcrumb-item > a:hover {
    color: var(--bs-primary);
}

.breadcrumb-item.active {
    color: var(--bs-secondary-text);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-secondary);
}

/* Dashboard Gradients */
.bg-gradient-primary {
    background: linear-gradient(45deg, #4e73df 0%, #224abe 100%);
}

.bg-gradient-success {
    background: linear-gradient(45deg, #1cc88a 0%, #13855c 100%);
}

.bg-gradient-info {
    background: linear-gradient(45deg, #36b9cc 0%, #258391 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(45deg, #858796 0%, #60616f 100%);
}

/* Card Animations */
.card {
  transition: none !important;
  transform: none !important;
  overflow: hidden;
}

.card:hover {
  transform: none !important;
}

.card-header {
  border-bottom: 0;
}

.list-group-flush .list-group-item:first-child {
  border-top: 0;
}

.reminder-items .reminder-item:not(:last-child) {
  margin-bottom: 1rem;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.text-gray-800 {
  color: #2d3748;
}

/* List Group Hover Effects */
.list-group-item-action:hover {
  background-color: rgba(0,0,0,.03);
}

/* Reminder Item Styles */
.reminder-item {
  transition: none !important;
  background-color: rgba(255, 255, 255, 0.03);
}

.reminder-item:hover {
  transform: none !important;
  background-color: rgba(0, 0, 0, 0.03) !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Update the app-content-header if needed */
.app-content-header {
    background: transparent;
    border-bottom: none;
    margin-bottom: 1rem;
}

/* Form Input Styles */
.form-control {
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    transition: all 0.2s ease-in-out;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--bs-gray-700);
    margin-bottom: 0.5rem;
}

textarea.form-control {
    min-height: 120px;
}

/* Range Input Styling */
input[type="range"] {
    height: 6px;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.1);
}

input[type="range"]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bs-primary);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* Select Dropdown Styling */
.form-select {
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    background-position: right 1rem center;
}

.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.1);
}

/* Date Picker Styling */
.ui-datepicker {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    padding: 0.5rem;
}

.ui-datepicker .ui-datepicker-header {
    border: none;
    background: var(--bs-primary);
    color: white;
    border-radius: 0.3rem;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-default {
    border: none;
    background: transparent;
    text-align: center;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-active {
    background: var(--bs-primary);
    color: white;
    border-radius: 0.3rem;
}

/* Select Dropdown Styling */
.form-select {
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    background-position: right 1rem center;
}

.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.1);
}

/* Date Picker Styling */
.ui-datepicker {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    padding: 0.5rem;
}

.ui-datepicker .ui-datepicker-header {
    border: none;
    background: var(--bs-primary);
    color: white;
    border-radius: 0.3rem;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-default {
    border: none;
    background: transparent;
    text-align: center;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-active {
    background: var(--bs-primary);
    color: white;
    border-radius: 0.3rem;
}

.kpi-list-container {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.kpi-list-container::-webkit-scrollbar {
    width: 6px;
}

.kpi-list-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.kpi-list-container::-webkit-scrollbar-thumb {
    background: rgba(78, 115, 223, 0.5);
    border-radius: 3px;
}

.kpi-list-container::-webkit-scrollbar-thumb:hover {
    background: rgba(78, 115, 223, 0.7);
}

.list-group-item {
    border-left: 4px solid !important;
    border-right: none;
    background: rgba(255, 255, 255, 0.03);
    transition: none !important;
}

/* Border color classes */
.border-success {
    border-left-color: var(--bs-success) !important;
}

.border-primary {
    border-left-color: var(--bs-primary) !important;
}

.border-info {
    border-left-color: var(--bs-info) !important;
}

.border-warning {
    border-left-color: var(--bs-warning) !important;
}

.border-danger {
    border-left-color: var(--bs-danger) !important;
}

.list-group-item:hover {
    transform: none !important;
    background: rgba(255, 255, 255, 0.06);
}

.list-group-item a {
    color: #e9ecef;
    text-decoration: none;
    transition: all 0.2s ease;
}

.list-group-item a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.list-group-item .badge {
    transition: all 0.2s ease;
}

.list-group-item:hover .badge {
    transform: scale(1.1);
}

.border-dashed {
    border-style: dashed !important;
}

.cursor-pointer {
    cursor: pointer;
}

.upload-zone {
    transition: all 0.3s ease;
    border-color: #dee2e6;
}

.upload-zone:hover {
    border-color: var(--bs-primary);
    background-color: rgba(78, 115, 223, 0.05);
}

.file-preview {
    transition: all 0.3s ease;
}

.file-preview:hover {
    background-color: #f8f9fa;
}

.dropzone {
    border: 2px dashed #dee2e6;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.dropzone:hover {
    border-color: var(--bs-primary);
    background: rgba(78, 115, 223, 0.05);
}

.reminder-list {
    max-height: 300px;
    overflow-y: auto;
}

.reminder-item {
    transition: background-color 0.2s ease;
}

.reminder-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.form-check-input:checked + label {
    text-decoration: line-through;
    opacity: 0.6;
}
.modalButton {
    transition: all 0.3s ease;
}

/* Prevent hover movements on Business Manager dashboard */
.card {
    transition: none !important;
    transform: none !important;
}
.card:hover {
    transform: none !important;
}
.list-group-item {
    transition: none !important;
}
.list-group-item:hover {
    transform: none !important;
}
.d-flex {
    transition: none !important;
}
.d-flex:hover {
    transform: none !important;
}

/* queue-dashboard */

.bg-gradient-light {
    background: linear-gradient(135deg, #f0f4ff, #ffffff);
}

.badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead {
    background-color: #2c3e50;
    color: white;
}

.table th, .table td {
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

.font-monospace {
    font-family: Consolas, Courier, monospace;
}

.pagination .page-link {
    border-radius: 20px;
    margin: 0 2px;
}

.pagination .page-item.active .page-link {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.card .fa-folder-open {
    opacity: 0.5;
}

/* Vertically align nav text with nav icon in sidebar */
.sidebar-wrapper .nav-link {
  display: flex;
  align-items: center;
}

.sidebar-wrapper .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-wrapper .nav-link p {
  display: flex;
  align-items: center;
  margin: 0;
  padding-left: 0.5rem;
  height: 1.5rem; /* Match icon height */
}

/* the design for the community page index */

.community-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: transparent;
    min-height: 100vh;
}

.community-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 2rem;
}

.news-item {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.news-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.news-actions .btn {
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.news-actions .btn:hover {
    background-color: #e9ecef;
}

.news-content {
    color: #6c757d;
    line-height: 1.7;
}

.card {
    transition: transform 0.3s ease;
    color: #e3e6eb;
}

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

.btn-primary {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.calendar-widget {
    border-radius: 1rem;
    padding: 1.5rem;
    color: #e3e6eb;
}

.new-messages-list a {
    color: #495057;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.new-messages-list a:hover {
    color: #0d6efd;
    background-color: #f8f9fa;
    padding-left: 1rem;
}

.hover-shadow {
    transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.categories-title {
    margin-bottom: 0.75rem !important;
}

.categories-btn-group {
    margin-top: 0.75rem;
    margin-left: 1rem;
}

/* Hero Section */
.community-hero-section {
    background: linear-gradient(90deg, #23272f 0%, #2d323c 100%);
    border: none;
}
.text-gradient {
    background: linear-gradient(90deg, #6366f1, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.btn-gradient {
    background: linear-gradient(90deg, #6366f1, #0ea5e9);
    color: #fff;
    border: none;
}
.btn-gradient:hover, .btn-outline-gradient:hover {
    background: linear-gradient(90deg, #0ea5e9, #6366f1);
    color: #fff;
}
.btn-outline-gradient {
    border: 2px solid #6366f1;
    color: #6366f1;
    background: transparent;
}
.btn-outline-gradient:hover {
    background: #6366f1;
    color: #fff;
}
.timeline {
    border-left: 4px solid #353a45;
    margin-left: 1rem;
    padding-left: 2rem;
}
.timeline-item {
    position: relative;
    background: #23272f;
    border-left: 6px solid #6366f1;
    color: #e3e6eb;
}
.timeline-item:before {
    content: '';
    position: absolute;
    left: -2.1rem;
    top: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
    background: #6366f1;
    border-radius: 50%;
    border: 3px solid #23272f;
    box-shadow: 0 0 0 2px #353a45;
}
.sidebar-card {
    border: none;
    border-radius: 1.5rem;
    color: #e3e6eb;
}
.event-card {
    background: #23272f;
    border-radius: 1rem;
    padding: 1rem;
    color: #e3e6eb;
}
.new-message-link {
    color: #bfc4cc;
}
.new-message-link:hover {
    color: #6366f1;
    background: #23272f;
    padding-left: 0.5rem;
}

/* the design for the organization/view page*/


.folder-card:hover {
    background-color:rgb(50, 132, 255);
    border-color: #0d6efd;
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;
}
.hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    transform: scale(1.02);
    transition: all 0.2s ease-in-out;
}