.avatar-widget {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 99999;
  font-family: Montserrat, Arial, sans-serif;
  pointer-events: none;
}

.ask-button,
.chat-panel,
.tooltip {
  pointer-events: auto;
}

.ask-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 122px;
  height: 64px;
  padding: 7px 16px 7px 7px;
  border: 0;
  border-radius: 999px;
  color: #08385f;
  background: #fff;
  box-shadow: 0 16px 42px rgba(3, 26, 46, 0.26);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ask-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(3, 26, 46, 0.32);
}

.avatar-face {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #e9f6ff;
  border: 2px solid #d3ecff;
}

.avatar-face img {
  width: 100%;
  height: 100%;
  display: block;
}

.ask-text {
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(13, 120, 200, 0.38);
  animation: pulse 1.9s ease-out infinite;
}

.tooltip {
  position: absolute;
  left: 4px;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: 230px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: 0.18s ease;
}

.ask-button:hover + .tooltip {
  opacity: 1;
  transform: translateY(0);
}

.chat-panel {
  position: absolute;
  left: 0;
  bottom: 0;
  display: none;
  width: min(350px, calc(100vw - 28px));
  height: min(500px, calc(100vh - 36px));
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(2, 18, 34, 0.34);
  transform-origin: left bottom;
}

.avatar-widget[data-state="open"] .ask-button,
.avatar-widget[data-state="open"] .tooltip {
  display: none;
}

.avatar-widget[data-state="open"] .chat-panel {
  display: flex;
  flex-direction: column;
  animation: panelIn 0.24s ease both;
}

.avatar-widget[data-size="1"] .chat-panel {
  width: min(430px, calc(100vw - 28px));
  height: min(590px, calc(100vh - 36px));
}

.avatar-widget[data-size="2"] .chat-panel {
  width: min(520px, calc(100vw - 28px));
  height: min(680px, calc(100vh - 36px));
}

.chat-toolbar {
  height: 48px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 8px 0 14px;
  background: linear-gradient(135deg, #073e6c, #0d78c8);
  color: #fff;
}

.chat-title {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #42e28d;
  box-shadow: 0 0 0 4px rgba(66, 226, 141, 0.18);
}

.chat-controls {
  display: flex;
  gap: 4px;
}

.chat-controls button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: 0.16s ease;
}

.chat-controls button:hover {
  background: rgba(255, 255, 255, 0.24);
}

.chat-controls svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.chat-panel iframe {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  background: #f8fafc;
}

html,
body,
.w-default {
  max-width: 100%;
  overflow-x: hidden;
}

.divslick-list {
  overflow: hidden !important;
  padding-left: 0 !important;
  max-width: 100% !important;
}

.divslick-track {
  width: max-content !important;
  overflow: visible !important;
  animation: stakeholderMarquee 60s linear infinite;
  will-change: transform;
}

.divstakeholder-slider {
  flex: 0 0 276px !important;
}

@keyframes pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes stakeholderMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .divcontainer-fluid2 {
    padding: 0 16px !important;
  }

  .divlogo {
    width: auto !important;
    min-width: 0 !important;
  }

  .logo {
    min-width: 0 !important;
    max-width: 260px !important;
    width: 260px !important;
  }

  .component-12 {
    width: 260px !important;
    height: 48px !important;
  }

  .withouttextlogosvg {
    display: none !important;
  }

  .buttonbtnmargin {
    min-width: 0 !important;
    padding-right: 0 !important;
  }

  .buttonbtn {
    width: auto !important;
    min-width: 94px !important;
    height: 46px !important;
    padding: 10px 14px !important;
  }

  .divnavbar-nav {
    padding: 0 16px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .widgets-section,
  .gateway-notification-section,
  .stages-section,
  .job-opnening,
  .official-stakeholder,
  .footer-content {
    width: min(100% - 24px, 1320px) !important;
  }

  .gateway-notification-section {
    padding: 22px 16px !important;
  }

  .left,
  .right {
    width: 100% !important;
    max-width: 100% !important;
  }

  .onetime-registrationmargin,
  .card-1margin {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
  }

  .divdivisions {
    height: auto !important;
  }
}

@media (max-width: 720px) {
  .avatar-widget {
    left: 14px;
    bottom: 14px;
  }

  .ask-button {
    min-width: 108px;
    height: 58px;
  }

  .avatar-face {
    width: 44px;
    height: 44px;
  }

  .chat-panel,
  .avatar-widget[data-size="1"] .chat-panel,
  .avatar-widget[data-size="2"] .chat-panel {
    width: calc(100vw - 28px);
    height: min(520px, calc(100vh - 28px));
  }

  .chat-toolbar {
    height: 52px;
    padding-left: 12px;
  }

  .chat-title strong {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .divtopbar .divrow,
  .divaccess-container,
  .divaccess-icons {
    justify-content: center !important;
  }

  .divcol-lg-4,
  .divcol-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .a {
    width: auto !important;
    max-width: 100% !important;
  }

  .government-of-rajasthan {
    width: auto !important;
  }

  .divcontainer-fluid2 {
    gap: 10px !important;
  }

  .logo {
    max-width: 205px !important;
    width: 205px !important;
  }

  .component-12 {
    width: 205px !important;
    height: 38px !important;
  }

  .buttonbtn {
    min-width: 46px !important;
    width: 46px !important;
    padding: 10px !important;
  }

  .buttonbtn .login {
    display: none !important;
  }

  .onetime-registrationmargin,
  .card-1margin {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
  }

  .gateway-notification-section {
    position: relative !important;
    width: calc(100% - 24px) !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #3f5bd9 !important;
    padding: 28px 16px 32px !important;
    color: #fff !important;
  }

  .bluebackgroundsvg-clip {
    display: none !important;
  }

  .left,
  .right,
  .panes,
  .divdivisions,
  .job-opnening {
    height: auto !important;
  }

  .divd-flex10,
  .job-opnening,
  .footer-content {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .divflex-grow-1 {
    min-width: 0 !important;
  }

  .left {
    padding: 0 !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    align-self: stretch !important;
    z-index: 1 !important;
  }

  .left .div2 {
    padding: 0 !important;
    gap: 14px !important;
    color: #fff !important;
  }

  .your-gateway-to {
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1.18 !important;
    text-shadow: none !important;
  }

  .rajasthan-recruitment-portal,
  .one-time-registration-system,
  .informational-coordination-fro,
  .coordination-between-the,
  .information-system-for,
  .linkage-with-digilocker,
  .analytical-presentation-of {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    flex-shrink: 1 !important;
    color: #fff !important;
    line-height: 1.45 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  .li,
  .li2,
  .li3,
  .li4,
  .li5,
  .li6,
  .li7,
  .informational-coordination-fro-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    display: block !important;
    position: relative !important;
  }

  .space,
  .text11,
  .text15 {
    display: none !important;
  }

  .ulotp-description {
    padding: 0 0 18px 22px !important;
    font-size: 14px !important;
    gap: 6px !important;
  }

  .p {
    padding: 0 !important;
  }

  .pwelcome-to-all-aspirants-wi {
    align-self: center !important;
    margin-top: 4px !important;
  }

  .right {
    min-width: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    align-self: stretch !important;
    z-index: 1 !important;
  }

  .divnotice-board {
    width: 100% !important;
    max-width: 100% !important;
  }

  .divnotice-header,
  .divdivisiontitledes,
  .tabs,
  .panes,
  .divnotif,
  .divnotice-item,
  .divnotice-item3,
  .p2,
  .p3,
  .p4,
  .p5,
  .p6 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
  }

  .tabs {
    flex-wrap: wrap !important;
    justify-content: center !important;
    overflow: visible !important;
    gap: 8px !important;
    padding: 12px !important;
  }

  .component-4,
  .component-42 {
    width: auto !important;
    min-width: 0 !important;
    flex: 1 1 130px !important;
    align-items: center !important;
  }

  .panes {
    height: auto !important;
    overflow: visible !important;
    padding: 10px !important;
  }

  .education-document,
  .details-fetch,
  .candidate-help-document,
  .candidate-help-document1,
  .face-authentication-process-he,
  .dear-candidate-if,
  .component-211,
  .component-212,
  .component-213,
  .component-214,
  .text19,
  .text20 {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .education-document {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .details-fetch,
  .p4,
  .p5 {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .divnotice-item,
  .divnotice-item3 {
    padding: 12px !important;
  }

  .divstakeholder-slider {
    flex-basis: 210px !important;
    width: 210px !important;
  }

  .department-wise {
    width: 100% !important;
    max-width: 100% !important;
    padding: 36px 12px 0 !important;
    box-sizing: border-box !important;
    align-items: center !important;
  }

  .divdepartment-wise {
    width: 100% !important;
    max-width: 430px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    align-items: center !important;
  }

  .department-wise .h213,
  .job-opnening .h214 {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .department-wise .stages-of-the,
  .department-wise .examination-life-cycle,
  .job-opnening .stages-of-the,
  .job-opnening .vacancies {
    text-align: center !important;
  }

  .divrow2 {
    width: 100% !important;
    max-width: 430px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 auto !important;
  }

  .card-1margin {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
  }

  .card-1 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .divcard-body {
    padding: 18px !important;
  }

  .divd-flex6 {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 14px !important;
  }

  .card-1 .rsmssb-logo-icon {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain !important;
  }

  .h3,
  .rssb,
  .rajasthan-staff-selection-boar,
  .applications,
  .applications2 {
    width: auto !important;
    max-width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .pmb-0,
  .h6fw-bold,
  .h6fw-bold3 {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }

  .job-opnening {
    width: 100% !important;
    max-width: 100% !important;
    padding: 40px 12px 0 !important;
    box-sizing: border-box !important;
    align-items: center !important;
  }

  .recommended-tab {
    width: 100% !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    padding: 14px !important;
    box-sizing: border-box !important;
  }

  .divd-flex10 {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    text-align: center !important;
  }

  .rssb-logomargin {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    align-items: center !important;
  }

  .rssb-logo-icon {
    width: 82px !important;
    height: 82px !important;
    object-fit: contain !important;
  }

  .divflex-grow-1 {
    width: 100% !important;
    min-width: 0 !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 !important;
  }

  .h6cursor-p,
  .direct-recruitment-of,
  .rssb1 {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .divd-flex11,
  .divms-sm-auto,
  .smalld-block,
  .component-26,
  .component-27,
  .component-44 {
    align-self: center !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .smalld-block {
    margin-top: 8px !important;
  }
}
