body {
  font-family: Arial, sans-serif;
  background-color: #f5f7fa;
  text-align: center;
  margin-top: 100px;
}

.container {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: inline-block;
}

h1 {
  color: #007BFF;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
/* button:hover {
  background-color: #0056b3;
} */
/*  for lyouts.html */
 body,html {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f0f2f5;
  color: #333;
  height: 100%;
  overflow: hidden;
    }

.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background-color: #ffffff;
  border-bottom: 1px solid #d9d9d9;
  flex-shrink: 0;
  z-index: 10;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-left .logo {
  font-weight: bold;
  font-size: 18px;
  color: #333;
  text-decoration: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.header-right a {
  color: #ff6d47;
  text-decoration: none;
}

.header-right a:hover {
  text-decoration: underline;
}


.main-content {
  display: flex;
  flex-grow: 1;
  overflow: hidden;
}

.sidebar {
  width: 200px;
  background-color: #ffffff;
  border-right: 1px solid #d9d9d9;
  padding-top: 16px;
  transition: width 0.3s ease;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sidebar.closed {
  width: 50px;
}

.sidebar-toggle-btn {
  background: #ff6d47;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}

.nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  border-left: 3px solid transparent;
}

.nav-item a .nav-icon {
  font-size: 18px;
  min-width: 20px;
  text-align: center;
}

.nav-item a:hover {
  background-color: #f0f2f5;
}

.nav-item.active a {
  font-weight: bold;
  color: #007bff;
  background-color: #e6f7ff;
  border-left-color: #007bff;
}

.sidebar.closed .nav-item a {
  justify-content: center;
  padding: 12px 0;
}

.sidebar.closed .nav-item .nav-text {
  display: none;
}

.panels-area {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  background-color: #f5f7fa;
}

.panel {
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.panel-header {
    padding: 8px 16px;
    border-bottom: 1px solid #d9d9d9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafafa;
}

.panel-header h1 {
    font-size: 18px;
    margin: 0;
}

.panel-header .action {
    background: #007bff;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.panel-content {
    padding: 8px;
}

.post {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    border: 1px solid #e9ecef;
}

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

.post h1 {
    font-size: 20px;
    margin: 0;
}

.post .about {
    font-size: 12px;
    color: #888;
}

.post .action {
    font-size: 14px;
}

.post .body {
    color: #343a40;
    line-height: 1.6;
}

.nav-submenu {
    list-style: none;
}

.target-item{
  list-style: none;
}