/* ======================= Floating Side style-1 ========================== */

/* wrapper */
.px-flt-wrapper {
    position: fixed;
    z-index: 9999;
    display: flex;
    gap: 12px;
    padding: 6px;
}

/* fade-in animation */
@keyframes px-fadeIn {
    from { opacity: 0; transform: translateX(-15px); }
    to { opacity: 1; transform: translateX(0); }
}

/* positions */
.px-flt-wrapper.px-flt-left {
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    flex-direction: column;
}
.px-flt-wrapper.px-flt-right {
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: end;
}
.px-flt-wrapper.px-flt-top-left { top: 15px; left: 15px; flex-direction: column; }
.px-flt-wrapper.px-flt-top-right { top: 15px; right: 15px; flex-direction: column-reverse;justify-content: end;align-items: end; }
.px-flt-wrapper.px-flt-bottom-left { bottom: 15px; left: 15px; flex-direction: column; }
.px-flt-wrapper.px-flt-bottom-right { bottom: 15px; right: 15px; flex-direction: column-reverse;justify-content: end;align-items: end; }

/* main item */
.px-flt-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 1s;
    width: 50px;
    min-width: 50px;
    height: 50px;
}

/*item hover */
.px-flt-item:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    width: 100%;
}

/* icon */
.px-flt-wrapper .px-flt-item i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.px-flt-wrapper .px-flt-item i::before {
    transition: all 0.3s ease;
}

/* title */
.px-flt-wrapper .px-flt-title {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.px-flt-item a {
    display: flex;
    padding: 5px 8px;
    gap: 10px;
    align-items: center;
    margin: auto;
    text-decoration: none;
}

.px-flt-item:hover a { 
    margin: 0;
}
.px-flt-item .px-flt-title {
        display: none;
}

.px-flt-item:hover .px-flt-title {
        display: inline-block;
}

/* icn hover */
.px-flt-item .px-fx-none { transition: none; }
.px-flt-item:hover .px-fx-spin   { transform: rotate(360deg); transition: transform 0.5s ease; }
.px-flt-item:hover .px-fx-rotate { transform: rotate(15deg); transition: transform 0.3s ease; }
.px-flt-item:hover .px-fx-zoom   { transform: scale(1.25); transition: transform 0.3s ease; }
.px-flt-item:hover .px-fx-slide  { transform: translateX(8px); transition: transform 0.3s ease; }
.px-flt-item:hover .px-fx-bounce { animation: px-bounce 0.6s; }

@keyframes px-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.px-flt-wrapper.px-flt-right .px-flt-item a {
    flex-direction: row-reverse;
}



/* ======================= Floating Side style2 ========================== */

/* list items */
.px-flt-wrapper.px-flt-style2  {
    flex-direction: row;
    align-items: center;
}

.px-flt-wrapper.px-flt-style2 .px-flt-toggle ul{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.px-flt-wrapper.px-flt-bottom-right.px-flt-style2{
    flex-direction: row-reverse;
    align-items: end;
}

.px-flt-wrapper.px-flt-right.px-flt-style2{
    flex-direction: row-reverse;
    align-items: center;
}

.px-flt-wrapper.px-flt-bottom-left.px-flt-style2{
    flex-direction: row;
    align-items: end;
}

.px-flt-wrapper.px-flt-style2 .px-flt-toggle ul .px-flt-title {
    display: none !important;
}
.px-flt-wrapper.px-flt-top-right.px-flt-style2{
    flex-direction: row-reverse;
    align-items: start;
}

.px-flt-wrapper.px-flt-top-left.px-flt-style2{
    flex-direction: row;
    align-items: start;
}

/* anchor inside item */
.px-flt-style2 .px-flt-item a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto;
}

/* button */
.px-flt-button {
  cursor: pointer;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  background-color: #000000;
  color: #ffffff;
  font-weight: bold;
  position: relative;
  z-index: 10000;
}

.px-flt-wrapper .px-flt-toggle{display: none;}


/* ======================= Floating Side style3 ========================== */

/* list items */
.px-flt-wrapper.px-flt-style3{
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: center;
}

.px-flt-wrapper.px-flt-style3 .px-flt-item{
    border-radius: 100px;
}

.px-flt-wrapper.px-flt-style3 .px-flt-title {
    display: none !important;
}

.px-flt-wrapper.px-flt-right.px-flt-style3{
    flex-direction: column-reverse;
    align-items: center;
}

.px-flt-wrapper.px-flt-left.px-flt-style3{
    flex-direction: column-reverse;
    align-items: center;
}

.px-flt-wrapper.px-flt-bottom-left.px-flt-style3{
    flex-direction: row;
    align-items: end;
}

.px-flt-wrapper.px-flt-bottom-right.px-flt-style3{
    flex-direction: row-reverse;
    align-items: end;
}

.px-flt-wrapper.px-flt-top-right.px-flt-style3{
    flex-direction: row-reverse;
    align-items: start;
}

.px-flt-wrapper.px-flt-top-left.px-flt-style3{
    flex-direction: column;
    align-items: start;
}

/* anchor inside item */
.px-flt-style3 .px-flt-item a {
    display: flex;
    padding: 5px 8px;
    gap: 10px;
    align-items: center;
    margin: auto;
    text-decoration: none;
}


/* ======================= Floating Side style4 ========================== */

.px-flt-wrapper.px-flt-style4 .px-flt-item {
    width: 100%;
    align-items: center;
    display: flex;
    min-width: fit-content;
}

.px-flt-style4 .px-flt-item .px-flt-title {
    display: inline-block;
}

.px-flt-style4 .px-flt-item a {
    display: flex;
    padding: 5px 8px;
    gap: 10px;
    align-items: center;
    margin: 0;
}

.px-flt-wrapper.px-flt-style4 .px-flt-item i {
    transition: all 0.3s ease;
    padding: 5px;
}

.px-flt-wrapper.px-flt-right.px-flt-style4{
    flex-direction: column-reverse;
    align-items: start;
}

.px-flt-wrapper.px-flt-left.px-flt-style4{
    flex-direction: column;
    align-items: center;
}

.px-flt-wrapper.px-flt-bottom-left.px-flt-style4{
    flex-direction: column;
    align-items: end;
}

.px-flt-wrapper.px-flt-bottom-right.px-flt-style4{
    flex-direction: column-reverse;
    align-items: end;
}

.px-flt-wrapper.px-flt-top-right.px-flt-style4{
    flex-direction: column-reverse;
    align-items: start;
}

.px-flt-wrapper.px-flt-top-left.px-flt-style4{
    flex-direction: column;
    align-items: start;
}


/* ======================= Responsive Media Queries ========================== */

@media (max-width: 1024px) {
    .px-flt-wrapper {
        gap: 8px;
        padding: 4px;
    }
    .px-flt-item {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }
    .px-flt-wrapper .px-flt-item i {
        font-size: 18px;
    }
    .px-flt-wrapper .px-flt-title {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .px-flt-wrapper {
        gap: 6px;
    }
    .px-flt-item {
        width: 42px;
        height: 42px;
    }
    .px-flt-wrapper .px-flt-item i {
        font-size: 17px;
    }
    .px-flt-item:hover {
        width: auto;
    }
}

@media (max-width: 480px) {
    .px-flt-wrapper {
        gap: 5px;
    }
    .px-flt-item {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    .px-flt-wrapper .px-flt-item i {
        font-size: 16px;
    }
    .px-flt-wrapper .px-flt-title {
        display: none !important; 
    }
    .px-flt-item:hover {
        width: 40px !important;
    }
}


/* ======================= Floating Side style5 ========================== */


.px-flt-style5 .px-flt-item .px-flt-title {
    display: inline-block;
    font-size: 12px ;
}


.px-flt-wrapper.px-flt-style5 .px-flt-item i {
    transition: all 0.3s ease;
    padding: 5px;
}

.px-flt-style5 .px-flt-item a {
    display: flex;
    padding: 5px 8px;
    gap: 5px;
    align-items: center;
    margin: auto;
    text-decoration: none;
    flex-direction: column;
}

.px-flt-wrapper.px-flt-style5 .px-flt-item {
  width: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
  height: auto;
  min-width: fit-content;
  max-width: fit-content;
}

.px-flt-wrapper.px-flt-top-left.px-flt-style5 {
    top: 10px;
    left: 10px;
    flex-direction: column;
    align-items: flex-start;
}

.px-flt-wrapper.px-flt-top-right.px-flt-style5 {
    top: 10px;
    right: 10px;
    flex-direction: column;
    align-items: flex-end;
}

.px-flt-wrapper.px-flt-bottom-left.px-flt-style5 {
    bottom: 10px;
    left: 10px;
    flex-direction: column-reverse;
    align-items: flex-start;
}

.px-flt-wrapper.px-flt-bottom-right.px-flt-style5 {
    bottom: 10px;
    right: 10px;
    flex-direction: column-reverse;
    align-items: flex-end;
}

.px-flt-wrapper.px-flt-left.px-flt-style5 {
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: flex-start;
}

.px-flt-wrapper.px-flt-right.px-flt-style5 {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: flex-end;
}

.px-flt-wrapper.px-flt-top-center.px-flt-style5 {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    justify-content: center;
}

.px-flt-wrapper.px-flt-bottom-center.px-flt-style5 {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row-reverse;
    justify-content: center;
}


/* ======================= Floating Side style6 ========================== */

.px-flt-wrapper.px-flt-style6  {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 20px;
  z-index: 9999;
}

.px-flt-wrapper.px-flt-style6 .px-flt-button{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: #000000;
  color: #ffffff;
  font-size: 20px;
  position: relative;
  z-index: 10000;
}

.px-flt-wrapper .px-flt-toggle{
  display: none; 
  margin-top: 10px;
}

.px-flt-wrapper.px-flt-style6 .px-flt-toggle ul{
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.px-flt-style6 .px-flt-item{
  height: 48px;
  width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: background 0.2s;
}
.px-flt-style6 .px-flt-item:hover {
  background: #444;
}

.px-flt-style6 .px-flt-item a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.px-flt-wrapper.px-flt-style6 .px-flt-toggle ul .px-flt-title {
  display: none !important;
}

.px-flt-style6 .px-flt-item .fa-solid,
.px-flt-wrapper .px-flt-button .fa-solid {
  font-size: 18px;
}

.px-flt-wrapper.px-flt-bottom-right.px-flt-style6 {
  flex-direction: column-reverse;
  align-items: end;
}
.px-flt-wrapper.px-flt-right.px-flt-style6 {
  flex-direction: column-reverse;
  align-items: center;
}
.px-flt-wrapper.px-flt-bottom-left.px-flt-style6 {
  left: 20px;
  right: auto;
  flex-direction: column-reverse;
  align-items: start;
}
.px-flt-wrapper.px-flt-top-right.px-flt-style6{
  top: 20px;
  bottom: auto;
  flex-direction: column;
  align-items: end;
}
.px-flt-wrapper.px-flt-top-left.px-flt-style6{
  top: 20px;
  bottom: auto;
  left: 20px;
  right: auto;
  flex-direction: column;
  align-items: start;
}
