@keyframes cc-bubble-in {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  70% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes cc-window-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes cc-msg-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes cc-typing-dot {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}
@keyframes cc-pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}
@keyframes cc-badge-pop {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.cc-chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
@media (max-width: 479px) {
  .cc-chat-widget {
    bottom: 18px;
    right: 16px;
  }
}

.cc-chat-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #57BBFF, #3aa8f0);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(87, 187, 255, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  position: relative;
  animation: cc-bubble-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  flex-shrink: 0;
}
.cc-chat-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(87, 187, 255, 0.55);
}
.cc-chat-bubble:active {
  transform: scale(0.96);
}
.cc-chat-bubble::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(87, 187, 255, 0.5);
  animation: cc-pulse-ring 2.5s ease-out infinite;
}
.cc-chat-bubble__icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cc-chat-bubble__icon i {
  font-size: 22px;
  color: #070B14;
}
.cc-chat-bubble__icon--chat {
  opacity: 1;
  transform: scale(1);
}
.cc-chat-bubble__icon--close {
  opacity: 0;
  transform: scale(0.6) rotate(-90deg);
}
.cc-chat-widget.open .cc-chat-bubble .cc-chat-bubble__icon--chat {
  opacity: 0;
  transform: scale(0.6) rotate(90deg);
}
.cc-chat-widget.open .cc-chat-bubble .cc-chat-bubble__icon--close {
  opacity: 1;
  transform: scale(1) rotate(0);
}
.cc-chat-widget.open .cc-chat-bubble::after {
  display: none;
}
.cc-chat-bubble__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  background: #EA3E2E;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #070B14;
  animation: cc-badge-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.cc-chat-window {
  width: 360px;
  height: 500px;
  background: #0C1628;
  border: 1px solid rgba(87, 187, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.cc-chat-widget.open .cc-chat-window {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
  animation: cc-window-in 0.35s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.cc-chat-window::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, #57BBFF, #A78BFA, #F5CE82);
  flex-shrink: 0;
}
@media (max-width: 479px) {
  .cc-chat-window {
    width: calc(100vw - 32px);
    height: 460px;
    border-radius: 16px;
  }
}

.cc-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(87, 187, 255, 0.15);
  background: rgba(13, 21, 37, 0.8);
  flex-shrink: 0;
}
.cc-chat-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cc-chat-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(87, 187, 255, 0.12);
  border: 1px solid rgba(87, 187, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #57BBFF;
  position: relative;
  flex-shrink: 0;
}
.cc-chat-header__status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8BA4C4;
  border: 2px solid #0C1628;
  transition: background 0.3s;
}
.cc-chat-header__status.online {
  background: #34D399;
}
.cc-chat-header__name {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}
.cc-chat-header__status-label {
  font-size: 11px;
  color: #8BA4C4;
  line-height: 1.2;
}
.cc-chat-header__actions {
  display: flex;
  gap: 4px;
}
.cc-chat-header__btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: none;
  border: none;
  color: #8BA4C4;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: color 0.2s, background 0.2s;
}
.cc-chat-header__btn:hover {
  color: #FFFFFF;
  background: rgba(87, 187, 255, 0.1);
}

.cc-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cc-chat-messages::-webkit-scrollbar {
  width: 3px;
}
.cc-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.cc-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(87, 187, 255, 0.2);
  border-radius: 2px;
}

.cc-chat-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  margin: auto;
}
.cc-chat-welcome__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(87, 187, 255, 0.1);
  border: 1px solid rgba(87, 187, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #57BBFF;
  margin-bottom: 14px;
}
.cc-chat-welcome__title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.cc-chat-welcome__sub {
  font-size: 13px;
  color: #8BA4C4;
  line-height: 1.65;
}

.cc-chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 78%;
  animation: cc-msg-in 0.25s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.cc-chat-msg--out {
  align-self: flex-end;
  align-items: flex-end;
}
.cc-chat-msg--out .cc-chat-msg__bubble {
  background: linear-gradient(135deg, #57BBFF, #3aa8f0);
  color: #070B14;
  border-radius: 16px 16px 4px 16px;
}
.cc-chat-msg--in {
  align-self: flex-start;
  align-items: flex-start;
}
.cc-chat-msg--in .cc-chat-msg__bubble {
  background: rgba(26, 43, 74, 0.8);
  border: 1px solid rgba(87, 187, 255, 0.15);
  color: #C8D8EE;
  border-radius: 16px 16px 16px 4px;
}
.cc-chat-msg__bubble {
  font-size: 13px;
  line-height: 1.55;
  padding: 10px 14px;
  word-break: break-word;
}
.cc-chat-msg__meta {
  font-size: 10px;
  color: #8BA4C4;
  margin-top: 3px;
  padding: 0 2px;
}

.cc-chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px 4px;
  flex-shrink: 0;
}
.cc-chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8BA4C4;
  display: inline-block;
  animation: cc-typing-dot 1.2s ease-in-out infinite;
}
.cc-chat-typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.cc-chat-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

.cc-chat-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(87, 187, 255, 0.15);
  background: rgba(7, 11, 20, 0.5);
  flex-shrink: 0;
}

.cc-chat-input {
  flex: 1;
  background: rgba(26, 43, 74, 0.3);
  border: 1px solid rgba(87, 187, 255, 0.15);
  border-radius: 10px;
  padding: 9px 13px;
  font-family: "Lato", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #FFFFFF;
  outline: none;
  resize: none;
  min-height: 38px;
  max-height: 120px;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cc-chat-input::placeholder {
  color: rgba(139, 164, 196, 0.6);
}
.cc-chat-input:focus {
  border-color: rgba(87, 187, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(87, 187, 255, 0.08);
}

@keyframes cc-signin-success {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 0;
    transform: scale(0.92);
  }
}
@keyframes cc-field-appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cc-chat-signin {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  overflow: hidden;
  perspective: 1200px;
}
.cc-chat-signin--success {
  animation: cc-signin-success 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.cc-chat-signin__flip {
  flex: 1;
  position: relative;
  width: 100%;
}
.cc-chat-signin__flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.cc-chat-signin__flip.flipped .cc-chat-signin__flip-inner {
  transform: rotateY(180deg);
}
.cc-chat-signin__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow-y: auto;
  padding: 0 2px;
}
.cc-chat-signin__face--back {
  transform: rotateY(180deg);
}
.cc-chat-signin__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(87, 187, 255, 0.1);
  border: 1px solid rgba(87, 187, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #57BBFF;
  margin-bottom: 12px;
  flex-shrink: 0;
  animation: cc-window-in 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.1s both;
}
.cc-chat-signin__title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  animation: cc-window-in 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.15s both;
}
.cc-chat-signin__sub {
  font-size: 12px;
  color: #8BA4C4;
  line-height: 1.6;
  margin-bottom: 16px;
  animation: cc-window-in 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.2s both;
}
.cc-chat-signin form {
  width: 100%;
  animation: cc-window-in 0.4s cubic-bezier(0.25, 1, 0.5, 1) 0.25s both;
}
.cc-chat-signin__row {
  display: flex;
  gap: 8px;
}
.cc-chat-signin__row .cc-chat-signin__field {
  flex: 1;
}
.cc-chat-signin__field {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(7, 11, 20, 0.7);
  border: 1px solid rgba(87, 187, 255, 0.15);
  border-radius: 10px;
  padding: 0 12px;
  margin-bottom: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  animation: cc-field-appear 0.35s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.cc-chat-signin__field i {
  color: rgba(87, 187, 255, 0.5);
  font-size: 12px;
  flex-shrink: 0;
  transition: color 0.2s;
}
.cc-chat-signin__field input {
  flex: 1;
  width: 100%;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  padding: 11px 0;
  font-family: "Lato", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #FFFFFF;
}
.cc-chat-signin__field input::placeholder {
  color: rgba(139, 164, 196, 0.6);
}
.cc-chat-signin__field:focus-within {
  border-color: rgba(87, 187, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(87, 187, 255, 0.08);
}
.cc-chat-signin__field:focus-within i {
  color: #57BBFF;
}
.cc-chat-signin__field input:-webkit-autofill,
.cc-chat-signin__field input:-webkit-autofill:hover,
.cc-chat-signin__field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #FFFFFF;
  -webkit-box-shadow: 0 0 0 1000px rgba(7, 11, 20, 0.7) inset;
  transition: background-color 5000s ease-in-out 0s;
  caret-color: #FFFFFF;
}
.cc-chat-signin__field--error {
  border-color: rgba(234, 62, 46, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(234, 62, 46, 0.08) !important;
}
.cc-chat-signin__field--error i {
  color: rgba(234, 62, 46, 0.7) !important;
}
.cc-chat-signin__error {
  font-size: 12px;
  color: #f07070;
  background: rgba(234, 62, 46, 0.08);
  border: 1px solid rgba(234, 62, 46, 0.2);
  border-radius: 7px;
  padding: 8px 12px;
  margin-bottom: 10px;
  text-align: left;
  animation: cc-field-appear 0.3s cubic-bezier(0.25, 1, 0.5, 1) both;
}
.cc-chat-signin__error::before {
  content: "\f071  ";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
.cc-chat-signin__switch {
  margin-top: 12px;
  font-size: 12px;
  color: #8BA4C4;
}
.cc-chat-signin__switch a {
  color: #57BBFF;
  font-weight: 700;
  margin-left: 4px;
}
.cc-chat-signin__switch a:hover {
  text-decoration: underline;
}
.cc-chat-signin__btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #57BBFF, #3aa8f0);
  border: none;
  color: #070B14;
  font-family: "Lato", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  margin-top: 4px;
}
.cc-chat-signin__btn i {
  font-size: 13px;
}
.cc-chat-signin__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(87, 187, 255, 0.4);
}
.cc-chat-signin__btn:active {
  transform: translateY(0);
}
.cc-chat-signin__btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.fa-spin {
  animation: spin 0.8s linear infinite;
}

.cc-chat-send {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #57BBFF;
  border: none;
  color: #070B14;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, background 0.2s;
}
.cc-chat-send:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(87, 187, 255, 0.4);
}
.cc-chat-send:active {
  transform: scale(0.95);
}
.cc-chat-send:disabled {
  background: rgba(87, 187, 255, 0.3);
  color: rgba(7, 11, 20, 0.5);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

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