
/* Button styles
FOR VIEW :
    classes = "view-button btn-view"

FOR DOWNLOAD :
    classes = "view-button btn-download"

FOR COMMENTS :
    classes = "view-button btn-comments"

FOR FORWARD :
    classes = "view-button btn-forward"

Toggle Pill:
    <div class="toggle-pill">
        <button class="toggle-pill__btn active">Option 1</button>
        <button class="toggle-pill__btn">Option 2</button>
    </div>
*/



.toggle-pill {
    display: inline-flex;
    background: #ffffff;
    border: 1.5px solid var(--globaltax-app-secondary);
    border-radius: 9px;
    padding: 2px;
    gap: 1px;
}
.toggle-pill__btn {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 12px;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: var(--globaltax-app-primary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.toggle-pill__btn.active {
    background: var(--globaltax-app-primary);
    color: #ffffff;
}
.toggle-pill__btn:disabled,
.toggle-pill__btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.tabs-pill {
    display: inline-flex;
    background: #ffffff;
    border: 1.5px solid var(--globaltax-app-secondary);
    border-radius: 9px;
    padding: 2px;
    gap: 2px;
}
.tabs-pill .tab {
font-size: 12px;
font-weight: 600;
padding: 3px 12px;
border-radius: 9px;
border: none;
background: transparent;
color: var(--globaltax-app-primary);
cursor: pointer;
transition: background 0.15s, color 0.15s;
white-space: nowrap;
}
.tabs-pill .tab.active {
background: var(--globaltax-app-primary);
color: #ffffff;
}

.view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1.5px solid transparent;
    padding: 8px 18px;
    font-size: 11px;
    line-height: 1;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.view-button:hover  { filter: brightness(0.93); }
.view-button:active { filter: brightness(0.85); transform: scale(0.98); }
.view-button:focus  { outline: none; box-shadow: 0 0 0 3px rgba(40,167,69,0.25); }

.download-button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1.5px solid transparent;
    padding: 8px 18px;
    font-size: 11px;
    line-height: 1;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.download-button:hover  { filter: brightness(0.93); }
.download-button:active { filter: brightness(0.85); transform: scale(0.98); }
.download-button:focus  { outline: none; box-shadow: 0 0 0 3px rgba(40,167,69,0 .25); }

/* Button color variants */
.btn-view     { background-color: #406093 !important; border-color: #406093 !important; color: #fff !important; }
.btn-forward  { background-color: #059669 !important; border-color: #059669 !important; color: #fff !important; }
.btn-view .badge, .btn-download .badge, .btn-comments .badge { color: inherit; }
.btn-comments .badge { background-color: #fff !important; color: #7c3aed !important; }
.view-button .glyphicon, .download-button .glyphicon { top: -1px; vertical-align: middle; }

/* Tasks Complete and review buttons */

.neu-button {
  background-color: #007bff;
  border-radius: 16px;
  box-shadow: inset 4px 4px 10px #0056b3, inset -4px -4px 10px #3d9fff;
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 18px;
  transition: all 0.2s ease-in-out;
  border: 2px solid #007bff;
  text-align: center;
  vertical-align: middle;
}
.neu-button:focus {
  outline: none;
  box-shadow: inset 2px 2px 5px #0056b3, inset -2px -2px 5px #3d9fff,
              2px 2px 5px #0056b3, -2px -2px 5px #3d9fff;
}
.neu-button:active {
  box-shadow: inset 5px 5px 12px #0056b3, inset -2px -2px 6px #3d9fff;
  transform: scale(0.98);
}

/* Tasks Save buttons */
.neu-save-button {
  background-color: #17a2b8;
  border-radius: 16px;
  box-shadow: inset 4px 4px 10px #117a8b, inset -4px -4px 10px #5bc0de;
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 18px;
  transition: all 0.2s ease-in-out;
  border: 2px solid #17a2b8;
}
.neu-save-button:focus {
  outline: none;
  box-shadow: inset 2px 2px 5px #117a8b, inset -2px -2px 5px #5bc0de,
              2px 2px 5px #117a8b, -2px -2px 5px #5bc0de;
}
.neu-save-button:active {   
  box-shadow: inset 5px 5px 12px #117a8b, inset -2px -2px 6px #5bc0de;
  transform: scale(0.98);
}   
