  :root {
    --primary: #860000;
    --bg: white;
    --text: #333;
    --light: #fff;
  }





  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

#login-screen {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(134, 0, 0, 0.1);
  border-radius: 20px;
  padding: 50px 40px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 
    0 20px 40px rgba(134, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#login-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #860000, #a30000, #860000);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

#login-screen h2 {
  color: #2d3748;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #860000, #a30000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-logo {
  width: auto;
  height: 100px;
  margin-bottom: 25px;
  animation: loginFadeIn 1s ease-out 0.3s both;
}

@keyframes loginFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-security-notice {
  background: linear-gradient(135deg, #f7f7f7, #f1f5f9);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.login-security-notice-title {
  color: #1e293b;
  font-weight: 600;
}

.login-security-notice-text {
  margin: 0;
  text-align: justify;
  hyphens: auto;
}

.login-security-notice-link {
  color: #860000;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(134, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.login-security-notice-link:hover {
  border-bottom-color: #860000;
}

.custom-login-google-btn {
  background: linear-gradient(135deg, #860000, #a30000);
  border: 2px solid #860000;
  border-radius: 14px;
  padding: 18px 30px;
  width: 100%;
  max-width: 300px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}

.custom-login-google-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.custom-login-google-btn:hover::before {
  left: 100%;
}

.custom-login-google-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 24px rgba(134, 0, 0, 0.3),
    0 4px 8px rgba(134, 0, 0, 0.2);
  background: linear-gradient(135deg, #a30000, #860000);
}

.custom-login-google-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 4px 8px rgba(134, 0, 0, 0.2),
    0 2px 4px rgba(134, 0, 0, 0.1);
  background: linear-gradient(135deg, #730000, #860000);
}

.custom-login-google-btn img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.custom-login-google-btn:hover img {
  transform: scale(1.1);
}

.login-status {
  margin-top: 24px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
  transition: all 0.3s ease;
}

.login-status.success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.login-status.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.login-status.loading {
  background: linear-gradient(135deg, #860000, #a30000);
  color: white;
  box-shadow: 0 4px 12px rgba(134, 0, 0, 0.3);
}

.login-status.loading::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #login-screen {
    padding: 40px 20px;
    margin: 10px;
    max-width: calc(100vw - 20px);
    border-radius: 16px;
  }
  
  #login-screen h2 {
    font-size: 28px;
  }
  
  .custom-login-google-btn {
    padding: 20px 26px;
    font-size: 16px;
    max-width: 280px;
  }
  
  .login-security-notice {
    padding: 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  #login-screen {
    padding: 30px 15px;
    margin: 5px;
    max-width: calc(100vw - 10px);
  }
  
  #login-screen h2 {
    font-size: 24px;
  }
  
  .custom-login-google-btn {
    padding: 14px 20px;
    font-size: 15px;
    max-width: 100%;
  }
  
  .login-security-notice {
    padding: 14px;
    margin: 20px 0;
  }
}









/* Ayarlar Butonu - Logout altında - GÜNCELLENMIŞ */
.settings-btn {
    position: fixed;
    top: 40px;
    right: 15px;
  padding: 8px 8px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  user-select: none;
}

.settings-btn:hover {
  transform: translateY(-1px) rotate(90deg) scale(1.45); /* %40 büyütme */
}

.settings-btn:active {
  transform: translateY(0) rotate(90deg) scale(1.25);
}




/* PWA Toggle düğmesi sol üst */
.pwa-toggle-btn {
  position: fixed;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  z-index: 1001;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

/* Mobil responsive */
@media screen and (max-width: 768px) {
  .pwa-toggle-btn {
    top: 10px;
    left: 10px;
    padding: 3px 6px;
    font-size: 6px;
  }
  
}



  #chatbox audio {
    max-width: 350px;
    max-height: 45px;
  }

  /* Mobil ekranlar için */
  @media (max-width: 768px) {
    #chatbox audio {
      max-width: 200px;
      max-height: 40px;
    }
  }

  .timestamp {
    font-size: 0.55rem;
    opacity: 0.75;
    margin-top: 5px;
    text-align: right;
    user-select: none;
    display: block;
  }

  #top-banner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    z-index: 20;
  }

  #top-banner-logo {
    height: 100px;
    user-select: none;
  }




  /* Ses Kontrol Toggle */
/* Ses Kontrol Toggle - Sol tarafta */
.sound-toggle {
  position: fixed;
  top: 60px;
  left: 15px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 25px;
  width: 45px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sound-toggle-label {
  position: fixed;
  top: 80px;
  left: 20px;
  font-size: 9px;
  color: #666;
  z-index: 1001;
  user-select: none;
}




  .sound-toggle.enabled {
    background: #27ae60;
    border-color: #27ae60;
  }

  .sound-toggle .toggle-slider {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }

  .sound-toggle.enabled .toggle-slider {
    transform: translateX(24px);
  }


  /* Notification dot */
  .notification-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background: #ff4757;
    border-radius: 50%;
    animation: pulse 2s infinite;
  }


@keyframes pulse {
  0% { 
    transform: scale(1); 
    opacity: 1; 
  }
  50% { 
    transform: scale(1.05); 
    opacity: 0.8; 
  }
  100% { 
    transform: scale(1); 
    opacity: 1; 
  }
}



  @keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
  }

  * {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
  }

  body {
    margin: 0;
    padding-top: 120px;
    background-color: var(--bg);
    color: var(--text);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }

  #chat-screen {
    width: 100%;
    height: 100vh;
    display: none;
    flex-direction: column;
    flex-grow: 1;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }

  #login-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  #login-screen input {
    padding: 10px;
    margin: 10px;
    width: 75%;
    border: 1px solid #ccc;
    border-radius: 8px;
  }

  #login-screen button {
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  header {
    text-align: center;
    padding: 0px 10px 5px 10px;
    background-color: var(--light);
    margin: 90 0px 5px 0px;
  }


  #chatbox {
    width: 98vw;
    height: 99vw;
    margin: auto;
    background-color: black;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .message-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 8px;
    max-width: 70%;
  }

  .message-wrapper.user {
    flex-direction: row-reverse;
    justify-content: flex-end;
    font-size: 15px;
    margin-left: auto;
    justify-content: flex-end;
  }

  .message-wrapper.bot {
    flex-direction: row;
    justify-content: flex-start;
    font-size: 15px;
  }

  .message-content {
    padding: 4px 8px;
    border-radius: 12px;
    max-width: 100%;
    word-wrap: break-word;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.25;
    letter-spacing: normal;
    word-spacing: normal;
    margin: -10px -5px -5px -5px;
  }

  .message-content.user {
    background-color: var(--primary);
    color: white;
    border-top-right-radius: 0;
    text-align: right;
    text-align: justify;
    margin-top: 0px;
  }

  .message-content.bot {
    background-color: #eaeaea;
    color: black;
    border-top-left-radius: 0;
    text-align: left;
    text-align: justify;
    margin-top: 0px;

  }

  /* Notification message style */
  .message-content.notification {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-left: 4px solid #2c3e50;
    position: relative;
  }

  .message-content.notification::before {
    content: "🔔";
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 16px;
  }

  .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    margin: 5px 6px 5px -8px;
    border: 3px solid white;
  }

  #suggestions {
    display: flex;
    flex-wrap: wrap;
    margin: 7px 0 0 0;
    justify-content: center;
    gap: 7px;
    padding: 5px;
    background: white;
    min-height: 65px;
    max-height: 80px;
    overflow-y: auto;
  }

  .suggestion {
    background-color: #dadada;
    padding: 0 15px;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 23px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: 100%;
  }

  .suggestion:hover {
    background-color: var(--primary);
    color: white;
  }

        #input-area {
            display: flex;
            align-items: flex-end; /* Textarea ile uyumlu hizalama */
            padding: 8px;
            background: var(--light);
            gap: 6px;
            flex-wrap: wrap;
            overflow-y: auto;
            transition: max-height 0.3s ease;
            max-height: 200px;
            min-height: 105px;
        }

/* Textarea için güncellenmiş stiller */
#message-input {
    flex: 1 1 auto;
    min-width: 100px;
    max-width: 100%;
    padding: 10px 10px;
    font-size: 16px;
    border-radius: 15px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    outline: none;
    margin: 0 8px;
    height: auto; 
    box-sizing: border-box;
    resize: none;
    overflow-y: auto;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.3;
    vertical-align: top;
}

  .icon-btn {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            margin: 0px -4px 15px -1px;
            align-self: flex-end; /* Textarea'nın alt kısmına hizala */
        }

        .send-bubble {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            margin: 5px 10px 5px 0px;
            border: none;
            font-size: 30px;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
            align-self: flex-end; /* Textarea'nın alt kısmına hizala */
        }

  #typing-indicator {
    display: none;
    position: fixed;
    top: calc(130px + 20px);
    left: 35px;
    right: auto;
    bottom: auto;
    background: white;
    padding: 10px 12px;
    font-style: italic;
    font-size: 13px;
    color: #464646;
    max-width: 200px;
    border-radius: 10px;
    z-index: 10000;
  }

  .typing-dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #525252;
    border-radius: 50%;
    margin: 0 3px;
    animation: blink 1.4s infinite ease-in-out both;
  }

  .typing-dots span:nth-child(1) {
    animation-delay: 0s;
  }
  .typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
  }
  .typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
  }

  @keyframes blink {
    0%, 80%, 100% {
      opacity: 0;
    }
    40% {
      opacity: 1;
    }
  }

  .share-btn {
    cursor: pointer;
    font-size: 14px;
    color: var(--primary);
    margin-left: 8px;
    user-select: none;
    transition: color 0.3s;
  }

  .share-btn:hover {
    color: #540000;
  }


  footer {
  min-height: 50px;
  max-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #eee;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
}

footer a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-decoration: none;
}

footer a:first-child {
  left: 15px;
}

footer a:last-child {
  right: 15px;
}

footer .logo {
  height: 40px;
  max-height: 40px;
  object-fit: contain;
  display: block;
}

.footer-center-text {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  user-select: none;
  text-align: center;
  padding: 0 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}



  #chat-screen {
    display: flex;
    flex-direction: column;   
  }

  #chatbox {
    padding: 10px;
    overflow-y: auto;
    margin-top: 30px;
  }

  header {
    padding: 200px 0 0 0;
    background-color: #fff;
    text-align: center;
    flex-shrink: 0;
  }

  #chat-header {
    height: 50px;
    padding: 0 5px;
    margin-top: -30px;
    margin-bottom: -30px;
    position: relative;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #greeting {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    width: 100%;
  }

  .logout {
    position: fixed;
    top: 10px;
    right: 80px;
    font-size: 14px;
    color: #888;
    cursor: pointer;
    margin: 0;
    z-index: 1000;
  }

  /* Install prompt */
  .install-prompt {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 15px;
    border-radius: 12px;
    z-index: 1002;
    display: none;
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.3);
  }

  .install-prompt button {
    background: white;
    color: #007bff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    margin: 5px;
    cursor: pointer;
    font-weight: 600;
  }

  /* Hidden audio element */
  #notification-sound {
    display: none;
  }

  @media screen and (max-width: 768px) {
    html, body {
      margin: 0;
      padding: 0;
      height: 100vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }


 .settings-btn {
    top: 30px;
    right: 10px;
    font-size: 15px;
    width: 30px;
    height: 30px;
    padding: 6px 8px;
  }
  
  .settings-btn:hover {
    transform: translateY(-1px) rotate(45deg) scale(1.4);
  }
  
  .settings-btn:active {
    transform: translateY(0) rotate(45deg) scale(1.2);
  }










  #greeting {
    font-size: 14px;
    margin-top: 18px;
  }

    .sound-toggle {
      top: 30px;
      left: 10px;
      width: 35px;
      height: 15px;
    }

    .sound-toggle .toggle-slider {
      width: 10px;
      height: 10px;
      top: 2px;
      left: 2px;
    }

    .sound-toggle.enabled .toggle-slider {
      transform: translateX(18px);
    }

    .sound-toggle-label {
      top: 45px;
      left: 15px;
      font-size: 8px;
    }

    .logout {
      right: 60px;
      font-size: 9px;
    }

    #top-banner-container {
      height: 70px;
      flex-shrink: 0;
    }

    #top-banner-logo {
      height: 70px;
    }

    #chat-screen {
      display: flex;
      flex-direction: column;
      height: calc(100vh - 90px - 50px);
      overflow: hidden;
    }

    #suggestions {
      flex-shrink: 0;
      height: 100px;
      overflow-y: auto;
      padding: 2px;
      gap: 4px;
    }






    #chatbox {
      flex-grow: 1;
      overflow-y: auto;
      padding: 6px;
      margin-top: 30px;
    }

#input-area {
                display: flex;
                flex-shrink: 0;
                height: auto; /* Dinamik yükseklik */
                min-height: 60px;
                max-height: 120px;
                padding: 8px;
                gap: 8px;
                flex-wrap: nowrap;
                overflow-x: auto;
                align-items: flex-end; /* Textarea ile uyumlu */
            }

    .message-wrapper.user,
    .message-wrapper.bot {
      font-size: 13px;
    }

    .timestamp {
      font-size: 0.5rem;
    }

    .suggestion {
      font-size: 11px;
      padding: 5px 9px;
      height: 25px;

    }

#message-input {
    font-size: 13px;
    padding: 10px;
    height: auto; /* Mobilde dinamik yükseklik */
    min-height: 38px; /* Mobilde tek satır yüksekliği */
    max-height: 80px; /* Mobilde 4 satır maksimum */
    line-height: 1.1;
    margin: 3px 0px 3px 0px;
}

     .send-bubble {
                width: 35px;
                height: 35px;
                font-size: 20px;
                margin: 2px 5px 2px 0px;
            }

            .icon-btn {
                font-size: 18px;
                margin: 2px -4px 8px -4px;
            }


    .avatar {
      width: 25px;
      height: 25px;
      border: 2px solid white;
    }
 footer {
    height: 36px;
    max-height: 36px;
    min-height: 36px;
    padding: 0 10px;
  }
  
  footer a {
    position: static;
    transform: none;
  }
  
  footer .logo {
    height: 30px;
    max-height: 30px;
  }
  
  .footer-center-text {
    font-size: 7px;
    padding: 0 80px;
  }




    header {
      display: none;
    }

    #login-screen input,
    #login-screen button {
      font-size: 18px;
      padding: 12px;
    }

    #typing-indicator {
      top: 110px;
      left: 20px;
      font-size: 8px;
      max-width: 180px;
    }

    .typing-dots span {
      display: inline-block;
      width: 3px;
      height: 3px;
      background-color: #666;
      border-radius: 50%;
      margin: 0 2px;
      animation: blink 1.4s infinite ease-in-out both;
    }


    #chat-header {
      padding: 0 5px;
      margin-top: 50px;
      position: relative;
      background-color: var(--light);
      display: block;
      align-items: center;
      justify-content: center;
    }

    .install-prompt {
      left: 10px;
      right: 10px;
      bottom: 10px;
      padding: 12px;
    }
  }





  /* Google Auth Styling */
.custom-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 250px;
  margin: 20px auto;
}

.custom-google-btn:hover {
  border-color: #4285f4;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
  transform: translateY(-2px);
}

.login-status {
  margin-top: 20px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

.login-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.login-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.login-status.loading {
  background: #cce7ff;
  color: #004085;
  border: 1px solid #99d6ff;
  display: block;
}

/* ==========================================
   CHAT LİNK GÜZELLEŞTİRME STİLLERİ
   ========================================== */

/* Web site linkları */
.chat-link {
  color: inherit !important;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid;
  padding: 1px 3px;
  border-radius: 3px;
  transition: all 0.3s ease;
  word-break: break-word;
}

.chat-link:hover {
  transform: translateY(-1px);
}

.chat-link:active {
  transform: translateY(0);
}

/* E-mail linkları */
.chat-email {
  color: inherit !important;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid;
  padding: 1px 3px;
  border-radius: 3px;
  transition: all 0.3s ease;
  word-break: break-word;
}

.chat-email:hover {
  transform: translateY(-1px);
}

.chat-email:active {
  transform: translateY(0);
}

/* Telefon linkları */
.chat-phone {
  color: inherit !important;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid;
  padding: 1px 3px;
  border-radius: 3px;
  transition: all 0.3s ease;
  word-break: break-word;
}

.chat-phone:hover {
  transform: translateY(-1px);
}

.chat-phone:active {
  transform: translateY(0);
}

/* Mobil cihazlar için responsive */
@media (max-width: 768px) {
  .chat-link,
  .chat-email,
  .chat-phone {
    font-size: 13px;
    padding: 2px 4px;
    border-radius: 4px;
  }
  
  /* Mobilde hover efektini kaldır, sadece active kullan */
  .chat-link:hover,
  .chat-email:hover,
  .chat-phone:hover {
    transform: none;
  }
  
  .chat-link:active,
  .chat-email:active,
  .chat-phone:active {
    transform: scale(0.95);
  }
}

/* Uzun linkler için kelime kırma */
.message-content .chat-link,
.message-content .chat-email,
.message-content .chat-phone {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Link önünde ikon eklemek isterseniz (isteğe bağlı) */
.chat-link::before {
  content: "🔗 ";
  font-size: 12px;
  opacity: 0.7;
}

.chat-email::before {
  content: "📧 ";
  font-size: 12px;
  opacity: 0.7;
}

.chat-phone::before {
  content: "📞 ";
  font-size: 12px;
  opacity: 0.7;
}
