:root {
  --mas-dark: #333333;
  --mas-red: #ED1C24;
  --mas-bg: #f4f5f7;
}

body {
  background: var(--mas-bg);
  color: var(--mas-dark);
  font-family: Arial, Helvetica, sans-serif;
}

.bo-layout {
  display: flex;
  min-height: 100vh;
}

.bo-sidebar {
  width: 260px;
  background: #fff;
  border-right: 1px solid #e5e5e5;
  padding: 28px 22px;
}

.bo-logo img {
  width: 170px;
  margin-bottom: 40px;
}

.bo-sidebar nav a {
  display: block;
  padding: 13px 15px;
  color: var(--mas-dark);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 8px;
}

.bo-sidebar nav a.active,
.bo-sidebar nav a:hover {
  background: var(--mas-red);
  color: #fff;
}

.bo-main {
  flex: 1;
  padding: 35px;
}

.bo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.bo-header h1 {
  font-weight: 900;
  margin-bottom: 4px;
}

.bo-header p {
  color: #777;
  margin: 0;
}

.bo-user {
  background: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.bo-card,
.bo-panel {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.bo-card {
  padding: 24px;
}

.bo-card span {
  color: #777;
  font-weight: 600;
}

.bo-card strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
}

.bo-panel {
  padding: 28px;
}

.bo-panel h2 {
  font-weight: 800;
}

.btn-mas {
  background: var(--mas-red);
  border-color: var(--mas-red);
  color: #fff;
  font-weight: 700;
}

.btn-mas:hover {
  background: #c9141b;
  border-color: #c9141b;
  color: #fff;
}

form input,
form select,
form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 12px;
}

form input[type="checkbox"] {
  width: auto;
}

@media (max-width: 900px) {
  .bo-layout {
    flex-direction: column;
  }

  .bo-sidebar {
    width: 100%;
  }

  .bo-main {
    padding: 22px;
  }

  .bo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.bo-image-card {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 20px;
  height: 100%;
}

.bo-preview-img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.bo-login-body {
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.78)),
        url("../img/hero.jpg");
    background-size: cover;
    background-position: center;
}

.bo-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.bo-login-card {
    width: 100%;
    max-width: 430px;
    background: #fff;
    border-radius: 18px;
    padding: 42px;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    text-align: center;
}

.bo-login-logo {
    height: 80px;
    width: auto;
    margin-bottom: 25px;
}

.bo-login-card h1 {
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.bo-login-card p {
    color: #666;
    margin-bottom: 28px;
}

.bo-login-back {
    display: inline-block;
    margin-top: 22px;
    color: var(--mas-dark);
    text-decoration: none;
    font-weight: 700;
}

.bo-login-back:hover {
    color: var(--mas-red);
}

.bo-logout {
    margin-left: 12px;
    color: var(--mas-red);
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: 800;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}
