.certificate-card img {
  transition: transform 0.3s ease;
}

.certificate-card img:hover {
  transform: scale(1.05);
}

.cookie-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #222;
  color: #fff;
  padding: 20px 15px;
  z-index: 9999;
  font-size: 1rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
  pointer-events: none;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.hide-banner {
  display: none !important;
  transform: translateY(-100%);
  opacity: 0;
}

.cookie-banner .container {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid #ffbf08;
  border-radius: 8px;
  padding: 20px;
}

.cookie-banner a {
  color: #ffa500;
  text-decoration: underline;
}

.cookie-banner .cookie-btn {
  margin-top: 15px;
  padding: 8px 16px;
  font-size: 1rem;
}

.cookie-banner p {
  font-size: 1.4em;
  font-family: var(--font-patrick-hand);
}

.custom-tooltip1 {
  z-index: 10000 !important; /* just above your banner */
}

#debugToggleBtn {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1050;
  background: #dc3545;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(220, 53, 69, 0.7);
  transition: background-color 0.3s ease;
}
#debugToggleBtn:hover {
  background: #bd2130;
}

#debugPanel {
  position: fixed;
  top: 80px;
  left: 80px;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  background: #212529;
  color: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(33, 37, 41, 0.8);
  font-family: monospace;
  font-size: 14px;
  z-index: 1050;
}
#debugPanel h5 {
  margin-bottom: 1rem;
}
#debugPanel .btn-close {
  position: absolute;
  top: 10px;
  right: 10px;
}
#debugPanel .accordion-button {
  background-color: #343a40;
  color: #ffc107;
  font-weight: bold;
}
#debugPanel .accordion-button:focus {
  box-shadow: none;
}
#debugPanel .accordion-button::after {
  filter: brightness(2);
}
#debugPanel .accordion-body {
  background-color: #343a40;
  padding: 0.75rem;
  border-radius: 0.375rem;
  color: #f8f9fa;
  font-family: monospace;
}
#debugPanel .accordion-body strong {
  color: #ffc107;
  display: block;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}
#debugPanel .accordion-body pre {
  background-color: #2b2f33;
  padding: 0.5rem;
  border-radius: 0.375rem;
  white-space: pre-wrap;
  word-break: break-word;
  color: #f8f9fa;
}
#debugPanel .accordion-body .section-block {
  margin-bottom: 1rem;
}

@media (max-width: 576px) {
  /* Debug panel adjustments */
  #debugPanel {
    position: fixed;
    top: 80px;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    border-radius: 0.25rem;
  }
  /* Reset padding/margins for utility classes */
  .ps-4, .px-2, .m-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Stack columns */
  main .row > .col-3,
  main .row > .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  main .row > .col-3,
  main .row > .col-6,
  main .row > .col-3:last-child {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.formh1 {
  font-family: var(--font-satisfy) !important;
}

/* Fix popover icon alignment with help text */
.form-text {
  width: auto !important;
  max-width: 100%;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem;
  flex-wrap: nowrap;
}

.invalid-feedback.d-inline {
  color: #dc3545; /* Bootstrap danger color */
  font-size: 0.875em;
  margin: 0;
}

.mylogo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.mylogo-medium {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.mylogo-sm {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Parent wrapper to center vertically and horizontally */
.congrats-wrapper-parent {
  display: flex;
  justify-content: center; /* horizontal centering */
  align-items: center; /* vertical centering */
  width: 100%;
  padding: 2rem 1rem; /* spacing for small screens */
  box-sizing: border-box;
}

/* Inner wrapper */
.congrats-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%; /* full width on small screens */
  margin: 0 auto; /* center horizontally */
  box-sizing: border-box;
}

/* Alert box */
.congrats-wrapper .alert {
  width: 100%;
  max-width: 500px; /* keeps MD/LG nice and narrow */
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

/* Small screens tweaks */
@media (max-width: 767.98px) {
  .congrats-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .congrats-wrapper .alert {
    width: 100%; /* alert fills small screen properly */
    max-width: 100%; /* override MD/LG max-width */
  }
}
img.profileImage {
  width: 200px;
  height: 200px;
  border-radius: 50% !important;
  object-fit: cover;
}

.introheading {
  font-size: 2.6em;
}

.introtext {
  font-size: 1.8em;
}

/* fonts in coming soon */
#coming-soon .card-body .list-group .list-group-item.font-satisfy {
  font-size: 1.4rem;
  letter-spacing: 2px;
}

#coming-soon .card-body .card-title {
  font-size: 2.6rem;
}

.even {
  background-color: #cfe2ff !important;
}

.odd {
  background-color: #fff3cd !important;
}

.projects a {
  text-decoration: none;
}

.lefth2 {
  font-family: var(--font-shadows-into-light-two);
}

/* inner nav - middle section */
/* Custom dark dropdown Yellow bg item hover */
.dropdown-menu .dropdown-item:hover {
  background-color: #ffc107; /* Bootstrap warning color */
  color: #212529 !important; /* Dark text for contrast */
}

.custom-tooltip1 {
  --bs-tooltip-bg: #6c757d !important;
  --bs-tooltip-color: #fff !important;
  --bs-tooltip-padding-x: 1rem !important; /* Horizontal padding */
  --bs-tooltip-padding-y: 1rem !important; /* Vertical padding */
}

.custom-tooltip2 {
  --bs-tooltip-bg: #ffc107 !important; /* Bootstrap warning color */
  --bs-tooltip-color: #000 !important; /* black text */
  border: 1px solid #000; /* black border */
  box-shadow: none; /* optional: remove default shadow */
  border-radius: 0.375rem; /* Bootstrap default rounded corners */
}

.custom-tooltip3 {
  --bs-tooltip-bg: #301934 !important;
  --bs-tooltip-color: #C8A4D4 !important;
}

.wine-accordion .accordion-button {
  background-color: #000;
  color: #d4af37;
}
.wine-accordion .accordion-button:not(.collapsed) {
  background-color: #000;
  color: #d4af37;
  box-shadow: none;
}
.wine-accordion .accordion-button:focus {
  box-shadow: none;
}
.wine-accordion .accordion-button::after {
  filter: invert(85%) sepia(80%) saturate(400%) hue-rotate(320deg) brightness(1) contrast(1);
  color: #d4af37;
}
.wine-accordion .accordion-body .wine-accordion-gold {
  background-color: #000;
  color: #d4af37;
}

.flash-green {
  background-color: #28a745 !important;
  color: #fff !important;
  transition: background-color 0.5s ease;
}

.flash-red {
  background-color: #dc3545 !important;
  color: #fff !important;
  transition: background-color 0.5s ease;
}

.youtube-thumbnail {
  position: relative;
  display: inline-block;
}
.youtube-thumbnail img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.youtube-thumbnail .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: background-color 0.3s ease;
}
.youtube-thumbnail .play-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-left: 20px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.youtube-thumbnail:hover .play-button {
  background-color: rgba(0, 0, 0, 0.8);
}

/* TODO Page ***********************************************/
/* Open Sans example */
.open-sans-todo {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

/* Shadows Into Light Two */
.shadows-into-light-two {
  font-family: "Shadows Into Light Two", cursive;
  font-weight: 400;
  font-style: normal;
}

/* Dancing Script examples */
.dancing-script-todo-400 {
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.dancing-script-todo-700 {
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

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

/* Smooth collapse transition */
.smooth-collapse {
  transition: max-height 0.3s ease, padding 0.3s ease;
  overflow: hidden;
}

/* Flex layout for list items to push button to the right */
ul.items .item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#todolists .inner {
  margin-left: 20px;
}

#todolists .inner ol.a {
  list-style-type: lower-alpha;
  padding: 20px;
  margin-left: 10px;
}

#todolists .inner ol.a li {
  padding-left: 10px;
}

#newtodolist p {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.2em;
}

.list {
  margin: 20px auto;
  width: 100%;
  max-width: 500px;
  padding: 20px;
  box-sizing: border-box;
}

.list2 {
  width: 100%;
}

.list2 li {
  font: 1.6em "Dancing Script", cursive;
  margin-bottom: 10px;
}

.list2 h2 {
  font: 2.6em "Dancing Script", cursive;
  text-decoration: none;
}

.list ul {
  list-style-type: none;
}

.list2 ul {
  list-style-type: decimal;
}

.items li:hover .done-button {
  opacity: 1;
}

.items .item.done {
  text-decoration: line-through;
}

.bulletlist .item {
  transition: color 0.3s ease, opacity 0.3s ease, text-decoration 0.3s ease;
}

.bulletlist .item.done {
  text-decoration: line-through;
  font: 1em "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
  color: #999;
  opacity: 0.8;
}

.items li,
.item-add .input {
  border: 0;
  border-bottom: 1px dashed #ccc;
  padding: 15px 0;
}

.list .input {
  font: 1em "Open Sans", sans-serif;
  color: #363639;
  padding: 0 10px;
  margin: 10px 0 12px 0;
}

.input {
  width: 100%;
}

.input:focus {
  outline: none;
}

/* submit btn */
.list .submit {
  padding: 5px 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  width: 100%;
  margin: 14px 0 0 0;
  box-shadow: 2px 2px 0 #ddd;
}

.list h2 {
  font-family: "Shadows Into Light Two", cursive;
  font-weight: 300;
  font-style: normal;
  font-size: 2.8em;
}

.list input {
  font: 1em "Open Sans", sans-serif;
  color: #363639;
}

.list a {
  text-decoration: none;
  border-bottom: 1px dashed #363639;
}

.titlecontainer h1 {
  font: 3em "Shadows Into Light Two", cursive;
}

.undo-button {
  padding: 6px 12px;
  font-size: 0.9em;
  background-color: #e0e0e0;
  border: 1px solid #000;
  border-radius: 4px;
  color: #0d6efd;
  cursor: pointer;
  transition: all 0.2s ease;
}
.undo-button:hover {
  background-color: #198754;
  color: #fff;
}

/* --- ALIGNMENT FIX SECTION --- */
/* List items flex layout */
.items li {
  display: flex;
  justify-content: space-between;
  align-items: center; /* button and text stay aligned */
  padding: 0; /* remove all padding from li */
  line-height: 1.2; /* reduce vertical spacing slightly */
}

/* Unfinished tasks text aligned with button */
.items li span:not(.done),
.items li .item-text:not(.done) {
  position: relative;
  top: -1px; /* remove extra top offset */
  padding: 6px 0; /* create minimal spacing inside the span itself */
}

/* Completed tasks with strikethrough stay on baseline */
.items li span.done,
.items li .item-text.done {
  position: relative;
  top: 0;
  padding: 6px 0;
}

/* Done button container (the form) */
.items li form {
  display: flex;
  align-items: center; /* vertically center button inside the form */
  margin: 0; /* remove default margins */
  padding: 0;
}

/* Done button itself (merged both previous blocks) */
.items li .done-button {
  align-self: center;
  margin-left: 0.5rem;
  margin-top: -3px; /* nudge button slightly up */
  display: inline-block;
  font-size: 0.8em;
  background-color: #d9dfe1;
  padding: 4px 8px;
  color: #363639;
  border: 0;
  opacity: 0.4;
  min-width: 100px;
}

/* Add this to your CSS */
.custom-btn-right-rounded {
  border-top-right-radius: 50px; /* or any value you like */
  border-bottom-right-radius: 50px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.custom-btn,
.custom-btn-right-rounded {
  transition: transform 0.3s ease, color 0.3s ease;
}
.custom-btn:hover,
.custom-btn-right-rounded:hover {
  transform: translateX(30px);
  color: #00ff66 !important;
}

a {
  text-decoration: none;
}

@media (min-width: 992px) {
  .custom-btn-right-rounded {
    max-width: 300px;
  }
}
@media (max-width: 576px) {
  .custom-btn-right-rounded {
    max-width: 100% !important;
    width: 100% !important;
  }
}
@media (max-width: 576px) {
  .p-4.border.m-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin: 0.5rem !important;
  }
}
@media (max-width: 576px) {
  .list-group-item .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .list-group-item .btn-group .btn {
    width: 100%;
    margin-bottom: 0.3rem;
  }
  .list-group-item .btn-group .btn:last-child {
    margin-bottom: 0;
  }
}
.list-group-item {
  word-break: break-all;
}

/* Smooth fade-in for empty log message */
.fade-message {
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-message.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 576px) {
  #debugPanel {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }
}
@media (max-width: 576px) {
  .ps-4, .px-2, .m-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 576px) {
  #debugPanel {
    position: fixed;
    top: 80px;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    border-radius: 0.25rem;
  }
}
@media (max-width: 576px) {
  main .row > .col-3,
  main .row > .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media (max-width: 576px) {
  main .row > .col-3,
  main .row > .col-6,
  main .row > .col-3:last-child {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 576px) {
  main .row.g-0 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 576px) {
  .custom-btn:active, .custom-btn:focus,
  .custom-btn-right-rounded:active,
  .custom-btn-right-rounded:focus {
    color: #00ff66 !important;
    transform: translateX(10px);
  }
}
.hp-field {
  position: absolute;
  left: -9999px; /* Moves it off-screen */
  top: -9999px;
  height: 1px; /* Minimal size */
  width: 1px;
  overflow: hidden;
}

/* Container for tabs and forms */
.profile-tabs {
  max-width: 800px;
  margin: 0 auto;
}

/* Hide radio buttons */
.profile-tabs input[type=radio] {
  display: none;
}

/* Style the tab labels (the icons) */
.profile-tabs .tab-label {
  display: inline-block;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 24px;
  color: #6c757d;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.profile-tabs .tab-label:hover {
  color: #0d6efd;
}

/* Highlight the selected tab */
.profile-tabs input[type=radio]:checked + .tab-label {
  color: #0d6efd;
  border-bottom: 2px solid #0d6efd;
}

/* Hide all tab content by default */
.tab-content {
  display: none;
  padding: 20px 0;
  border-top: 1px solid #dee2e6;
}

/* Show content of checked tab */
#tab1:checked ~ .content #content1,
#tab2:checked ~ .content #content2,
#tab3:checked ~ .content #content3,
#tab4:checked ~ .content #content4 {
  display: block;
}

.profile-textarea {
  resize: none;
}

/*# sourceMappingURL=main.css.map */
