
/* NeutralNet prototype stylesheet */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9fbfd;
}

nav {
  background-color: #0a3762;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

nav .logo {
  font-weight: bold;
  font-size: 1.4rem;
}

nav .nav-links a {
  color: #fff;
  margin-left: 1rem;
  text-decoration: none;
  font-size: 0.95rem;
}

nav .nav-links a:hover {
  text-decoration: underline;
}

header.hero {
  background-color: #eaf2f8;
  padding: 3rem 1rem;
  text-align: center;
}

header.hero h1 {
  margin: 0;
  font-size: 2rem;
  color: #0a3762;
}

header.hero p {
  margin-top: 0.5rem;
  color: #445b7c;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

section {
  margin-bottom: 2rem;
}

section h2 {
  color: #0a3762;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}

table th,
table td {
  padding: 0.6rem;
  border: 1px solid #dee2e6;
  text-align: left;
}

table th {
  background-color: #f3f7fb;
  color: #0a3762;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background-color: #ffffff;
  border: 1px solid #e0e6ed;
  border-radius: 4px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #0a3762;
}

.footer {
  background-color: #f3f7fb;
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: #667a92;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  color: #0a3762;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccd6e2;
  border-radius: 4px;
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #0a3762;
  color: #fff;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn:hover {
  background-color: #072a4b;
}

.status-online {
  color: #198754;
  font-weight: bold;
}

.status-offline {
  color: #dc3545;
  font-weight: bold;
}

.status-degraded {
  color: #fd7e14;
  font-weight: bold;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e0e6ed;
}

.timeline li {
  margin: 0 0 1.5rem 0;
  padding-left: 2rem;
  position: relative;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 0.2rem;
  width: 14px;
  height: 14px;
  background: #0a3762;
  border-radius: 50%;
}

.lang-switcher {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 55, 98, 0.95);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.lang-switcher label {
  font-size: 0.8rem;
  line-height: 1;
}

.lang-switcher select {
  border: none;
  border-radius: 999px;
  padding: 0.25rem 0.45rem;
  font-size: 0.8rem;
  color: #0a3762;
  background: #fff;
}

body.rtl nav .nav-links a {
  margin-left: 0;
  margin-right: 1rem;
}

/* Simple responsive design */
@media (max-width: 600px) {
  nav .nav-links {
    display: none;
  }
  nav .menu-toggle {
    display: block;
    cursor: pointer;
  }
  nav .logo {
    font-size: 1.1rem;
  }
  .lang-switcher {
    right: 0.5rem;
    bottom: 0.5rem;
  }
  .lang-switcher label {
    display: none;
  }
}
