/*
 * Custom styles for the PhD survey platform.
 *
 * This stylesheet supplements Bootstrap with a light, modern look
 * and ensures accessibility and readability across devices.
 */

body {
  font-size: 1rem;
  line-height: 1.6;
  background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

/* Arabic translation text toggler */
.ar-trl {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  direction: rtl;
  text-align: right;
}

/* Scroll up button styling */
.scroll-up {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #0d6efd;
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.scroll-up:hover {
  background-color: #0b5ed7;
}

/* Likert scale radio buttons inline with spacing */
.likert label {
  margin-right: 0.75rem;
  cursor: pointer;
}

.likert input[type=radio] {
  margin-right: 0.25rem;
}

/* ضبط العرض العام */
.q-card { border: 1px solid #e9ecef; border-radius: 12px; }
.likert-legend span { width: 19%; text-align: center; }
.form-check-input { transform: scale(1.1); }
.form-check-label { font-weight: 500; }

/* على الشاشات الصغيرة: اجعل النص فوق والمقياس تحت */
@media (max-width: 767.98px) {
  .likert { justify-content: space-between; }
  .likert-legend { display: none; } /* نخفي الشرح لتوفير مساحة */
}
