@import '~bootstrap/scss/bootstrap';
@import './theme.scss';


body {
  background-color: var(--bs-custom-body-bg);
}

a, .btn-link {
  color: var(--bs-primary);
  text-decoration: none;
}

.btn:focus-visible,
.btn:hover,
.btn:active,
:not(.btn-check) + .btn:active {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  box-shadow: var(--bs-primary);
}

a:hover, .btn-link:hover {
  color: var(--bs-primary);
}

.poppins-thin {
  font-family: "Poppins", serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", serif;
  font-weight: 900;
  font-style: italic;
}

// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 200 to 800

.plus-jakarta-sans-thin {
  font-family: "Plus Jakarta Sans", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.plus-jakarta-sans-regular {
  font-family: "Plus Jakarta Sans", serif;
  font-optical-sizing: auto;
  font-weight: 500; // semibold
  font-style: normal;
}

.plus-jakarta-sans-semibold {
  font-family: "Plus Jakarta Sans", serif;
  font-optical-sizing: auto;
  font-weight: 600; // semibold
  font-style: normal;
}

.plus-jakarta-sans-bold {
  font-family: "Plus Jakarta Sans", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

/* On medium screens and larger */
@media (min-width: 992px) {
  .main-margin {
    margin-top: 2rem;
  }
}

/* On small screens, content takes full width by default */
@media (max-width: 991.98px) {
  .main-margin {
    margin-top: 5rem;
  }
}

.border-radius-30 {
  border-radius: 30px;
}

.min-height-350 {
  min-height: 350px;
}

.about-title {
  font-size: 20px;
}

.home-hello {
  font-size: 28px;
  color: #233C46;
}

.home-subtitle {
  color: #A1A1A1;
  font-size: 14px;
  line-height: 21px;
}

.home-productive {
  color: var(--bs-primary);
}

.font-size-14 {
  font-size: 14px;
}

.task-note-external-link {
  margin-left: 0.5rem;
}

.task-note-external-link img {
  margin-top: -3px;
}

.home-new-item {
  border: 1px solid var(--bs-btn-new-btn-item-bg);
  border-radius: 3px;
  padding: 8px 16px;
  color: var(--bs-btn-new-btn-item-color);
  background-color: var(--bs-btn-new-btn-item-bg);
  font-weight: 500;
}

.home-new-item:hover {
  background-color: #36d451;
}

.home-new-item-secondary {
  border: 1px solid #272d33;
  border-radius: 3px;
  padding: 8px 16px;
  color: #e0e0e0;
  background-color: #272d33;
}

.home-new-item-secondary:hover {
  background-color: #333b42;
}

.home-new-item-danger {
  border: 1px solid #FB1A41;
  border-radius: 3px;
  padding: 8px 16px;
  color: #fff;
  background-color: #FB1A41;
  font-weight: 500;
}

.home-new-item-danger:hover {
  background-color: #d91638;
}

.home-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  margin-right: 0.5rem;
}

.task-note-btn {
  height: 48px;
}

pre {
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 4px;
  padding: 10px;
  margin-top: 5px;
  overflow-x: auto;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.5;
  tab-size: 2; /* Controls tab width */
  white-space: pre;
}

code {
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 12px;
  color: #333;
}

/* For inline code (not in pre blocks) */
:not(pre) > code {
  background-color: #f0f0f0;
  padding: 2px 4px;
  border-radius: 3px;
  color: #d63384;
}

.input-group-text {
  padding: 0.375rem 0.10rem 0.375rem 0.75rem;
}

.input-group > .form-control {
  border-left: none;
}

.form-control:focus {
  box-shadow: none;
  outline: none;
  border-color: var(--bs-border-color);
}

.form-control:invalid {
  box-shadow: none;
  outline: none;
  border-color: var(--bs-border-color);
}

.form-control:invalid:focus {
  box-shadow: none;
  outline: none;
  border-color: var(--bs-border-color);
}

.was-validated .form-control:invalid:focus {
  box-shadow: none;
  outline: none;
  border-color: var(--bs-border-color);
}

.was-validated .form-control:valid,
.was-validated .form-control:valid:focus {
  box-shadow: none;
  outline: none;
  border-color: var(--bs-border-color);
}

.dropdown-toggle.btn.btn-success {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  border: none;
}

.home-filter {
  all: unset;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 4px;
}

.home-filter.home-high {
  background-color: #d63031;
  color: #FFFFFF;
}
.home-filter.home-all {
  background-color: #feca57;
  color: #000;
}
.home-filter.home-tag {
  background-color: #E0E0E0;
  color: #212121;
}

p.search-result-item-title {
  font-size: 16px;
  margin-bottom: 0;
  margin-left: 2px;
}
.search-result-item {
  font-size: 16px;

}

.dropdown-menu {
  border: 1px solid var(--bs-border-color);
}

.task-due-date {
  font-size: 11px;
}

.high-importance {
  border-left: 5px solid #FFD54F !important;
  box-shadow: 0 4px 8px var(--bs-box-shadow);
}

.span-line-break {
  white-space: pre;
}

.btn.btn-dark {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1030;
}

.btn-action {
  margin-right: 0.5rem;
}

.task-card {
  margin-bottom: 1rem;
}

.task-completed {
  opacity: 0.7;
}

.task-completed .card-title {
  color: var(--bs-secondary-color);
}

.dropdown-toggle::after {
  display: none!important;
}

.task-card-footer {
  background-color: var(--bs-card-bg) !important;
  border-top: var(--bs-card-bg) !important;
}

/* Radio Buttons */
/* Container styling */
.radio-group-container {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

/* Label styling */
.radio-group-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Radio buttons wrapper */
.radio-buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Custom radio button styling */
.custom-radio-button .form-check-input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  cursor: pointer;
  border: 2px solid #6c757d;
}

.custom-radio-button .form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.custom-radio-button .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  border-color: var(--bs-primary);
}

.custom-radio-button .form-check-label {
  font-size: 1rem;
  padding-left: 0.3rem;
  cursor: pointer;
  color: #495057;
  transition: color 0.2s;
}

.custom-radio-button:hover .form-check-label {
  color: var(--bs-primary);
}

/* Selected option text */
.selected-option {
  font-weight: 500;
  color: #0d6efd;
  margin-top: 1rem;
  padding: 0.5rem;
  background-color: rgba(13, 110, 253, 0.1);
  border-radius: 4px;
  display: inline-block;
}

.add-button svg {
  margin-right: .5rem;
  margin-left: -1rem;
  margin-top: -3px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .radio-buttons-wrapper {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.badge-sm {
  font-size: 0.8rem;
  padding: 0.35em 0.65em;
}

.dropdown-item:hover .badge {
  opacity: 0.8;
}

.dropdown-item.active .badge {
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}
