/* ===== ÇIKIŞ BUTONU VE MODAL ===== */

.user-button-logout {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #333;
    background: #fff;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s, border 0.18s;
    margin-left: 8px;
    position: relative;
}

.user-button-logout:hover,
.user-button-logout:focus {
    background: #ffe5e5;
    border-color: #ff3b30;
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.2);
}

.user-button-logout i {
    font-size: 12px;
    color: #000;
    pointer-events: none;
}

.user-button-logout[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -32px;
    background: #1a1a1a;
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.91em;
    opacity: 0.95;
    pointer-events: none;
    white-space: nowrap;
    z-index: 6000;
}

.modal-logout-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.82);
  justify-content: center;
  align-items: center;
}

.modal-logout-container {
  background: #181818;
  color: #fff;
  width: 420px;
  max-width: 92vw;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: scaleInLogout 0.25s ease;
  position: relative;
}

.modal-logout-header {
  display: flex;
  align-items: center;
  padding: 22px 25px 10px 25px;
  gap: 10px;
  border-bottom: 1px solid #232323;
}

.modal-logout-icon {
  font-size: 1.6rem;
  color: #ff6b6b;
}

.modal-logout-title {
  font-size: 1.28rem;
  letter-spacing: 0.5px;
  font-weight: 800;
  flex: 1;
}

.modal-logout-close {
  font-size: 1.62rem;
  color: #aaa;
  border: none;
  background: none;
  cursor: pointer;
}

.modal-logout-close:hover {
  color: #fff;
}

.modal-logout-body {
  padding: 20px 28px 24px 28px;
}

.modal-logout-text {
  font-size: 1.08rem;
  color: #dadada;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal-logout-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.modal-logout-cancel-btn {
  flex: 1;
  padding: 12px 0;
  background: #2a2a2a;
  color: #fff;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, border 0.18s;
}

.modal-logout-cancel-btn:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

.modal-logout-confirm-btn {
  flex: 1;
  padding: 12px 0;
  background: #ff3b30;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-logout-confirm-btn:hover {
  background: #e02b20;
}

@keyframes scaleInLogout {
  from {
    transform: scale(0.88);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
