/* ===== БАЗОВЫЕ СТИЛИ (из index_1) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #0b0b0b;
    color: #ddd;
    font-family: 'Segoe UI', system-ui, sans-serif;
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 220px;
    background: #0f0f0f;
    border-right: 1px solid #1a1a1a;
    padding: 1.5rem 1rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
}
.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #f77f00;
    letter-spacing: -0.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    line-height: 1;
    margin: 0;
}
.logo span {
    color: #eee;
    font-weight: 300;
}
.sidebar .nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.sidebar .nav a {
    color: #888;
    text-decoration: none;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: 0.2s;
    cursor: pointer;
}
.sidebar .nav a:hover {
    background: #1a1a1a;
    color: #ddd;
}
.sidebar .nav a.active {
    background: #f77f00;
    color: #0b0b0b;
    font-weight: 600;
}
.sidebar .bottom {
    margin-top: auto;
    font-size: 0.7rem;
    color: #444;
    border-top: 1px solid #1a1a1a;
    padding-top: 1rem;
}
.main {
    flex: 1;
    padding: 2rem 1.5rem 2rem 2rem;
    max-width: calc(100% - 220px);
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 2px solid #f77f00;
    padding-bottom: 1.2rem;
    margin-bottom: 2rem;
}
.header .page-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #eee;
}
.header .user-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.btn {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #ddd;
    padding: 0.5rem 1.4rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}
.btn-primary {
    background: #f77f00;
    color: #0b0b0b;
    border: none;
}
.btn-primary:hover {
    background: #ff9500;
    transform: scale(1.02);
}
.btn-success {
    background: #1a4a1a;
    color: #6bff6b;
    border: 1px solid #2a6a2a;
}
.btn-success:hover {
    background: #2a5a2a;
}
.btn-secondary {
    background: #1a1a1a;
    border-color: #444;
}
.btn-secondary:hover {
    background: #2a2a2a;
}
.btn-danger {
    background: #4a1a1a;
    color: #ff6b6b;
    border: 1px solid #6a2a2a;
}
.btn-danger:hover {
    background: #5a2a2a;
}
.btn-info {
    background: #1a2a4a;
    color: #6bb5ff;
    border: 1px solid #2a4a6a;
}
.btn-info:hover {
    background: #2a4a6a;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

.logo-img {
    height: 24px;
    width: auto;
    margin-right: 6px;
    display: block;
}