﻿/* public/assets/css/responsive.css */
@media (max-width: 1380px) {
    :root {
        --shell-sidebar-w: 266px;
    }

    .shell-main {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1180px) {
    .shell-user-compact {
        min-width: 168px;
    }

    .container,
    .navbar-inner {
        width: calc(100% - 30px);
    }
}

@media (max-width: 1024px) {
    .shell-main {
        margin-left: 0;
        padding: calc(var(--shell-topbar-h) + 14px) 16px 14px;
    }

    .shell-sidebar {
        width: min(320px, calc(100vw - 48px));
        transform: translateX(calc(-100% - 14px));
        box-shadow: 20px 0 38px rgba(15, 23, 42, 0.25);
        z-index: 95;
    }

    body.shell-open .shell-sidebar {
        transform: translateX(0);
    }

    .shell-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .shell-sidebar-head {
        display: flex;
    }

    .shell-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 88;
        background: rgba(11, 8, 20, 0.34);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    body.shell-open .shell-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .home-template {
        grid-template-columns: 1fr;
    }

    .home-template-sidebar {
        position: static;
    }

    .home-template-sidebar .inner {
        padding: 12px;
    }

    .home-template-sidebar nav ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-spotlight-item {
        grid-template-columns: 1fr;
    }

    .home-spotlight-item .image img {
        min-height: 210px;
    }

    .home-features {
        grid-template-columns: 1fr;
    }

    .home-cta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .profile-grid {
        grid-template-columns: 1fr !important;
    }

    .container,
    .navbar-inner {
        width: calc(100% - 22px);
    }

    .card {
        padding: 15px;
        border-radius: var(--radius-sm);
    }

    .navbar-inner {
        padding: 9px 0;
        min-height: 60px;
    }

    .brand strong {
        font-size: 1rem;
    }

    .badge {
        font-size: 0.73rem;
    }

    .shell-topbar-inner {
        width: calc(100% - 20px);
    }

    .shell-user-compact {
        display: none;
    }

    .shell-main {
        padding: calc(var(--shell-topbar-h) + 12px) 12px 12px;
    }

    .landing-hero-actions .btn,
    .landing-cta-actions .btn {
        flex: 1 1 100%;
    }
}

@media (max-width: 560px) {
    .navbar-inner {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .shell-topbar-actions {
        gap: 6px;
    }

    .shell-verify-link {
        display: none;
    }

    body.is-shell .shell-main-inner > h1 {
        font-size: 1.3rem;
    }

    .landing-grid-3,
    .landing-plans,
    .landing-steps,
    .landing-testimonials {
        grid-template-columns: 1fr;
    }

    .home-template-section .inner {
        padding: 22px 16px 18px;
    }

    .home-template-sidebar nav ul {
        grid-template-columns: 1fr;
    }

    .home-actions .btn {
        flex: 1 1 100%;
    }
}
