﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* ================= NAVBAR CHUNG ================= */
/*.container {
  display: flex;
  align-items: center;
}*/
.navbar {
  background-color: #1e1e1e;
  border: none;
  border-radius: 0;
  padding: 10px 0;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Logo / brand */
.navbar-brand {
  color: #bfbfbf !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 16px;
}

  .navbar-brand:hover {
    color: #00a8ff !important;
    text-decoration: none;
  }

/* Menu trái */
.navbar-nav {
  padding-top: 5px;
}
.navbar-nav > li > a {
  color: #dcdde1 !important;
  font-weight: 500;
  padding: 10px 15px;
  text-transform: uppercase;
  transition: 0.3s;
}

  .navbar-nav > li.active > a,
  .navbar-nav > li > a:hover {
    background-color: #111;
    color: #fff !important;
  }

/* ================= MENU PHẢI (Login / Logout / Giỏ hàng) ================= */
.navbar-right {
  display: flex;
  align-items: center; /* 🔹 căn giữa chiều dọc */
  gap: 10px;
}

  .navbar-right li a {
    color: #dcdde1 !important;
    font-size: 14px;
    padding: 8px 10px;
    transition: 0.3s;
  }

    .navbar-right li a:hover {
      color: #00a8ff !important;
      text-decoration: none;
      background-color: transparent;
    }

    /* Icon trong link */
    .navbar-right li a span.glyphicon {
      margin-right: 5px;
    }

/* ================= FORM SEARCH ================= */
.navbar-form {
  margin: 0;
  padding: 0;
}

  .navbar-form .form-control {
    height: 32px;
    border-radius: 4px;
  }

  .navbar-form .btn {
    height: 32px;
    padding: 5px 12px;
    border-radius: 4px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    color: #333;
  }

    .navbar-form .btn:hover {
      background-color: #00a8ff;
      color: #fff;
    }

/* ================= GIỎ HÀNG ================= */
.navbar-right li:last-child a {
  display: flex;
  align-items: center;
  gap: 4px;
}
