: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;
}