/* Small lead count cards above the kanban */
.lead-mini-cards .card {
  border-radius: 8px;
}
.lead-mini-cards .card-body {
  padding: 6px 10px !important;
}
.lead-mini-cards .badge {
  font-size: 12px;
}
.lead-mini-cards strong.small {
  font-weight: 700;
}

.kanban-board {
    border: none;
    background-color: #FFFFFFAA;
    box-shadow: 0 1px 3px 0 rgba(69, 90, 100, 0.1);
    border-radius: 10px;
}

.kanban-board .kanban-drag {
    min-height: 80vh!important;
    padding: 10px!important;
}

.kanban-board header {
    padding: 10px!important;
    border-bottom: none!important;
}

.kanban-item {
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    border: 0.5px solid #efefef;
    background-color: #fff;
    box-shadow: 0 0px 10px 0 rgba(69, 90, 100, 0.1);
}

.kanban-item.kanban-age-today {
    /* border: 2px solid #ffc107; */
    border-left: 3px solid var(--bs-primary);
}

.kanban-item.kanban-age-week {
    /* border: 1.5px solid #ffc10788; */
    /* border: 1px solid #ffc107; */
    border-left: 2px solid var(--bs-primary);
}

.kanban-item.kanban-age-month {
    /* border: 1px solid #ffc10744; */
    border-left: 0.5px solid var(--bs-primary);
}

.kanban-container {
    display: flex;
    overflow-x: auto;
    padding-bottom: 1rem;
    min-height: calc(100vh - 300px);
    /* width: calc(100% - 250px); */
    min-width: calc(100vw - 250px);
}
.kanban-column {
    min-width: 300px;
    width: 300px;
    margin-right: 1rem;
    height: 100%;
}
.kanban-column-header {
    padding: 0.75rem;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
}
.kanban-column-body {
    background-color: #f8f9fa;
    border-radius: 0 0 0.25rem 0.25rem;
    padding: 0.75rem;
    min-height: 200px;
    max-height: calc(100vh - 350px);
    overflow-y: auto;
}
.kanban-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    margin: 0;
    padding: 0.75rem;
    width: 100%;
}

.kanban-count-badge {
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7em;
    margin-right: 5px;
}

.kanban-card {
    background-color: white;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: grab;
}
.kanban-card:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
.kanban-card-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.kanban-card-description {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.kanban-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #6c757d;
}
.kanban-add-card {
    display: block;
    text-align: center;
    padding: 0.5rem;
    background-color: #e9ecef;
    border-radius: 0.25rem;
    margin-top: 0.75rem;
    color: #495057;
    text-decoration: none;
}
.kanban-add-card:hover {
    background-color: #dee2e6;
}

.dropdown-menu {
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
}

.dropdown-header {
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
}

.btn-outline-secondary {
    border-color: #e9ecef;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}

.tag-filter-label:hover {
    opacity: 0.8;
}

.badge {
    /* font-size: 0.75rem; */
    padding: 0.25rem 0.5rem;
}

.dropdown-item.period-option.active, .dropdown-item.created-period-option.active {
    background-color: #0d6efd;
    color: white;
}

.dropdown-item.period-option.active:hover, .dropdown-item.created-period-option.active:hover {
    background-color: #0b5ed7;
    color: white;
}