body {
    #background: #121212;
    color: #eee;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    #padding-top: 60px;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #222;
    color: #eee;
    z-index: 1000;
    transition: all 0.3s;
}

.topbar.compact {
    height: 27px !important;
}

.topbar .main-part {
    padding: 10px;
}

.sidebar {
    position: fixed;
    top: 60px;
    bottom: 0;
    left: 0;
    width: 220px;
    background: #1a1a1a;
    color: #ccc;
    transition: width 0.3s;
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.sidebar.collapsed li span.label {
    display: none;
}

.content {
    margin-left: 220px;
    padding: 20px;
    transition: margin-left 0.3s;
}

.sidebar.collapsed~.content {
    margin-left: 60px;
}

/* Auth Page */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #0a0a0a;
    padding: 20px;
}

.auth-form {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.auth-form h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #ccc;
    margin-bottom: 5px;
}


.form-group input {
    width: 100%;
    padding: 10px;
    background: #333;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.auth-links {
    margin-top: 15px;
    text-align: center;
}

.auth-links a {
    color: #aaa;
    margin: 0 10px;
    text-decoration: none;
}




.auth-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.remember {
  display: flex;
  align-items: center;
}

.remember input[type="checkbox"] {
  margin: 0;
  vertical-align: middle; /* Совместимость с разными браузерами */
}

.remember label {
  margin-left: 8px;
  color: #ccc;
}

.register-link a {
  color: #28a745; /* или ваш акцентный цвет */
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}








footer {
    background: #1c1c1c;
    color: #aaa;
    padding: 20px;
    text-align: center;
}



