:root {
    --bg-1: #0d1028;
    --bg-2: #11173a;
    --accent-1: #7f5af0;
    --accent-2: #2cb67d;
    --accent-3: #00d4ff;
}

body.app-body {
    background: radial-gradient(circle at 20% 10%, #182158 0%, var(--bg-1) 35%, var(--bg-2) 100%);
    min-height: 100vh;
    color: #e6ebff;
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: #f4f7ff;
    letter-spacing: 0.2px;
}

p, small, label, td, th, span, li {
    color: rgba(236, 241, 255, 0.92);
}

.app-nav {
    background: linear-gradient(120deg, rgba(9, 14, 42, 0.88), rgba(18, 23, 51, 0.8));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    animation: floatOrb 7s ease-in-out infinite alternate;
}

.orb-1 {
    width: 240px;
    height: 240px;
    top: 12%;
    left: -60px;
    background: rgba(127, 90, 240, 0.45);
}

.orb-2 {
    width: 290px;
    height: 290px;
    right: -70px;
    bottom: 10%;
    background: rgba(0, 212, 255, 0.35);
    animation-delay: 0.8s;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 26px 26px;
    z-index: 0;
    pointer-events: none;
}

main, footer {
    z-index: 2;
}

.card,
.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 18px;
    box-shadow: 0 20px 36px rgba(4, 7, 22, 0.4);
    backdrop-filter: blur(9px);
    color: #eff2ff;
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-5px) perspective(700px) rotateX(2deg);
    box-shadow: 0 26px 42px rgba(4, 7, 22, 0.55);
}

.card .card-title,
.card h5 {
    font-weight: 700;
}

.dashboard-section {
    position: relative;
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1rem;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(127, 90, 240, 0.25);
    border: 1px solid rgba(127, 90, 240, 0.4);
    font-size: 12px;
}

.store-banner {
    min-height: 220px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 45px rgba(6, 11, 32, 0.5);
}

.product-card img {
    height: 190px;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.store-product-card {
    overflow: hidden;
    position: relative;
}

.store-product-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(130deg, rgba(127, 90, 240, 0.75), rgba(0, 212, 255, 0.45), rgba(44, 182, 125, 0.45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.store-product-card .card-body {
    position: relative;
    z-index: 1;
}

.store-product-card img {
    transition: transform 0.35s ease, filter 0.35s ease;
}

.store-product-card:hover img {
    transform: scale(1.04);
    filter: saturate(1.12);
}

.rating {
    color: #ffd369;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.table {
    color: #e7ebff;
}

.table > :not(caption) > * > * {
    vertical-align: middle;
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), #5b49d2);
    border: 0;
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-2), #208d63);
    border: 0;
}

.btn-warning {
    background: linear-gradient(135deg, #f8a01a, #ff7a18);
    border: 0;
    color: #fff;
}

.btn {
    border-radius: 11px;
    font-weight: 600;
    transition: all 0.24s ease;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.btn-outline-light,
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-danger {
    border-width: 1px;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.08);
    color: #f2f5ff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
}

.form-control::placeholder {
    color: rgba(242, 245, 255, 0.66);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-3);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.16);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

@keyframes floatOrb {
    from { transform: translateY(0); }
    to { transform: translateY(-20px); }
}

.fade-up {
    animation: fadeUp 0.55s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(9px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .store-banner {
        min-height: 160px;
    }
    .card:hover {
        transform: translateY(-2px);
    }
    .navbar .btn {
        font-size: 12px;
        padding: 0.25rem 0.5rem;
    }
}
