body { font-family: Arial, sans-serif; margin: 0; background: #fafafa; }
.layout { display: flex; min-height: 100vh; }

.site-header { background: #ffffff; position: sticky; top: 0; z-index: 1000; color: #fff; max-width: 1500px; margin: 0 auto; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; }
.site-header .logo a { color: #262626; text-decoration: none; font-size: 15px; font-weight: bold; }
.site-header .nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.site-header .nav a { color: #262556; text-decoration: none; font-size: 15px; }
.site-header .nav a:hover { text-decoration: underline; }
.site-header .nav .welcome { margin-left: auto; font-style: italic; font-weight: 500; color: #e6ffed; padding-left: 15px; }

.sidenav { width: 80px; position: fixed; top: 100px; left: 0; height: 100%; padding: 0; background: #f5f5f5; border-right: 1px solid #ddd; }
.sidenav h2 { font-size: 0.7rem; margin-top: 20px; margin-bottom: 15px; color: #333; }
.sidenav ul { list-style: none; padding: 0; margin: 0; }
.sidenav li { margin-bottom: 10px; }
.sidenav a { text-decoration: none; color: #334411; font-size: 0.8rem; display: block; padding: 6px 8px; border-radius: 4px; }
.sidenav a:hover { background: #e6e6e6; color: #007bff; }

.main-content { flex: 1; padding: 20px; margin-left: 75px; max-width: 900px; text-align: center; }
.main-content h1 { font-size: 20px; margin-bottom: 30px; color: #333; }

.item-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.item-card { background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 5px; text-align: center; transition: transform .2s, box-shadow .2s; }
.item-card:hover { transform: translateY(-4px); box-shadow: 0 6px 14px rgba(0,0,0,0.12); }
.item-card img { max-width: 100%; height: auto; border-radius: 6px; margin-bottom: 1px; }
.item-card h2 { margin: 0; font-size: 1rem; color: #222; }
.item-card p { font-size: 0.7rem; color: #555; margin: 5px 0; }

.message { background: #f9f9f9; padding: 30px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.message h2 { font-size: 32px; margin-bottom: 20px; color: #0077cc; }
.message form { display: flex; flex-direction: column; gap: 15px; }
.message label { font-weight: bold; font-size: 18px; color: #333; }
.message input, .message textarea { padding: 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; width: 100%; }
.message button { background: #0077cc; color: #fff; border: none; padding: 12px; border-radius: 6px; font-size: 18px; cursor: pointer; transition: background 0.3s ease; }
.message button:hover { background: #005fa3; }
.message iframe { margin-top: 20px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.office-details { margin-top: 20px; font-size: 16px; line-height: 1.6; color: #555; }

.login-wrapper { max-width: 400px; margin: 60px auto; padding: 30px; background: #fff; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); text-align: center; }
.login-wrapper h1 { margin-bottom: 20px; color: #333; font-size: 28px; }
.login-wrapper input { width: 100%; padding: 12px; margin: 10px 0; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; }
.login-wrapper button { width: 100%; padding: 12px; background: #0077cc; color: #fff; border: none; border-radius: 6px; font-size: 18px; cursor: pointer; transition: background 0.3s ease; }
.login-wrapper button:hover { background: #005fa3; }

.links { text-align: center; margin-top: 15px; }
.links a { color: #0077cc; text-decoration: none; font-weight: bold; }
.links a:hover { text-decoration: underline; }

.error { background: #cc0000; color: #fff; padding: 10px; border-radius: 6px; margin-bottom: 15px; text-align: center; }
.notification { background: #28a745; color: #fff; padding: 10px; border-radius: 6px; margin-bottom: 15px; text-align: center; }

.account-card { background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 20px; margin-top: 15px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); max-width: 400px; }
.account-card p { margin: 10px 0; font-size: 15px; color: #333; }
.account-card strong { color: #0073e6; }
.account-card .logout { display: inline-block; margin-top: 10px; padding: 8px 14px; background: #0073e6; color: #fff; text-decoration: none; border-radius: 4px; transition: background 0.2s ease; }
.account-card .logout:hover { background: #005bb5; }

.site-footer { background: #ffffff; color: #333; text-align: center; padding: 15px; font-size: 10px; position: fixed; bottom: 0; left: 0; width: 100%; }
.site-footer nav { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.site-footer nav a { font-size: 15px; text-decoration: none; color: #333; }
.site-footer nav a:hover { text-decoration: underline; color: #000; }

@media (min-width: 1034px) {
  .sidenav { width: 150px; padding: 15px; }
  .item-grid { grid-template-columns: repeat(5, 1fr); gap: 15px; }
  .main-content { padding: 20px; margin-left: 200px; }
  .item-card { padding: 15px; }
}