/* Simple modern logout modal */
:root {
  --color-primary: #2885c7;
  --color-primary-dark: #1e5f8c;
  --color-danger: #ef4444;
  --color-gray-600: #4b5563;
  --color-white: #ffffff;
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-lg: 12px;
}

/* Modal dialog - kompaktowy rozmiar */
#logoutModal .modal-dialog {
  max-width: 400px;
  margin: 3rem auto;
}

/* Modal content */
#logoutModal .modal-content {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Modal header - mniejszy */
#logoutModal .modal-header {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: white;
  border: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1rem 1.5rem;
}

#logoutModal .modal-title {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

#logoutModal .close {
  color: white;
  opacity: 0.8;
  font-size: 1.2rem;
  padding: 0;
  margin: 0;
}

#logoutModal .close:hover {
  opacity: 1;
  color: white;
}

/* Modal body - kompaktowy */
#logoutModal .modal-body {
  padding: 1.5rem;
  text-align: center;
  color: var(--color-gray-600);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Modal footer - mniejszy */
#logoutModal .modal-footer {
  border: none;
  padding: 1rem 1.5rem !important;
  justify-content: center;
  gap: 0.75rem;
  background: #f8f9fa;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  min-height: 50px !important;
}

/* Buttons - mniejsze */
#logoutModal .btn {
  border-radius: var(--radius-lg);
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border: none;
  font-size: 0.9rem;
}

#logoutModal .btn-secondary {
  background: #6c757d;
  color: white;
}

#logoutModal .btn-secondary:hover {
  background: #5a6268;
  color: white;
}

#logoutModal .btn-primary {
  background: var(--color-danger);
  color: white;
}

#logoutModal .btn-primary:hover {
  background: #dc2626;
  color: white;
}

/* Responsive */
@media (max-width: 576px) {
  #logoutModal .modal-dialog {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
}