:root {
    --bg: #DDDCDB;
    --panel: #ffffff;
    --panel-soft: #f7f4f1;
    --text: #3C4044;
    --muted: #74716e;
    --border: rgba(60, 64, 68, 0.16);
    --primary: #FD7B41;
    --primary-dark: #df6230;
    --accent: #EDBF9B;
    --success: #2f7d5c;
    --success-bg: #eaf6ef;
    --danger: #af3e34;
    --danger-bg: #fff0ea;
    --warning: #a5652e;
    --warning-bg: #fff5e9;
    --shadow: 0 18px 45px rgba(60, 64, 68, 0.12);
    --shadow-soft: 0 10px 24px rgba(60, 64, 68, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(253, 123, 65, 0.18), transparent 34rem),
        linear-gradient(135deg, #efeeed 0%, var(--bg) 52%, #d2d0ce 100%);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 250px;
    padding: 24px 16px;
    background:
        linear-gradient(180deg, #3C4044 0%, #292c2f 100%);
    color: #ffffff;
    box-shadow: 12px 0 34px rgba(60, 64, 68, 0.18);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding: 10px;
    border-radius: 8px;
}

.brand-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #3C4044;
    box-shadow: 0 10px 22px rgba(253, 123, 65, 0.26);
}

.brand strong,
.brand span {
    display: block;
}

.brand span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

.menu {
    display: grid;
    gap: 8px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.menu-link i {
    width: 20px;
    color: var(--accent);
    text-align: center;
}

.menu-link.active,
.menu-link:hover {
    background: rgba(253, 123, 65, 0.18);
    color: #ffffff;
    transform: translateX(2px);
}

.logout-form {
    margin: 0;
}

.logout-button {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.page {
    min-height: 100vh;
    margin-left: 250px;
    padding: 32px;
}

.page-full {
    margin-left: 0;
}

@media (max-width: 800px) {
    .sidebar {
        position: static;
        width: auto;
        padding: 16px;
        box-shadow: none;
    }

    .brand {
        margin-bottom: 14px;
    }

    .menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page {
        margin-left: 0;
        padding: 16px;
    }
}
