/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
  }
  
  .svg-icon {
    width: 30px;
    height: 30px;
    fill: white;
  }
  
  /* WhatsApp Chat Box */
  .whatsapp-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background-color: #e5ddd5;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
    opacity: 0;
  }
  
  .whatsapp-chat-box.active {
    transform: scale(1);
    opacity: 1;
  }
  
  /* Chat Header */
  .chat-header {
    background-color: #075E54;
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .profile {
    display: flex;
    align-items: center;
  }
  
  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
  }
  
  .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .info h4 {
    margin: 0;
    font-size: 16px;
  }
  
  .info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
  }
  
  .header-actions button {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    margin-left: 15px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
  }
  
  .header-actions button:hover {
    opacity: 1;
  }
  
  /* Chat Body */
  .chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-image: url('https://web.whatsapp.com/img/bg-chat-tile-light_a4be512e7195b6b733d9110b408f075d.png');
    background-repeat: repeat;
    display: flex;
    flex-direction: column;
  }
  
  .message {
    max-width: 70%;
    margin-bottom: 15px;
    display: flex;
  }
  
  .message.received {
    align-self: flex-start;
  }
  
  
  
  .message-content {
    padding: 8px 12px;
    border-radius: 7.5px;
    position: relative;
  }
  
  .message.received .message-content {
    background-color: white;
  }
  
  
  .time {
    font-size: 11px;
    color: #666;
    display: block;
    text-align: right;
    margin-top: 5px;
  }
  
  /* Chat Footer */
  .chat-footer {
    background-color: #f0f0f0;
    padding: 10px;
    display: flex;
    align-items: center;
  }
  
  .chat-footer input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    outline: none;
    margin: 0 10px;
  }
  
  .chat-footer button {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
  }
  
  .chat-footer button:hover {
    color: #075E54;
  }
  
  .send-btn {
    color: #075E54 !important;
  }
  
  #loginMain {
    position: relative;
    overflow: hidden;
  }
  
  .slide-screen {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: transform 0.4s ease; /* 🚫 removed opacity transition */
  }
  
  .custom-link small {
    color: inherit; /* keeps normal text color */
    transition: color 0.3s ease; /* smooth hover effect */
  }
  
  .custom-link:hover small {
    color: #93030c;
  }
  .plicy
  {
    color:#0065be !important;;
    text-decoration: underline;
  }
  
  /* Page processing overlay (shown for specific links) */
  #page-processing-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    /* Disabled/blocked look */
    background: rgba(0, 0, 0, 0);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    cursor: progress;
    pointer-events: all;
  }
  #page-processing-overlay.is-active {
    display: flex;
  }
  #page-processing-overlay .ppo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    text-align: center;
    color: #111;
  }
  #page-processing-overlay .ppo-text {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.2px;
  }
  #page-processing-overlay .ppo-img {
    display: block;
    /* Responsive loader size (mobile -> desktop) */
    height: clamp(56px, 10vw, 92px);
    width: auto;
    max-width: min(60vw, 180px);
    object-fit: contain;
  }
  #page-processing-overlay .ppo-spinner {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 4px solid rgba(147, 3, 12, 0.18);
    border-top-color: #93030c;
    animation: ppo-spin 0.9s linear infinite;
  }
  @keyframes ppo-spin {
    to { transform: rotate(360deg); }
  }