/* =========================================================
   MyTheme Custom Styles (Cleaned)
   Author: Hibro
   File: /assets/css/cs-style.css
   ========================================================= */

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #f9f9f9;
}

/* ===========================
   HEADER / NAVBAR
   =========================== */
.navbar {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  font-family: 'Inter', sans-serif;
}

.navbar-brand {
  font-weight: 700;
}

.navbar-brand img {
  max-height: 40px;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #212529;
  margin-left: 1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: #0d6efd;
  transform: translateY(-2px);
}

/* ===== NAVBAR DROPDOWN ===== */
.navbar .dropdown-menu {
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  animation: dropdownFade 0.15s ease-in-out;
}

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

.navbar .dropdown-item {
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: #212529;
}

.navbar .dropdown-item:hover {
  background-color: #f8f9fa;
  color: #0d6efd;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background-color: #222;
  color: #ccc;
  padding: 20px 0;
}

/* ====== Footer Widgets ====== */
.fc-footer-widget {
  color: #ccc;
}

.fc-footer-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.fc-footer-widget ul {
  list-style: none;
  padding-left: 0;
}

.fc-footer-widget ul li {
  margin-bottom: 0.5rem;
}

.fc-footer-widget a {
  color: #aaa;
  text-decoration: none;
}

.fc-footer-widget a:hover {
  color: #fff;
}

/* ===========================
   CARDS
   =========================== */
.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 0.75rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-title a:hover {
  color: #0d6efd;
}

/* ===========================
   PAGINATION
   =========================== */
.pagination .page-item.active .page-link {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

.pagination .page-link {
  color: var(--bs-primary);
  border-radius: 0.375rem;
  margin: 0 3px;
}

.pagination .page-link:hover {
  background-color: var(--bs-primary-bg-subtle);
}

/* ===========================
   COMMENT FORM
   =========================== */
#comments {
  margin-top: 3rem;
}

#reply-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.comment-notes,
.logged-in-as,
.comment-form-cookies-consent {
  font-size: 0.9rem;
  color: #6c757d;
}

.comment-form {
  margin-top: 1.5rem;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form textarea:focus,
.comment-form input:focus {
  border-color: #0d6efd;
  outline: none;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

.comment-form label {
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #212529;
}

.comment-form .form-submit {
  margin-top: 1rem;
}

.comment-form .form-submit input[type="submit"] {
  background-color: #0d6efd;
  border: none;
  color: #fff;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.comment-form .form-submit input[type="submit"]:hover {
  background-color: #0b5ed7;
  transform: translateY(-1px);
}

.comment-form .form-submit input[type="submit"]:active {
  transform: translateY(0);
}

/* ====== DANH SÁCH BÌNH LUẬN ====== */
.comment-list {
  list-style: none;
  padding-left: 0;
  margin-top: 2rem;
}

.comment-list .comment {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 1rem;
}

.comment-author {
  font-weight: 600;
}

.comment-meta {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.comment-content p {
  margin-bottom: 0.5rem;
}

.comment-reply-link {
  font-size: 0.9rem;
  color: #0d6efd;
  text-decoration: none;
}

.comment-reply-link:hover {
  text-decoration: underline;
}

/* ===========================
   SIDEBAR WIDGETS
   =========================== */
.fc-sidebar {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}

.fc-sidebar .widget {
  margin-bottom: 20px;
}

.fc-sidebar .widget-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.fc-sidebar-widget {
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
}

.fc-widget-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}
