.button_selected{
    border: 2px solid black;
}
/*
@media (max-width: 576px){
    #logTaskTable tbody{
        word-break: break-word;
    }

    #logTaskTable td{
        display: none;
    }

    #logTaskTable td:first-child {
        display: block;
    }

    #logTaskTable th{
        display: none;
    }

    #logTaskTable th:first-child {
        display: block;
        width: auto !important;
    }
}*/

.w-20{
    width: 20%;
}
.w-30{
    width: 30%;
}
.w-40{
    width: 40%;
}
.w-60{
    width: 60%;
}
.w-70{
    width: 70%;
}
.w-80{
    width: 80%;
}
.w-90{
    width: 90%;
}

#options-mobile{
    width: 25em;
    right: -99px;

}

#profile-mobile{
    width: 25em;
}


.fc-toolbar { 
    text-transform: capitalize; 
}

.topIndex{
    z-index: 10000;
}

.badge-progress{
    color:#fff;background-color:#863be7
}
a.badge-progress:focus,a.badge-progress:hover{
    color:#fff;background-color:#6e31bd
}
a.badge-progress.focus,a.badge-progress:focus{
    outline:0;box-shadow:0 0 0 .2rem rgba(109,14,232,.5)
}

.btn-progress{
    color:#fff;background-color:#863be7;border-color:#863be7
}
.btn-progress:hover{
    color:#fff;background-color:#6e31bd;border-color:#6e31bd
}
.btn-progress.focus,.btn-progress:focus{
    color: #fff;background-color:#6e31bd;border-color:#6e31bd;box-shadow:0 0 0 .2rem rgba(109,14,232,.5)
}
.btn-progress.disabled,.btn-progress:disabled{
    color: #fff;background-color:#863be7;border-color:#863be7
}
.btn-progress:not(:disabled):not(.disabled).active,.btn-progress:not(:disabled):not(.disabled):active,.show>.btn-progress.dropdown-toggle{
    color:#fff;background-color:#58229e;border-color:#58229e
}
.btn-progress:not(:disabled):not(.disabled).active:focus,.btn-progress:not(:disabled):not(.disabled):active:focus,.show>.btn-progress.dropdown-toggle:focus{
    box-shadow:0 0 0 .2rem rgba(109,14,232,.5)
}

.bg-progress{
    background-color:#863be7!important
}
a.bg-progress:focus,a.bg-progress:hover,button.bg-progress:focus,button.bg-progress:hover{
    background-color:#58229e!important
}

.text-progress{
    color:#863be7!important
}
a.text-progress:focus,a.text-progress:hover{
    color:#6e31bd!important
}

.border-left-progress{
    border-left:.25rem solid#863be7!important
}


/* kanban styles */

body {
  background: #f0f2f5;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
}

/* ── TOOLBAR ── */
.toolbar {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.toolbar h5 {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
}
.toolbar-sep {
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,.3);
  flex-shrink: 0;
}
.total-badge {
  background: rgba(255,255,255,.2);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.quick-input input {
  width: 260px;
  font-size: 12.5px;
  border: none;
  border-radius: 7px;
  padding: 5px 11px;
  outline: none;
  background: rgba(255,255,255,.9);
  color: #333;
}
.quick-input input::placeholder { color: #999; }
.quick-input input:focus { background: #fff; }

.btn-add-full {
  background: rgba(255,255,255,.22);
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.btn-add-full:hover { background: rgba(255,255,255,.36); }

#filterCat {
  font-size: 12px;
  border: none;
  border-radius: 7px;
  padding: 5px 10px;
  background: rgba(255,255,255,.9);
  color: #333;
  outline: none;
  max-width: 160px;
}

/* ── BOARD ── */
.board-wrapper {
  display: flex;
  gap: 14px;
  padding: 16px;
  overflow-x: auto;
  align-items: flex-start;
  min-height: calc(100vh - 58px);
}

/* ── COLUMNS ── */
.kanban-col {
  border-radius: 10px;
  width: 275px;
  min-width: 275px;
  display: flex;
  flex-direction: column;
}
/*

.col-backlog    { background: #e9ecef; }
.col-todo       { background: #fff3e0; }
.col-inprogress { background: #e3f2fd; }
.col-done       { background: #e8f5e9; }
.col-close      { background: #e9ecef; }
*/
.col-header {
  padding: 10px 10px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.col-dot {
  width: 10px;
  height: 10px;
  /*border-radius: 50%;*/
  flex-shrink: 0;

  border-radius: 50% !important;
    margin-right: 5px;
}

}
.col-title {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: #444;
}
.col-badge {
  background: rgba(0,0,0,.13);
  font-size: 11px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 20px;
  color: #333;
      margin-left: 2px;
}
.btn-hide-col {
  background: none;
  border: none;
  color: #aaa;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 5px;
  cursor: pointer;
  line-height: 1;
  transition: color .15s, background .15s;
}
.btn-hide-col:hover {
  background: rgba(0,0,0,.08);
  color: #555;
}

.col-body {
  padding: 4px 8px 8px;
  flex: 1;
}
.card-list {
  min-height: 48px;
  padding: 0;
  margin: 0;
}

/* ── SORTABLE ── */
.sortable-ghost .task-card {
  opacity: 0;
  border: 2px dashed #aaa;
  border-radius: 8px;
  background: #f5f6ff;
  box-shadow: none;
}
.sortable-chosen .task-card {
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transform: rotate(1.5deg);
  cursor: grabbing;
}
.sortable-drag .task-card { opacity: 1; }

/* ── CARDS ── */
.task-card {
  background: #fff;
  border-radius: 8px;
  padding: 9px 11px;
  margin-bottom: 7px;
  cursor: grab;
  border: 1.5px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,.09);
  transition: box-shadow .15s, border-color .15s;
  user-select: none;
  list-style: none;
}
.task-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.13);
  border-color: #c8d0e8;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
}
.card-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a237e;
  flex: 1;
  word-break: break-word;
  line-height: 1.4;
}
.card-actions {
  display: flex;
  gap: 1px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .15s;
}
.task-card:hover .card-actions { opacity: 1; }
.card-actions button {
  background: none;
  border: none;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  color: #aaa;
  line-height: 1;
}
.card-actions button:hover {
  background: #f0f0f0;
  color: #444;
}

/* ── TAGS ── */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}
.tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.tag-overdue  { background: #fde8e8; color: #e65100; }
.tag-blocked  { background: #fce4ec; color: #b71c1c; }
.tag-priority { background: #fff3e0; color: #0d47a1; }
.tag-effort   { background: #e3f2fd; color: #0d47a1; }
.tag-cat      { background: #e8f5e9; color: #0d47a1; }

/* ── HIDDEN COLUMN PILL ── */
.col-hidden-pill {
  writing-mode: vertical-rl;
  background: rgba(0,0,0,.06);
  border-radius: 10px;
  width: 36px;
  min-width: 36px;
  cursor: pointer;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #666;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  border: 2px dashed #ccc;
  transition: background .15s;
}
.col-hidden-pill:hover { background: rgba(0,0,0,.1); }

/* ── MODAL ── */
.modal-content {
  border-radius: 12px;
  border: none;
}
.modal-header {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-radius: 12px 12px 0 0;
}
.modal-header .btn-close { filter: invert(1); }
.modal-footer {
  border-top: 1px solid #eee;
  padding: 10px 16px;
}
.form-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #444;
  margin-bottom: 3px;
}
.form-label-blocked {
  font-size: 13px;
  font-weight: 600;
  color: #c62828;
}
.form-control,
.form-select {
  font-size: 13px;
  border-radius: 7px;
}
.form-control:focus,
.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102,126,234,.18);
}
.btn-primary {
  background: #667eea;
  border-color: #667eea;
}
.btn-primary:hover {
  background: #5567d4;
  border-color: #5567d4;
}
