.support{
    border-radius: 20px 20px 0px 20px;
    padding: 10px;
    background-color: white;
    position: fixed;
    bottom: 55px;
    right: 22px;
    z-index: 999;
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    background: rgb(219 219 219 / 42%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0px 8px 24px 0 rgba(12, 74, 110, 0.15),
                inset 0 0 0px rgba(255, 255, 255, 0),
                inset 0px 0px 4px 2px rgba(255, 255, 255, 0.2);
}
.support b{
    color: #ffffff;
}
.circle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(to left top, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 50%);
  z-index: 1;
}

.circle::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
  z-index: 1;
}
.circle{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
    position: fixed;
    z-index: 999;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    cursor: pointer;
        backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    background: rgb(219 219 219 / 42%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0px 8px 24px 0 rgba(12, 74, 110, 0.15),
                inset 0 0 0px rgba(255, 255, 255, 0),
                inset 0px 0px 4px 2px rgba(255, 255, 255, 0.2);
}
.circle i{
    font-size: 30px;
    color: #94272a;
}
.circle_img{
    max-width: 225%;
}
.chatbox{
    display: none;
    width: 100%;
    max-width: 385px; /* default max size */
    height: 550px;
    border-radius: 18px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    /* background: radial-gradient(circle at center, rgb(200 69 69 / 97%) 0%, light pink rgb(210 113 110) 30%, soft purple rgba(255, 255, 255, 1) 80%); */
    overflow: hidden;
    border: 2px solid rgb(255 255 255);
    transform: translateY(20px);
    transition: all 0.3 ease-in-out;
}
@media screen and (max-width: 375px) {
    .chatbox {
        max-width: 335px;
    }
}

@media screen and (max-width: 320px) {
    .chatbox {
        max-width: 280px;
    }
}
.chatbox.show{
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.chatbox img{
    max-width: 100%;
    z-index:1;
    /* opacity: 0.9; */
    position: absolute;
}
/* .blurBG{
    background: rgba(163, 114, 114, 0.651);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(182, 182, 182, 0.3);
    z-index: 2;
    width: 385px;
    height: 550px;
    position: absolute;
    display: flex;
}
.blurBG::before {
    content: "";
    position: absolute;
    inset: 0; */
    /* background-image:
        radial-gradient(circle, rgba(37, 37, 37, 0.178) 1px, transparent 1px),
        radial-gradient(circle, rgba(77, 77, 77, 0.137) 1px, transparent 1px); */
    /* background-size: 3px 3px, 4px 4px;
    pointer-events: none;
    z-index: 1;
} */
 .blurBG{
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    background: rgba(224, 242, 254, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0px 8px 24px 0 rgba(12, 74, 110, 0.15),
                inset 0 0 0px rgba(255, 255, 255, 0),
                inset 0px 0px 4px 2px rgba(255, 255, 255, 0.2);
    z-index: 2;
    width: 385px;
    height: 550px;
    position: absolute;
    display: flex;
        pointer-events: none;

    
 }
.blurBG::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(to left top, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 50%);
  z-index: 1;
}

.blurBG::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
  z-index: 1;
}
.topBar {
    position: absolute;
    top: 0;  
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(120deg, #000000ef, #000000e5, #3d0e10);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 3;
    display: flex;
    align-items: center;
}

.dp{
    width: 30px;
    height: 30px;
    border-radius: 20px;
    overflow: hidden;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 8px;
}
.dp img{
    max-width: 250%;
}
.topBar span{
    font-family: "Bebas Neue", sans-serif;
    font-weight: 500;
    letter-spacing: 0px;
    font-size: 20px;
    color: white;
    line-height: 50px;
    z-index: 1;
    text-align: center;
    margin-left: 20px;
    margin-top: 3px;
}
.topBar b{
    color: #94272a;
}
.cross{
    color: white;
    font-size: 18px;
    right: 15px;
    position: absolute;
    font-weight: 600;
}
.chatarea{
    background-color: rgba(255, 255, 255, 0);
    width: 100%;
    position: absolute;
    z-index: 3;
    height: 430px;
    top: 55px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    scrollbar-width: thin; /* auto | thin | none */
    scrollbar-color: #551113 #11111100; 
}
.send{
        margin-top: 15px;
     align-self: flex-end;
    background: linear-gradient(120deg, #000000ef, #000000e5, #3d0e10);
     color: white;
     font-weight: 400;
     font-size: 13px;
     padding: 8px 60px 8px 10px;
     border-radius: 15px 15px 0px 15px;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     position: relative;

}
.recive{
    margin-top: 15px;
     align-self: flex-start;
      background: linear-gradient(161deg, #959595, #f7f7f7);
     color: rgb(0, 0, 0);
     font-weight: 400;
     font-size: 13px;
     padding: 8px 60px 8px 10px;
     border-radius: 15px 15px 15px 0px;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     position: relative;
}
.time {
position: absolute;
right: 8px;
bottom: 4px;
font-size: 11px;
color: #777;
}
.tiblock {
    display: flex;
    align-items: center;
    justify-content:center;
    background: linear-gradient(161deg, #959595, #f7f7f7);
    padding: 10px 10px 10px 10px;
    border-radius: 20px;

}

.ticontainer {
   width: 50px;
   margin-top: 5px;
}

.tidot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 3px;
    border-radius: 50%;
   background: white;

    animation: mercuryTypingAnimation 1.5s infinite ease-in-out;
}

/* Keyframes (standard + webkit for compatibility) */
@keyframes mercuryTypingAnimation {
  0%   { transform: translateY(0); }
  28%  { transform: translateY(-5px); }
  44%  { transform: translateY(0); }
}

@-webkit-keyframes mercuryTypingAnimation {
  0%   { -webkit-transform: translateY(0); }
  28%  { -webkit-transform: translateY(-5px); }
  44%  { -webkit-transform: translateY(0); }
}

/* Animation delays for bouncing effect */
.tidot:nth-child(1) {
  animation-delay: 0.2s;
}
.tidot:nth-child(2) {
  animation-delay: 0.3s;
}
.tidot:nth-child(3) {
  animation-delay: 0.4s;
}


.msgbox{
    position: absolute;
    bottom: 0px;
    height: 60px;
    z-index: 10000;
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
    right: 0px;
    pointer-events: auto;
}
.msgbox input{
    height: 20px;
    width: 300px;
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(120deg, #000000ef, #000000e5, #3d0e10);
    font-weight: 500;
    color: white;
}

.sendIcon{
    width: 20px;
    height: 20px;
    border-radius: 50px;
    background: linear-gradient(120deg, #000000ef, #000000e5, #3d0e10);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 18px;
}
.msgbox i{
    font-size: 12px;
    color: white;
}
.cursor{
    cursor: pointer;
}
.transfer {
    position: relative;
    padding: 3px 10px;
    background: linear-gradient(45deg, #000000ef, #000000e5, #3d0e10);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.transfer::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-20deg);
}

.transfer:hover::before {
    left: 100%;
    transition: left 0.6s ease;
}

.transfer:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.transfer:active {
    transform: scale(0.95);
}

.login_box{
    width: 96%;
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: fixed;
}
.login_box span{
    font-family: "Bebas Neue", sans-serif;
    font-weight: 500;
    letter-spacing: 0px;
    font-size: 20px;
    color: white;
    line-height: 50px;
    z-index: 1;
    text-align: center;
}
.login_box b{
    color: #94272a;
}
.form{
    padding: 10px 20px;
    background: linear-gradient(120deg, #000000ef, #000000e5, #3d0e10);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
}
 #chatForm{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;

 }
input:focus {
  outline: none;
  box-shadow: none;
  border-color: transparent; /* optional */
}

/* 2. Number input ke arrows hatana (Chrome, Safari, Edge) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox ke liye */
input[type=number] {
  -moz-appearance: textfield;
}
.form input{
    border-radius: 10px;
    margin: 7px;
    padding: 7px;
    width: 100%;
    font-size: 13px;       /* size change */

}
.form input::placeholder {
  font-size: 13px;       /* size change */
}
.submit-btn {
  background: linear-gradient(90deg, #bb2f2f, #94272a);
  color: #fff;
  border: none;
  padding: 5px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 71, 71, 0.4);
  width: 100%;
}

.submit-btn:hover {
  background: linear-gradient(90deg, #bb2f2f, #94272a);
  transform: translateY(-2px);
}