/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

/* ================= BODY ================= */
body {
  min-height: auto;
  background: #e3effb;
  overflow-x: hidden;
  overflow-y: auto;
}

/* ================= COVER LETTER ================= */
.cover-letter-container {
  position: relative;
  z-index: 999;
  width: 100vw;          /* full width */
  min-height: auto;     /* full height */
  margin: 0;             /* ❌ center hata */
  border-radius: 0;      /* full page look */
  background: linear-gradient(
    180deg,
    #7babde 0%,
    #ffffff 22%,
    #ffffff 78%,
    #7babde 100%
  );
  padding: 40px 60px;
  box-shadow: none;      /* page jaisa lage */
}


.profile-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.letter-header {
  position: relative;
  padding-bottom: 20px;
  border-bottom: none !important;
}

h1 {
  font-size: 36px;
  color: #0f2027;
}

.subtitle {
  font-size: 16px;
  color: #1a73e8;
  margin-bottom: 12px;
}

.contact-bar {
  font-size: 14px;
}

.contact-bar a {
  pointer-events: auto !important;
  position: relative;
  z-index: 1000;
}

.chat-section{
  margin-top:40px;
  text-align:center;
}

#openChatBtn{
  padding:3px 10px;
  font-size:13px;
  border-radius:14px;
  border:1px solid #1e88e5;
  background:#fff;
  color:#1e88e5;
  cursor:pointer;
}


#chatWrapper{
  margin-top:20px;
  width:100%;
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}

#chatFrame{
  width:100%;
  height:70vh;       /* mobile friendly */
  border:none;
  border-radius:10px;
}

.hidden{
  display:none;
}

#openChatBtn:hover{
  background:#1e88e5;
  color:#fff;
}

#chatWrapper{
  margin-top:20px;
  width:100%;
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}

#chatFrame{
  width:100%;
  height:70vh;
  border:none;
  border-radius:10px;
}





/* ================= DOWNLOAD ICON ================= */
.download-icon-wrapper {
  position: absolute;
  top: 0;
  right: 0;
}

.download-icon {
  font-size: 22px;
  cursor: pointer;
}

/* ================= CONTENT ================= */
.divider {
  margin: 15px 0;
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #d0e2f5, transparent);
}

.letter-body p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.value-list {
  margin: 20px 0 25px 20px;
}

.value-list li {
  margin-bottom: 10px;
}

.letter-footer {
  margin-top: 30px;
  border-top: 1px solid #e6eef7;
  padding-top: 20px;
}

.signature {
  font-weight: bold;
}

.timestamp {
  font-size: 14px;
  color: #555;
}

.bot-line {
  margin-top: 15px;
  font-style: italic;
  color: #555;
}

/* ================= CHAT SECTION ================= */
.chat-section {
  width: 100vw;
  min-height: auto;
  margin: 0;
  padding: 30px;
  background: #ffffff;
  border-radius: 0;
}

.chat-section iframe {
  width: 100%;
  height: 85vh;
  border: none;
}


/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .cover-letter-container {
    padding: 25px 20px;
  }

  
  .chat-section iframe {
    height: 500px;
  }
}


/* ================= PRINT ================= */
@media print {
  .chat-section,
  .download-icon-wrapper,
  iframe,
  .bot-line {
    display: none !important;
  }

  body {
    background: white;
  }

  .cover-letter-container {
    box-shadow: none;
    margin: 0;
    padding: 0;
  }
}
/* Service*/
.highlight-text {
  background: linear-gradient(90deg, #ffeb3b, #ff9800);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 600;
  color: #000;
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 5px rgba(255, 152, 0, 0.6);
  }
  50% {
    box-shadow: 0 0 18px rgba(255, 152, 0, 1);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 152, 0, 0.6);
  }
}
