
/* Blue : #007BFF Purple : #7F00FF */

:root {
  --color-sub: #2d2d39;
}

.btn--sub {
  background-color: var(--color-sub-light);
}

.card {
  border: 2px solid var(--color-light);
}

img {
  width: 100%;
}

.tag > i.im {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.content-box {
  width: 95%;
  max-width: 85rem;
  margin: 0 auto;
}

/*=======================
  Header Section
========================*/
.header {
  position: sticky;
  z-index: 111;
  background-color: var(--color-sub);
  padding: 1.5rem 0;
}

.header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo > img {
  height: 3.8rem;
}

.header__logo {
  display: inline-block; /* Ensures the <a> behaves like the img */
  padding: 0;           /* Removes any padding */
  margin: 0;            /* Removes any margin */
  line-height: 0;       /* Prevents additional space caused by line height */
}

.header__nav > ul {
  display: inline-flex;
  align-items: center;
  list-style: none;
  gap: 6.5rem;
}

.header__menuItem > a {
  color: var(--color-light);
  font-weight: 300;
}

.toggle-menu > span {
  display: none;
}

.header__nav input[type='checkbox'] {
  display: none;
}

.header__nav input[type='checkbox']:checked ~ .header__menu {
  opacity: 1;
  pointer-events: all;
}

.project--thumbnail {
  height: 250px;
  object-fit: cover;
}

@media screen and (max-width: 800px) {
  .header__logo {
    position: relative;
    z-index: 999;
  }
  .toggle-menu {
    position: relative;
  }

  .toggle-menu > span {
    display: block;
    position: fixed;
    top: 1.5rem;
    right: 2.75rem;
    cursor: pointer;
    padding: 1rem;
    background: var(--color-sub-light);
    z-index: 999;
    font-size: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
  }

  .toggle-menu__lines,
  .toggle-menu__lines::before,
  .toggle-menu__lines::after {
    pointer-events: none;
    content: '';
    display: block;
    height: 2px;
    width: 2.5rem;
    position: fixed;
    top: 4rem;
    right: 4rem;
    z-index: 999;
    background: var(--color-light);
    transition: all 0.3s ease-in-out;
  }

  .toggle-menu__lines::before {
    top: 3.4rem;
    transform-origin: 0 0;
  }
  .toggle-menu__lines::after {
    top: 4.6rem;
    transform-origin: 0 0;
  }

  .header__nav input[type='checkbox']:checked + .toggle-menu > .toggle-menu__lines::before {
    margin-left: 3px;
    transform: rotate(45deg) scaleX(1.2) translateX(-2px) translateY(-4px);
    visibility: visible;
  }

  .header__nav input[type='checkbox']:checked + .toggle-menu > .toggle-menu__lines {
    visibility: hidden;
  }

  .header__nav input[type='checkbox']:checked + .toggle-menu > .toggle-menu__lines::after {
    transform: rotate(-45deg) scaleX(1.2) translateX(-2px) translateY(3px);
    visibility: visible;
  }

  .header__nav > ul {
    opacity: 0;
    pointer-events: none;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: var(--color-sub);
    transition: all 0.5s ease-in-out;
  }

  .header__menuItem a {
    transition: all 0.5s ease-in-out;
    padding: 1rem 3rem;
  }

  .header__menuItem a:hover {
    padding: 1rem 3rem;
    border-radius: 3px;
    background: var(--color-sub-light);
  }
}

/*=======================
  Hero Section
========================*/

.hero-section {
  height: 40vh;
  display: flex;
  align-items: center;
  background-color: var(--color-sub);
}

.hero-section__box {
  margin-bottom: 4rem;
}

.hero-section__box > h2,
.hero-section__box > h2 > span {
  font-size: 4rem;
  color: var(--color-light);
  line-height: 1.3;
  text-transform: uppercase;
}

@media screen and (max-width: 1000px) {
  .hero-section__box > h2,
  .hero-section__box > h2 > span {
    font-size: 3.4rem;
  }
}

@media screen and (max-width: 800px) {
  .hero-section__box > h2,
  .hero-section__box > h2 > span {
    font-size: 3rem;
    line-height: 1.5;
  }
}

@media screen and (max-width: 500px) {
  .hero-section__box > h2,
  .hero-section__box > h2 > span {
    font-size: 2.4rem;
    line-height: 1.5;
  }
}

@media screen and (max-width: 400px) {
  .hero-section__box > h2,
  .hero-section__box > h2 > span {
    font-size: 2rem;
  }
}

.hero-section__box > h2 {
  font-weight: 300;
}

.hero-section__box > h2 > span {
  font-weight: 700;
}

.hero-section__search > .form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.hero-section__search > .form label {
  position: absolute;
  left: -9999px;
}

.hero-section__search > .form input.input--text {
  width: 50rem;
}

@media screen and (max-width: 700px) {
  .hero-section__search > .form {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .hero-section__search > .form input.input--text,
  .hero-section__search > .form input {
    min-width: 100%;
    width: 100%;
  }
}

/*=======================
  Developers
========================*/

.devlist {
  margin-top: 8rem;
}

.devlist .grid {
  align-items: stretch;
}

.devlist .dev .dev__profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.devlist .dev .dev__meta h3 {
  color: var(--color-sub);
  font-size: 2rem;
  font-weight: 700;
}

.devlist .dev .dev__meta h5 {
  color: var(--color-text);
  font-size: 1.4rem;
  font-weight: 500;
}

.devlist .dev .dev__info {
  margin: 1.5rem 0;
  font-size: 1.35rem;
  line-height: 1.4;
  text-align: justify;
}

/*=======================
  Pagination
========================*/
.pagination {
  margin-top: 8rem;
  margin-bottom: 10rem;
}

.pagination > ul {
  flex-wrap: wrap;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.pagination .btn {
  color: var(--color-sub);
}

.pagination .btn.btn--sub {
  color: var(--color-light);
}

/*=======================
  Profile
========================*/

.profile .card > .dev {
  padding: 4rem;
}

.dev__avatar {
  display: block;
  margin: auto;
}

.dev__name {
  color: var(--color-sub);
  font-size: 2.8rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.dev__title {
  font-size: 1.6rem;
  font-weight: 500;
  /* line-height: 1.3; */
  padding-bottom: 0.5rem;
  /* border-bottom: 1px solid #ddd; */
}

.dev__location {
  margin-top: 1rem;
}

.dev__social {
  margin: 3rem 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.devInfo {
  margin-bottom: 3rem;
}

.devInfo__title,
.devInfo__subtitle {
  font-size: 2.6rem;
  color: var(--color-sub);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.5rem;
}


.devInfo__title,
.devInfo__subtitle {
  display: inline-block;
  color: transparent; /* Make the text transparent */
  background-image: linear-gradient(to right, var(--color-main), var(--color-grad)); /* Gradient for text */
  background-clip: text; /* Apply gradient to text */
  -webkit-background-clip: text; /* For Webkit browsers */
}


.devInfo__subtitle {
  font-size: 2rem;
  color: var(--color-sub-light);
}

.devInfo__about,
.devSkill__info {
  font-size: 1.45rem;
  line-height: 1.7;
  text-align: justify;
}

.devSkill {
  margin-bottom: 3rem;
}

.devSkill__title {
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--color-sub-light);
  flex-basis: 20%;
}

@media screen and (min-width: 700px) {
  .devSkill {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
  }

  .devSkill__info {
    flex-basis: 80%;
  }
}



/*=======================
  Info Section - Testing
========================*/

/* Content Layout */
.devInfo__content {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* Space between items */
  padding-left: 2rem;
}

.devInfo__content__company{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.devInfo__exp {
  border-left: 1px solid var(--color-main);
}

/* Individual Item Styling */
.devInfo__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* Space between heading and details */
  border-bottom: 1px solid #ddd;
}

/* Item Heading */

.devInfo__itemHeading {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-sub-light);
}

.devInfo__company{
  font-size: 2rem;
  font-weight: var(--font-bold);;
}

/* Subheading (e.g., Institution Name) */

.devInfo__subHeading {
  font-size: 1.3rem;
  color: var(--color-subtle);
  margin-bottom: 0.5rem;
}

.devInfo__text {
  font-size: 1rem;
  font-weight: var(--font-regular);
  color: var(--color-text);
}

/* Details Layout */
.devInfo__details {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.6rem;
  color: var(--color-text);
}

/* Column Layout */
.devInfo__column {
  flex: 1;
}

.devInfo__column--left {
  text-align: left;
}

.devInfo__column--right {
  text-align: right;
}

/* Responsive Adjustments */
/* @media (max-width: 768px) {
  .devInfo__details {
    flex-direction: column; 
    gap: 0.5rem;
  }

  .devInfo__column--right {
    text-align: left; 
    font-style: normal; 
  }
} */


/*=======================
  Contact Section
========================*/

.dev__contacts {
  display: flex;
  justify-content: center; /* Center the contact list div */
  width: 100%; /* Ensure it takes full width of the parent */
  padding: 1rem 0;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact__item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact__icon {
  flex: 0 0 2rem;
  margin-right: 1rem;
  font-size: 1.8rem;
  color: var(--color-primary);
}

.contact__detail {
  font-size: 1.4rem;
  color: var(--color-text);
}

.contact__detail a {
  color: var(--color-link);
  text-decoration: none;
  font-weight: 500;
}

.contact__detail a:hover {
  text-decoration: underline;
}

/*=======================
  Single Projects
========================*/

.singleProject .column--1of3 {
  order: 2;
}

@media screen and (min-width: 1081px) {
  .singleProject .column--1of3 {
    order: 1;
  }
  .singleProject .column--2of3 {
    order: 2;
  }
}

.singleProject__toolStack {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.singleProject__liveLink {
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  border-bottom: 2px solid transparent;
}

.singleProject__liveLink:hover {
  font-weight: 500;
  border-bottom: 2px solid var(--color-main);
}

.singleProject__liveLink i {
  display: inline-block;
  font-size: 1.6rem;
  margin-right: 1rem;
}

.singleProject__preview {
  height: 50vh;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 3rem;
  border-radius: 0.7rem;
}

.singleProject__developer {
  font-size: 1.8rem;
  font-weight: 500;
}

.singleProject__title {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 3rem;
}

.project__author{
  font-size: 1.4rem;
  font-style: italic;
}

.project--rating{
  margin-bottom: 1.6em;
  margin-top: .5em;
}

.singleProject__subtitle {
  text-transform: uppercase;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-sub-light);
  margin-bottom: 1rem;
}

/*=======================
  Projects Page
========================*/
.projects > .hero-section {
  background: var(--color-sub-lighter);
  height: 30vh;
}

.projects .hero-section__box {
  margin-bottom: 2.5rem;
}

.projects .hero-section__box > h2 {
  color: var(--color-sub);
}

.projects .hero-section__box > h2 > span {
  font-weight: 700;
  color: var(--color-sub);
}

.projectsList {
  margin-top: 8rem;
}

/*========== Projects ==========*/

.project__thumbnail {
  height: 25rem;
  object-fit: cover;
  object-position: top center;
}

.project__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-sub);
}

.project__info {
  margin: 1rem 0;
  font-size: 1.4rem;
  text-align: justify;
}

/*========== Comments ==========*/

.comments {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--color-light);
}

.comments .form label {
  position: absolute;
  margin: -9999px;
}

.commentList {
  margin: 3rem 0;
}

.comment {
  display: flex;
  gap: 2rem;
}

.comment:not(:last-child) {
  margin-bottom: 3rem;
}

.comment__author {
  font-size: 1.8rem;
}

.comment__info {
  font-size: 1.45rem;
}

/*=======================
  Account Settings
========================*/

.settingsPage .dev > .settings__btn {
  display: inline-block;
  margin-bottom: 3rem;
}

.settings__btn i{
  margin-right: 0.5rem;
}

.settings {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings__title {
  font-size: 2.4rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-sub);
}


.settings__title {
  display: inline-block;
  color: transparent; /* Make the text transparent */
  background-image: linear-gradient(to right, var(--color-main), var(--color-grad)); /* Gradient for text */
  background-clip: text; /* Apply gradient to text */
  -webkit-background-clip: text; /* For Webkit browsers */
}

.settings__table {
  margin-top: 3rem;
  margin-bottom: 5rem;
  padding: 0 3rem;
  background: var(--color-white);
}

.settings__table tr {
  width: 100%;
}

.settings__table tr > td {
  padding: 2rem 0;
}

.settings__table tr:not(:last-child) td {
  border-bottom: 2px solid var(--color-white-light);
}

.settings__thumbnail {
  width: 23%;
  min-width: 10rem;
}

.settings__thumbnail img {
  padding-right: 3rem;
  height: 15rem;
  object-fit: contain;
}

.settings__tableInfo{
  width: 100%;
}

.settings__tableInfo h4,
.settings__tableInfo a {
  padding-right: 1rem;
  width: auto;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-sub);
}

.settings__tableInfo p {
  font-size: 1.4rem;
}

.settings__tableActions {
  text-align: right;
}

/*=======================
  Login/SignUp
========================*/

.auth {
  width: 100%;
  position: relative;
  z-index: 1;
  background: transparent;
  height: 99vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth::after {
  z-index: -1;
  opacity: 0.1;
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: url(../images/pattern.jpg);
}

.auth > .card {
  padding: 3rem 4rem;
  width: 95%;
  max-width: 65rem;
}

@media screen and (min-width: 650px) {
  .auth > .card {
    padding: 5rem 8rem;
    width: 95%;
    max-width: 65rem;
  }
}

.auth__header h3 {
  color: var(--color-sub);
  font-weight: 700;
  margin-top: 1rem;
}

.auth__header p {
  font-weight: 400;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.auth__form {
  margin: 3rem 0;
}

.auth .auth__form label,
.auth .auth__alternative p {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-sub-light);
}

.auth .auth__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2.5rem 0;
}
.auth .auth__actions a {
  text-decoration: underline;
}

.auth .auth__alternative a {
  font-size: 2rem;
  font-weight: 500;
}

/*=======================
  Inbox
========================*/

.inbox {
  height: 90vh;
}

.inbox__title,
.inbox__title span {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-sub);
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 3rem;
}

.inbox__title span {
  color: var(--color-main);
}

.messages {
  list-style: none;
  background: var(--color-white);
  padding: 0.5rem 3rem;
  border: 2px solid var(--color-light);
  border-radius: 0.7rem;
}

.message {
  padding: 2.5rem 0;
}

.message > a span {
  font-size: 1.45rem;
  font-weight: 500;
}

.message.message--unread a span {
  font-weight: 700;
  color: var(--color-sub);
}

.message:not(:last-child) {
  border-bottom: 2px solid var(--color-white-light);
}

.message > a {
  display: flex;
  gap: 1rem;
}

.message__author,
.message__date {
  flex-basis: 25%;
}

.message__subject {
  flex-basis: 50%;
}

.message__date {
  text-align: right;
}

/*=======================
  Single Message
========================*/

.messagePage .message {
  list-style: none;
  background: var(--color-white);
  padding: 3.5rem 5rem;
  border: 2px solid var(--color-light);
  border-radius: 0.7rem;
}

.messagePage .message__subject {
  font-size: 2.8rem;
  color: var(--color-sub);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.messagePage .message__author {
  font-size: 1.8rem;
  font-weight: 500;
}

.messagePage .message__date {
  font-size: 1.4rem;
  font-weight: 400;
  text-align: left;
  margin-bottom: 3rem;
}

.backButton, .closeButton {
  background: var(--color-main-light);
  color: var(--color-main);
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.backButton i, .closeButton i{
  font-size: 1.8rem;
}

/*=======================
  Form Page
========================*/

.formPage .formWrapper {
  list-style: none;
  background: var(--color-white);
  padding: 3.5rem 5rem;
  border: 2px solid var(--color-light);
  border-radius: 0.7rem;
}

.formPage .formWrapper__subject {
  font-size: 2.8rem;
  color: var(--color-sub);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

/*=======================
  Fixed Position Alerts Wrapper
========================*/

.alert {
  position: fixed;
  left: 50%;
  top: 120px;
  transform: translate(-50%, -50%);


  z-index: 99999;
}

/* Form Title Wraper */

.titleWrapper {
  display: flex;                      /* Use Flexbox to align title and button horizontally */
  justify-content: space-between;     /* Aligns the formTitle to the left and closeButton to the right */
  align-items: flex-start;                /* Vertically centers both title and closeButton */
}

.formTitle {
  margin: 0;                           /* Removes default margin from formTitle */
  flex-grow: 1;                        /* Allows the formTitle to take up the remaining space */
}

.closeButton {
  flex-shrink: 0;                      /* Prevents the closeButton from shrinking */
  flex-grow: 0;                        /* Prevents the closeButton from growing */
  /* Optional: add some padding or margin if needed */
}

.helptext {
  font-size: 1rem;
}

/* *{
  border: red solid 1px;
} */


/* Home CSS  */

.home .container {
  width: 90%;
}


/* Flex layout for the feature section */
.grid--three {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping for small screens */
  justify-content: space-between; /* Distributes space evenly */
  gap: 2rem; /* Adds spacing between cards */
}

/* Individual cards styling */
.grid--three .card {
  flex: 1 1 calc(33.333% - 2rem); /* Three columns by default, minus the gap */
  max-width: calc(33.333% - 2rem);
}

/* Responsive behavior for smaller screens */
@media screen and (max-width: 768px) {
  .grid--three .card {
      flex: 1 1 100%; /* Single column on small screens */
      max-width: 100%;
  }
}

/* Home Inline Input Field */

/* Input group container */
.hero .input-group {
  display: flex;
  align-items: center; /* Vertically align the elements */
  width: 100%; /* Ensure it spans the full width */
  height: 5rem; /* Standardized height to match both elements */
  border-radius: 0.5rem; /* Rounded corners for the entire group */
  overflow: hidden; /* Ensures borders do not get cut off */
  margin-top: 5rem;
}

/* Text label on the left side (CareerSnaps.com/) */
.hero .input-group__text {
  background-color: var(--color-light); /* Light background to match the theme */
  color: var(--color-sub); /* Text color from the theme */
  padding: 0.8rem 1.2rem; /* Adds padding around the text */
  border: 2px solid var(--color-light); /* Border to match the input field */
  border-right: none; /* No right border for seamless connection with input */
  font-size: 1.5rem; /* Matches font size of input field */
  display: flex;
  align-items: center; /* Vertically centers text */
  height: 100%; /* Ensures it matches the height of the input field */
  border-radius: 0.5rem 0 0 0.5rem; /* Rounded left corners */
}

/* Input field connected to the text */
.hero .input-group .input {
  flex: 1; /* Makes the input take up remaining space */
  border: 2px solid var(--color-light); /* Same border as input-group__text */
  padding: 0.8rem 1.2rem; /* Match padding of the text label */
  font-size: 1.5rem; /* Matches font size */
  height: 100%; /* Ensures it matches the height of the text label */
  border-radius: 0 0.5rem 0.5rem 0; /* Flat left corners and rounded right corners */
  background-color: var(--color-white);
}

/* Optional: hover effect to emphasize interactivity */
/* .hero .input-group:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */

/* Ensure the parent container uses flexbox to center its content */
.hero-image-container {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Horizontally center the content */
  align-items: center; /* Vertically center the content */
  height: 100%; /* Ensure the container takes the full height of its parent */
  padding: 1rem; /* Optional: add some padding for spacing */
}

/* Style for the Lottie player */
.hero-image-container dotlottie-player {
  max-width: 100%; /* Ensures the animation doesn't overflow horizontally */
  max-height: 100%; /* Ensures the animation doesn't overflow vertically */
}

/* Adds space between the <p> and <a> elements */
.ready-to-start-section .mumble-block__info {
  margin-bottom: 2rem; /* Creates space between the paragraph and the button */
}


.hero .layout > .column {
  margin-bottom: 0px; /* Overwrites the margin for columns inside .hero */
}


/* Flexbox layout specific to the .hero section */
.hero .layout {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center; /* Vertically align items in the layout */
  height: 100%; /* Make sure layout takes full height */
}

.demo-profile-section .devlist{
  margin: auto 0px;
}

.demo-profile-section .column--1of2 {
  padding: 2rem 0rem;
}


/* For larger screens (Desktop and above) */
.demo-profile-cta {
  display: flex;
  flex-direction: column;         /* Stack the elements vertically */
  align-items: flex-start;        /* Align content to the left */
  justify-content: space-around;  /* Space out the content (horizontally & vertically) */
  gap: 1.5rem;                    /* Add some space between elements */
}

/* For smaller screens (Mobile and below) */
@media screen and (max-width: 1080px) {
  .demo-profile-cta {
      align-items: center;        /* Center align the content on mobile */
      text-align: center;         /* Center align the text */
  }
}

/* Ensure the button is styled correctly */
.demo-profile-cta .btn {
  padding: 1rem 2rem;             /* Adjust button padding */
  margin-top: 1rem;               /* Add some space above the button */
}



/* UserName Checker */
/* Default */
.hero .btn {
  /* background-color: #ccc; */
  cursor: not-allowed;
}

/* Success */
.hero .btn-success {
  background-color: var(--color-success);
  color: white;
  cursor: pointer;
  background-image: linear-gradient(to right, #2E772E, var(--color-success));
}

/* Error */
.hero .btn-error {
  background-color: var(--color-error);
  color: white;
  cursor: not-allowed;
  background-image: linear-gradient(to right, #CA3702, var(--color-error));
}

#loadingIndicatorWrapper {
  position: absolute;
  right: 1.2rem; /* Adjust to position it inside the input box */
  top: 50%;
  transform: translateY(-50%);
  margin-left: 5px; /* Add spacing next to the input */
}

#loadingIndicator {
  display: none; /* Initially hidden */
  font-size: 2rem; /* Adjust size as needed */
  color: #888; /* Optional: Set a subtle color */
}

/* Loading Spinner */
#loadingIndicator.htmx-request {
  display: inline-block;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.form__field {
  position: relative; /* Parent container for positioning context */
}



.auth .auth__header img {
  width: 25%;
}


::selection {
  background-color: var(--color-main); /* Set the background color of the selection */
  color: #fff; /* Set the text color of the selection */
}

/* For Webkit browsers like Chrome, Safari */
::-webkit-selection {
  background-color: var(--color-main);
  color: #fff;
}

/* For Firefox */
::-moz-selection {
  background-color: var(--color-main);
  color: #fff;
}


/* Floating Button Wrapper - Used only for alignment */
.floating-button-wrapper {
  position: sticky;
  width: 100%;
  bottom: 20px; /* Distance from the bottom of the screen */
  /* right: 20px; Default: distance from the right side of the screen */
  z-index: 9999; /* Ensure it stays on top */
  display: flex;
  justify-content: flex-end; /* Align to the right by default */
  align-items: center;
}

/* Floating Button - This will handle the animation */
.floating-button {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Arrange text vertically */
  animation: pulse 2s infinite; /* Pulse animation */
  transition: transform 0.3s ease; /* Smooth transition for any changes */
  margin-right: 25px;
}

/* Register Button Styling */
.register-button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Ensures two lines of text stack vertically */
}

/* Main Text Styling (Larger font) */
.main-text {
  font-size: 16px;
  font-weight: bold;
}

/* Subtext Styling (Smaller font) */
.sub-text {
  font-size: 12px;
  margin-top: 4px; /* Small space between lines */
  font-weight: normal;
  opacity: 0.85; /* Slightly faded to emphasize main text */
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Media Query for smaller screens (less than 1080px) */
@media (max-width: 1080px) {
  .floating-button-wrapper {
    justify-content: center; /* Center the content inside the wrapper */
    align-items: center; /* Center vertically */
    right: 0;
    bottom: 20px; /* Keep it 20px from the bottom of the screen */
  }

.floating-button{
  margin-right: 0px;
}
}



/* Footer Styling */
.credit {
  position: relative;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #777;
  background-color: #fff;
  padding: 10px 0;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.credit_link:hover {
  text-decoration: underline;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: #777; /* Gray text color */
  margin: 20px 0; /* Vertical spacing */
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc; /* Line color */
  margin: 0 10px; /* Space around the text */
}

.hr-separator {
  border: none;
  border-top: 1px solid #ccc; /* Line color */
  margin: 20px 0; /* Vertical spacing */
  width: 100%; /* Full width of container */
}

.google-login-link {
  display: block;
}