:root {
  --bg: #f6f8fa;
  --bg-card: #ffffff;
  --border: #d9e2ec;
  --text: #1b2b34;
  --text-muted: #627d98;
  --accent: #265b85;
  --accent-bright: #00afd7;
  --danger: #c0392b;
  --success: #009b72;
  --sidebar-w: 220px;
  --topbar-h: 64px;
  --font: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.login-card h1 {
  margin-bottom: 0.5rem;
}
.login-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.login-card form {
  text-align: left;
}
.login-card img {
  height: 80px;
  margin-bottom: 1rem;
}

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

.sidebar {
  width: var(--sidebar-w);
  background: #192d35;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0.75rem;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.5rem 1.25rem;
}
.sidebar-logo img {
  height: 36px;
}

.sidebar-title {
  font-weight: 600;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.sidebar-link {
  display: block;
  color: #d9e2ec;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
}
.sidebar-link:hover, .sidebar-link.active {
  background: rgba(0, 175, 215, 0.2);
  color: #fff;
}

.sidebar-footer {
  padding-top: 1rem;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: var(--topbar-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.content {
  padding: 1.5rem;
}

.page-title {
  margin-bottom: 1rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #1b2b34;
  color: #fff;
}
.table th,
.table td {
  padding: 0.75rem;
  border-bottom: 1px solid #314351;
  text-align: left;
}
.table a {
  color: #9ad8ea;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  max-width: 760px;
}

.form-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
}

label {
  display: block;
  margin: 0.75rem 0 0.3rem;
  font-weight: 600;
}

input[type=text],
input[type=email],
input[type=password],
input[type=number],
select,
textarea {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 4px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  font: inherit;
  margin-top: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: #6c757d;
  color: #fff;
  margin-right: 0.5rem;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0.5rem 0 0.75rem;
}

.btn-file-remove {
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.btn-file-remove:hover {
  color: var(--danger);
}

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.saved {
  color: var(--success);
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.error {
  color: var(--danger);
}

.upload-preview {
  max-width: 100%;
  height: auto;
  max-height: 220px;
  display: block;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.thumb {
  height: 50px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .app {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=style.css.map */
