body {
    margin: 0;
    padding: 24px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f6f8fb;
    color: #1f2937;
}

.site-header {
    margin-bottom: 10px;
}

.site-header h1 {
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: 0.04em;
}

.site-header a {
    color: inherit;
    text-decoration: none;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding: 10px 0 14px;
    border-bottom: 1px solid #dbe2ea;
}

.auth-page .main-nav {
    justify-content: center;
}

.auth-page .site-header {
    text-align: center;
}

.nav-link {
    color: #1f4ed8;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 6px 12px;
    background: #ffffff;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.nav-inline-form {
    margin: 0;
}

.nav-link-button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    appearance: none;
    cursor: pointer;
}

.nav-link-admin {
    color: #92400e;
    border-color: #fcd34d;
    background: #fffbeb;
}

.nav-link-admin:hover {
    background: #fef3c7;
    border-color: #fbbf24;
}

.page-content {
    min-height: calc(100vh - 210px);
}

.card {
    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    padding: 18px;
}

.btn {
    display: inline-block;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    padding: 9px 12px;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: #1d4ed8;
    color: #ffffff;
}

.btn-primary:hover {
    background: #1e40af;
}

.btn-secondary {
    background: #e2e8f0;
    color: #1f2937;
}

.btn-secondary:hover {
    background: #cbd5e1;
}

.btn-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.btn-danger:hover {
    background: #fecaca;
}

.btn-ghost {
    color: #1f4ed8;
    background: transparent;
    border-color: #bfdbfe;
}

.btn-ghost:hover {
    background: #eff6ff;
}

.auth-form p,
.store-form p,
.profile-form p {
    margin: 0 0 12px;
}

.auth-form input,
.auth-form select,
.auth-form textarea,
.store-form input,
.store-form select,
.store-form textarea,
.profile-form input,
.profile-form select,
.profile-form textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.auth-form button,
.store-form button,
.profile-form button {
    margin-top: 10px;
}

.site-footer {
    margin-top: 32px;
    padding-top: 12px;
    border-top: 1px solid #dbe2ea;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 700px) {
    body {
        padding: 16px;
    }

    .site-header h1 {
        font-size: 1.5rem;
    }
}
