 :root {
      --whatsapp-green: #075e54;
      --whatsapp-light-green: #25d366;
      --whatsapp-chat-bg: #e5ddd5;
      --whatsapp-sent-bg: #dcf8c6;
      --whatsapp-received-bg: #ffffff;
      --whatsapp-header: #128c7e;
      --shadow-light: 0 1px 3px rgba(0,0,0,0.12);
      --shadow-medium: 0 3px 6px rgba(0,0,0,0.16);
    }
    
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
      -webkit-tap-highlight-color: transparent;
    }
    
    html {
      height: 100%;
    }
    
    body {
      height: 100%;
      background: var(--whatsapp-chat-bg);
      position: fixed;
      width: 100%;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
    }
    
    .app-container {
      display: flex;
      height: 100vh;
      height: 100dvh;
      background: var(--whatsapp-chat-bg);
      flex-wrap: nowrap;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
    }
    
    .side-panel {
      width: 380px;
      min-width: 300px;
      background: #fff;
      border-right: 1px solid #e0e0e0;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow-light);
      z-index: 1000;
      transition: transform 0.3s ease;
      height: 100%;
      overflow: hidden;
    }
    
    .panel-header {
      height: 70px;
      min-height: 70px;
      background: var(--whatsapp-header);
      color: #fff;
      display: flex;
      align-items: center;
      padding: 0 20px;
      font-size: 18px;
      font-weight: 500;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
      flex-shrink: 0;
    }
    
    .user-avatar {
      width: 45px;
      height: 45px;
      min-width: 45px;
      border-radius: 50%;
      background: #34b7f1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: white;
      margin-right: 15px;
    }
    
    @media (max-width: 768px) {
      .side-panel {
        position: absolute;
        z-index: 10;
        width: 100%;
        transform: translateX(-100%);
      }
      
      .side-panel.open {
        transform: translateX(0);
      }
    }
    
    .panel-header {
      padding: 15px;
      background: #25d366;
      color: white;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    
    .user-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .header-title {
      font-weight: bold;
      font-size: 18px;
    }
    
    .header-actions {
      display: flex;
      gap: 10px;
    }
    
    .header-icon {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      position: relative;
      transition: background 0.3s;
    }
    
    .header-icon:hover {
      background: rgba(255, 255, 255, 0.1);
    }
    
    .notification-badge {
      position: absolute;
      top: -5px;
      right: -5px;
      background: #ff4444;
      color: white;
      border-radius: 50%;
      width: 18px;
      height: 18px;
      font-size: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .search-container {
      padding: 15px;
      border-bottom: 1px solid #e0e0e0;
    }
    
    .search-box {
      width: 100%;
      padding: 10px 15px;
      border: 1px solid #e0e0e0;
      border-radius: 20px;
      outline: none;
      font-size: 14px;
    }
    
    .search-box:focus {
      border-color: #25d366;
    }
    
    .cities-list {
      flex: 1;
      overflow-y: auto;
    }
    
    .city-item {
      padding: 15px;
      display: flex;
      align-items: center;
      cursor: pointer;
      border-bottom: 1px solid #f0f0f0;
      transition: background 0.3s;
    }
    
    .city-item:hover {
      background: #f5f5f5;
    }
    
    .city-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #e0e0e0;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 15px;
    }
    
    .city-info {
      flex: 1;
    }
    
    .city-name {
      font-weight: bold;
      margin-bottom: 5px;
    }
    
    .city-desc {
      font-size: 12px;
      color: #666;
    }
    
    .district-toggle {
      padding: 5px;
      cursor: pointer;
    }
    
    .notification-toggle {
      position: relative;
      padding: 5px;
      cursor: pointer;
      color: #999;
    }
    
    .notification-toggle.active {
      color: #25d366;
    }
    
    .local-badge {
      position: absolute;
      top: -5px;
      right: -5px;
      background: #ff4444;
      color: white;
      border-radius: 50%;
      width: 16px;
      height: 16px;
      font-size: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .remove-filter {
      position: absolute;
      top: -5px;
      right: -15px;
      background: #ff4444;
      color: white;
      border-radius: 50%;
      width: 16px;
      height: 16px;
      font-size: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    
    .districts-container {
      display: none;
      background: #f9f9f9;
    }
    
    .district-item {
      padding: 12px 15px 12px 60px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      border-bottom: 1px solid #eee;
      transition: background 0.3s;
    }
    
    .district-item:hover {
      background: #f0f0f0;
    }
    
    /* Sohbet paneli stilleri */
    .chat-panel {
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    
    .chat-header {
      padding: 15px;
      background: white;
      border-bottom: 1px solid #e0e0e0;
      display: flex;
      align-items: center;
    }
    
    .chat-back {
      display: none;
      margin-right: 15px;
      cursor: pointer;
    }
    
    @media (max-width: 768px) {
      .chat-back {
        display: block;
      }
    }
    
    .chat-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #e0e0e0;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 15px;
    }
    
    .chat-info {
      flex: 1;
    }
    
    .chat-title {
      font-weight: bold;
    }
    
    .chat-status {
      font-size: 12px;
      color: #666;
    }
    
    .chat-actions {
      display: flex;
      gap: 10px;
    }
    
    .messages-container {
      flex: 1;
      padding: 20px;
      overflow-y: auto;
      background: #e5ddd5;
    }
    
    .message {
      margin-bottom: 15px;
      display: flex;
    }
    
    .message.received {
      justify-content: flex-start;
    }
    
    .message.sent {
      justify-content: flex-end;
    }
    
    .message-content {
      display: flex;
      max-width: 70%;
    }
    
    .message.received .message-content {
      flex-direction: row;
    }
    
    .message.sent .message-content {
      flex-direction: row-reverse;
    }
    
    .message-avatar {
      margin: 0 8px;
    }
    
    .avatar-circle {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #ddd;
      font-size: 14px;
    }
    
    .avatar-image {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      object-fit: cover;
    }
    
    .avatar-fallback {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
    }
    
    .message-bubble {
      background: white;
      border-radius: 7.5px;
      padding: 8px 12px;
      box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
      position: relative;
    }
    
    .message.sent .message-bubble {
      background: #dcf8c6;
    }
    
    .message-sender {
      font-size: 12px;
      font-weight: bold;
      margin-bottom: 4px;
      color: #25d366;
    }
    
    .message-text {
      margin-bottom: 5px;
	  word-break: break-word;
	  white-space: pre-wrap;
	  line-height: 1.4;
    }
    
    .message-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 11px;
      color: #999;
    }
    
    .message-status {
      margin-left: 5px;
      color: #4fc3f7;
    }
    
    .call-buttons-container {
      margin-top: 5px;
    }
    
    .yuk-ilani {
      background: white;
      border-radius: 7.5px;
      padding: 12px;
      margin-bottom: 15px;
      box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
      border-left: 4px solid #ff9800;
    }
    
    .yuk-ilani .content {
      margin-bottom: 8px;
	  word-break: break-word;
	  white-space: pre-wrap;
	  line-height: 1.4;
	  white-space: pre-wrap !important;
	  word-wrap: break-word !important;
	  line-height: 1.4 !important;
  
    }
    
    .yuk-ilani .meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 11px;
      color: #999;
    }
    
    .highlight {
      background: #fff9c4;
      padding: 2px 4px;
      border-radius: 3px;
    }
    
    .message-input-container {
      padding: 15px;
      background: white;
      display: flex;
      align-items: center;
      border-top: 1px solid #e0e0e0;
    }
    
    .input-actions {
      display: flex;
      gap: 10px;
      margin-right: 10px;
    }
    
    .input-icon {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #666;
      transition: background 0.3s;
    }
    
    .input-icon:hover {
      background: #f0f0f0;
    }
    
    .message-input {
      flex: 1;
      padding: 10px 15px;
      border: 1px solid #e0e0e0;
      border-radius: 20px;
      outline: none;
      font-size: 14px;
    }
    
    .message-input:focus {
      border-color: #25d366;
    }
    
    .location-button, .send-button {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: none;
      background: #25d366;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      margin-left: 10px;
      transition: background 0.3s;
    }
    
    .location-button:hover, .send-button:hover {
      background: #1ebe57;
    }
    
    /* Arama butonu stilleri */
    .call-btn {
      background: #25d366;
      color: white;
      border: none;
      border-radius: 4px;
      padding: 4px 8px;
      font-size: 12px;
      cursor: pointer;
      margin-left: 5px;
      transition: all 0.3s;
    }
    
    .call-btn:hover {
      background: #1ebe57;
      transform: translateY(-1px);
    }
    
    .call-btn-yuk {
      background: #ff9800;
      color: white;
      border: none;
      border-radius: 4px;
      padding: 4px 8px;
      font-size: 12px;
      cursor: pointer;
      margin-left: 5px;
      transition: all 0.3s;
    }
    
    .call-btn-yuk:hover {
      background: #e68a00;
      transform: translateY(-1px);
    }
    
    .call-status {
      font-size: 12px;
      color: #666;
      margin-top: 5px;
      font-style: italic;
    }
    
    /* Görüşme butonu */
    .call-header-button {
      background: #25d366;
      color: white;
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s;
      margin-left: 10px;
    }
    
    .call-header-button:hover {
      background: #1ebe57;
      transform: scale(1.1);
    }
    
    .call-header-button.active {
      background: #ff5722;
      animation: pulse 1.5s infinite;
    }
    
    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7); }
      70% { box-shadow: 0 0 0 10px rgba(255, 87, 34, 0); }
      100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0); }
    }
    
    /* Görüşme modalı için özel stiller */
    .call-modal {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%;
      max-width: 800px;
      background: white;
      border-radius: 15px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
      z-index: 1000;
      overflow: hidden;
    }
    
    .call-modal-header {
      background: linear-gradient(135deg, #25d366, #128C7E);
      color: white;
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .call-modal-title {
      font-size: 18px;
      font-weight: bold;
    }
    
    .call-modal-close {
      background: none;
      border: none;
      color: white;
      font-size: 20px;
      cursor: pointer;
    }
    
    .call-modal-body {
      padding: 20px;
      max-height: 70vh;
      overflow-y: auto;
    }
    
    .active-call-info {
      background: #e8f5e9;
      padding: 15px;
      border-radius: 8px;
      margin-bottom: 20px;
      text-align: center;
      border-left: 4px solid #25d366;
    }
    
    .active-call-info h4 {
      color: #25d366;
      margin-bottom: 10px;
    }
    
    .end-call-btn {
      background: #dc3545;
      color: white;
      border: none;
      border-radius: 6px;
      padding: 10px 20px;
      cursor: pointer;
      font-weight: bold;
      margin-top: 10px;
    }
    
    .end-call-btn:hover {
      background: #c82333;
    }
    
    /* Görüşme konteynırı stilleri */
    .containercall {
      max-width: 1000px;
      margin: 0 auto;
      background: white;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
      overflow: hidden;
    }
    
    .headercall {
      background: linear-gradient(135deg, #25d366, #128C7E);
      color: white;
      padding: 20px;
      text-align: center;
    }
    
    .headercall h1 {
      margin-bottom: 10px;
      font-size: 28px;
    }
    
    .contentcall {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      padding: 20px;
    }
    
    @media (max-width: 768px) {
      .contentcall {
        grid-template-columns: 1fr;
      }
    }
    
    .panel {
      background: #f8f9fa;
      border-radius: 10px;
      padding: 20px;
      border: 1px solid #e9ecef;
    }
    
    .panel h3 {
      color: #128C7E;
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .panel h3::before {
      content: '';
      width: 4px;
      height: 20px;
      background: #25d366;
      border-radius: 2px;
    }
    
    .user-info {
      background: white;
      padding: 15px;
      border-radius: 8px;
      margin-bottom: 15px;
      border-left: 4px solid #25d366;
      text-align: center;
    }
    
    .user-list {
      max-height: 400px;
      overflow-y: auto;
    }
    
    .user-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 15px;
      margin: 8px 0;
      background: white;
      border-radius: 8px;
      border: 1px solid #e9ecef;
      transition: all 0.3s ease;
      cursor: pointer;
    }
    
    .user-item:hover {
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      background: #e9f5ff;
    }
    
    .user-info-left {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .online-dot {
      width: 8px;
      height: 8px;
      background: #25d366;
      border-radius: 50%;
      animation: pulse 2s infinite;
    }
    
    .btn {
      padding: 8px 16px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    
    .btn-primary {
      background: #25d366;
      color: white;
    }
    
    .btn-primary:hover {
      background: #1ebe57;
    }
    
    .call-popup {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      min-width: 300px;
      max-width: 400px;
      background: white;
      border-radius: 15px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
      z-index: 1000;
      overflow: hidden;
      text-align: center;
    }
    
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.7);
      z-index: 999;
    }
    
    .call-header {
      background: linear-gradient(135deg, #25d366, #128C7E);
      color: white;
      padding: 20px;
    }
    
    .call-body {
      padding: 20px;
    }
    
    .call-info {
      font-size: 18px;
      margin: 15px 0;
      color: #333;
    }
    
    .call-controls {
      display: flex;
      gap: 10px;
      justify-content: center;
      margin: 20px 0;
    }
    
    .call-controls .btn {
      min-width: 100px;
      padding: 10px 20px;
    }
    
    .accept {
      background: #28a745;
      color: white;
    }
    
    .accept:hover {
      background: #218838;
    }
    
    .reject {
      background: #dc3545;
      color: white;
    }
    
    .reject:hover {
      background: #c82333;
    }
    
    .hidden {
      display: none !important;
    }
    
    audio {
      width: 100%;
      border-radius: 8px;
      margin: 10px 0;
    }
    
    .stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 15px;
    }
    
    .stat-item {
      background: white;
      padding: 10px;
      border-radius: 8px;
      text-align: center;
      border: 1px solid #e9ecef;
    }
    
    .stat-value {
      font-size: 24px;
      font-weight: bold;
      color: #25d366;
    }
    
    .stat-label {
      font-size: 12px;
      color: #6c757d;
    }
	
	
	   /* Mobile Responsive Styles */
    @media (max-width: 768px) {
      .app-container {
        height: 100vh;
        height: 100dvh;
        position: fixed;
        overflow: hidden;
      }
      
      .side-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 70%;
        height: 100%;
        transform: translateX(-100%);
        z-index: 1000;
      }
      
      .side-panel.open {
        transform: translateX(0);
      }
      
      .chat-panel {
        width: 100%;
        min-width: 100%;
      }
      
      .chat-back {
        display: flex;
      }
      
      .chat-actions {
        gap: 10px;
      }
      
      .header-actions {
        gap: 10px;
      }
      
      .message {
        max-width: 90%;
      }
      
      .message-input-container {
        padding: 8px 10px;
        min-height: 60px;
      }
      
      .input-actions {
        gap: 6px;
        margin-right: 6px;
      }
      
      .input-icon {
        font-size: 18px;
        width: 25px;
        height: 25px;
      }
      
      .message-input {
        padding: 8px 12px;
        font-size: 14px;
      }
      
      .send-button, .location-button {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
        margin-left: 6px;
      }
      
      .panel-header, .chat-header {
        height: 60px;
        min-height: 60px;
        padding: 0 10px;
      }
      
      .user-avatar, .chat-avatar {
        width: 37px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
        margin-right: 10px;
      }
      
      .messages-container {
        padding: 10px;
      }
      
      .city-item {
        padding: 12px 15px;
        min-height: 60px;
      }
      
      .city-icon {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 16px;
        margin-right: 10px;
      }
      
      .search-container {
        padding: 10px;
      }
      
      .header-title, .chat-title {
        font-size: 16px;
      }
      
      .city-name {
        font-size: 15px;
      }
      
      .yuk-ilani {
        padding: 12px;
      }
      
      .yuk-ilani .content {
        font-size: 13px;
      }
      
      .yuk-ilani .meta {
        font-size: 10px;
      }

      #callControls {
        bottom: 70px;
        padding: 12px 16px;
        font-size: 13px;
      }
      
      .call-btn, .call-btn-yuk {
        font-size: 10px;
        padding: 3px 6px;
      }
    }
    
    @media (max-width: 480px) {
      .message {
        max-width: 95%;
        padding: 10px 12px;
      }
      
      .message-input-container {
        padding: 6px 8px;
        min-height: 55px;
      }
      
      .input-actions {
        gap: 4px;
        margin-right: 4px;
      }
      
      .input-icon {
        font-size: 16px;
        width: 22px;
        height: 22px;
      }
      
      .message-input {
        padding: 6px 10px;
        font-size: 13px;
      }
      
      .send-button, .location-button {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 14px;
        margin-left: 4px;
      }
      
      .panel-header, .chat-header {
        height: 55px;
        min-height: 55px;
        padding: 0 8px;
      }
      
      .user-avatar, .chat-avatar {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 16px;
        margin-right: 8px;
      }
      
      .header-icon, .notification-toggle {
        width: 25px;
        height: 25px;
        font-size: 16px;
      }
      
      .chat-back {
        width: 25px;
        height: 25px;
        font-size: 16px;
        margin-right: 10px;
      }
      
      .header-title, .chat-title {
        font-size: 15px;
      }
      
      .chat-status, .city-desc {
        font-size: 12px;
      }
    }
    
    /* Very small devices */
    @media (max-width: 360px) {
      .city-item {
        padding: 10px 12px;
        min-height: 55px;
      }
      
      .city-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 14px;
        margin-right: 8px;
      }
      
      .city-name {
        font-size: 14px;
      }
      
      .city-desc {
        font-size: 11px;
      }
      
      .district-item {
        font-size: 13px;
        min-height: 35px;
      }
      
      .message {
        padding: 8px 10px;
      }
      
      .yuk-ilani {
        padding: 10px;
      }
    }
    
    /* Ongoing Call Banner */
  /* Ongoing Call Banner Styles */
.ongoing-call-banner {
    position: fixed;
	top:0;
	overflow-y:auto;
     
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 16px;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.3);
    z-index: 91050;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    animation: slideUpBanner 0.3s ease-out;
}

@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 12px;
}

.call-info {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
}

.call-info i {
    font-size: 16px;
    flex-shrink: 0;
}

#ongoingCallInfo {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 8px;
}

.btn-end-call {
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.btn-end-call:hover {
    background: #ff3742;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.btn-end-call:active {
    transform: translateY(0);
}

.btn-end-call i {
    font-size: 14px;
}

/* Mobil cihazlar için responsive tasarım */
@media (max-width: 768px) {
    .ongoing-call-banner {
        padding: 10px 12px;
        border-radius: 0;
    }
    
    .banner-content {
        gap: 8px;
    }
    
    .call-info {
        font-size: 13px;
    }
    
    .call-info i {
        font-size: 14px;
        margin-right: 6px;
    }
    
    .btn-end-call {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .btn-end-call i {
        font-size: 12px;
    }
    
    .btn-text {
        display: inline;
    }
}

/* Çok küçük ekranlar için (iPhone SE vb.) */
@media (max-width: 375px) {
    .ongoing-call-banner {
        padding: 8px 10px;
    }
    
    .call-info {
        font-size: 12px;
    }
    
    .btn-end-call {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .btn-text {
        display: inline;
    }
}

/* Tablet cihazlar için */
@media (min-width: 769px) and (max-width: 1024px) {
    .ongoing-call-banner {
        margin: 0 20px 10px 20px;
        border-radius: 12px;
        max-width: calc(100% - 40px);
    }
}

/* Banner gizli durumu */
.ongoing-call-banner.hidden {
    display: none;
}

/* Banner overlay (arka planı karartmak için) */
#ongoingCallOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
}

#ongoingCallOverlay.hidden {
    display: none;
}
    
    @keyframes pulse {
      0% { opacity: 1; }
      50% { opacity: 0.5; }
      100% { opacity: 1; }
    }
    
.containercall { max-width: 1000px; margin: 0 auto; background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); overflow: hidden; }
.headercall { background: linear-gradient(135deg, #25d366, #128C7E); color: white; padding: 20px; text-align: center; }
.headercall h1 { margin-bottom: 10px; font-size: 28px; }
.contentcall { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px; }
@media (max-width: 768px) { .content { grid-template-columns: 1fr; } }
.panel { background: #f8f9fa; border-radius: 10px; padding: 20px; border: 1px solid #e9ecef; }
.panel h3 { color: #128C7E; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.panel h3::before { content: ''; width: 4px; height: 20px; background: #25d366; border-radius: 2px; }
.user-info { background: white; padding: 15px; border-radius: 8px; margin-bottom: 15px; border-left: 4px solid #25d366; text-align: center; }
.user-list { max-height: 400px; overflow-y: auto; }
.user-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; margin: 8px 0; background: white; border-radius: 8px; border: 1px solid #e9ecef; transition: all 0.3s ease; cursor: pointer; }
.user-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); background: #e9f5ff; }
.user-info-left { display: flex; align-items: center; gap: 10px; }
.online-dot { width: 8px; height: 8px; background: #25d366; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% {opacity:1;} 50%{opacity:0.5;} 100%{opacity:1;} }
.btn { padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; transition: all 0.3s ease; }
.btn-primary { background: #25d366; color: white; }
.btn-primary:hover { background: #1ebe57; }
.call-popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; max-width: 400px; background: white; border-radius: 15px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); z-index: 1000; overflow: hidden; text-align: center; }
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 999; }

.call-header { background: linear-gradient(135deg, #25d366, #128C7E); color: white; padding: 20px; }
.call-body { padding: 20px; }
.call-info { font-size: 18px; margin: 15px 0; color: #333; }
.call-controls { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
.call-controls .btn { min-width: 100px; padding: 10px 20px; }
.accept { background: #28a745; color: white; }
.accept:hover { background: #218838; }
.reject { background: #dc3545; color: white; }
.reject:hover { background: #c82333; }
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 999; }
.hidden { display: none !important; }
audio { width: 100%; border-radius: 8px; margin: 10px 0; }

.stat-item { background: white; padding: 10px; border-radius: 8px; text-align: center; border: 1px solid #e9ecef; }
.stat-value { font-size: 24px; font-weight: bold; color: #25d366; }
.stat-label { font-size: 12px; color: #6c757d; }
   .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            padding: 20px;
        }

        .call-container {
            width: 100%;
            max-width: 500px;
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            animation: modalAppear 0.3s ease-out;
        }

        @keyframes modalAppear {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .header-call {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        .header-call h4 {
            font-size: 1.2rem;
            font-weight: 600;
        }

        .close-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.3s;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .content-call {
            padding: 20px;
            max-height: 70vh;
            overflow-y: auto;
        }

        .panel {
            background: #f9f9f9;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .panel h3 {
            font-size: 1rem;
            margin-bottom: 15px;
            color: #333;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .user-info {
            margin-bottom: 15px;
        }

        .user-info div {
            margin-bottom: 8px;
            font-size: 0.9rem;
        }

        .stats {
            display: flex;
            justify-content: space-around;
            text-align: center;
            margin-top: 15px;
            padding: 15px;
            background: #f0f4ff;
            border-radius: 12px;
        }

        .stat-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .stat-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: #2575fc;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .stat-label {
            font-size: 0.8rem;
            color: #666;
            margin-top: 5px;
        }

        .user-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .user-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .user-info-left {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .online-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #4CAF50;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        .btn {
            padding: 8px 16px;
            border: none;
            border-radius: 20px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.9rem;
        }

        .btn-primary {
            background: #2575fc;
            color: white;
        }

        .btn-primary:hover {
            background: #1a68e8;
            transform: translateY(-2px);
        }

        .btn-danger {
            background: #ff4757;
            color: white;
        }

        .btn-danger:hover {
            background: #ff3742;
            transform: translateY(-2px);
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #2575fc;
        }

        .profile-info h4 {
            font-size: 1.1rem;
            margin-bottom: 5px;
        }

        .profile-info p {
            font-size: 0.9rem;
            color: #666;
        }

        .posts-section {
            margin-top: 20px;
        }

        .posts-section h4 {
            margin-bottom: 10px;
            font-size: 1rem;
            color: #333;
        }

        .posts-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-height: 200px;
            overflow-y: auto;
        }

        .post-item {
            padding: 10px;
            background: white;
            border-radius: 8px;
            font-size: 0.85rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }

        .post-date {
            font-size: 0.7rem;
            color: #999;
            margin-top: 5px;
        }

        .hidden {
            display: none;
        }

        .user-stats {
            display: flex;
            justify-content: space-around;
            text-align: center;
            margin-top: 15px;
            padding: 10px;
            background: #f0f4ff;
            border-radius: 10px;
        }

        .user-stat-item {
            flex: 1;
        }

        .user-stat-value {
            font-size: 1.2rem;
            font-weight: bold;
            color: #2575fc;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

        .user-stat-label {
            font-size: 0.75rem;
            color: #666;
            margin-top: 5px;
        }

        /* Responsive tasarım */
        @media (max-width: 480px) {
            .call-container {
                max-width: 100%;
            }
            
            .content-call {
                padding: 15px;
            }
            
            .panel {
                padding: 12px;
            }
            
            .header-call {
                padding: 15px;
            }
            
            .stats, .user-stats {
                flex-direction: row;
                gap: 10px;
				margin-top:5px;
            }
            
            .user-profile {
                flex-direction: column;
                text-align: center;
            }
        }
		
		  .message-input-container {
      position: relative;
      display: flex;
      align-items: flex-end;
      padding: 10px;
      background: #f0f0f0;
      border-top: 1px solid #ddd;
      transition: all 0.3s ease;
      min-height: 60px;
    }
    
    .message-input {
      flex: 1;
      border: 1px solid #ddd;
      border-radius: 20px;
      padding: 10px 15px;
      resize: none;
      max-height: 120px;
      min-height: 40px;
      font-family: inherit;
      line-height: 1.4;
      transition: height 0.2s ease;
    }
    
    .message-input:focus {
      outline: none;
      border-color: #25d366;
    }
    
    .input-actions {
      display: flex;
      align-items: center;
      margin-right: 10px;
    }
    
    .input-icon {
      font-size: 18px;
      color: #666;
      margin: 0 5px;
      cursor: pointer;
    }
    
    .location-button, .send-button {
      background: #25d366;
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      cursor: pointer;
      margin-left: 5px;
      transition: background 0.3s;
    }
    
    .location-button:hover, .send-button:hover {
      background: #128C7E;
    }
    
    .send-button:active {
      transform: scale(0.95);
    }

   /* Filtre Konteyneri Stilleri */
.filter-container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  cursor: pointer;
  user-select: none;
}

.filter-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.filter-actions {
  display: flex;
  gap: 5px;
}

.filter-content {
  padding: 15px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  max-height: 400px;
  overflow-y: auto;
}

.filter-section {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #dee2e6;
}

.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.section-header h6 {
  color: #333;
  font-weight: 600;
  margin-bottom: 5px;
}

.section-header small {
  font-size: 12px;
}

/* İl Listesi */
.city-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
  padding: 10px;
  background: white;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.city-item {
  padding: 8px 12px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  font-size: 13px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.city-item:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.city-item.selected {
  background: #007bff;
  color: white;
  border-color: #0056b3;
}

.city-item.selected::after {
  content: '✓';
  position: absolute;
  top: 2px;
  right: 5px;
  font-size: 12px;
}

/* Seçilen Filtreler */
.selected-filters {
  background: white;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #dee2e6;
}

.selected-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid #f0f0f0;
}

.selected-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 40px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #e3f2fd;
  border: 1px solid #bbdefb;
  border-radius: 20px;
  font-size: 12px;
}

.filter-tag .remove-tag {
  cursor: pointer;
  color: #666;
  font-size: 14px;
  line-height: 1;
  padding: 0 2px;
}

.filter-tag .remove-tag:hover {
  color: #dc3545;
}

/* Yük Tipi Butonları */
.cargo-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cargo-type {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 8px 5px;
  font-size: 12px;
}

.cargo-type.active {
  background: #28a745;
  color: white;
  border-color: #28a745;
}

/* Genişletilmiş Filtre İkazı */
.filter-expand-notice {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffc107;
  color: #212529;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  animation: bubbleFloat 2s ease-in-out infinite;
}

.filter-expand-notice::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px 5px 0;
  border-style: solid;
  border-color: #ffc107 transparent transparent;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

/* Filtre Açık/Kapalı Durumu */
.filter-container.expanded .filter-content {
  display: block;
}

.filter-container.expanded .filter-header {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}