/* Cyberpunk Design for Vitrina - Based on original React Project */

:root {
    --background: 240 15% 3%;
    --foreground: 200 20% 90%;
    --card: 240 12% 8%;
    --card-foreground: 200 20% 90%;
    --primary: 180 100% 50%;
    --secondary: 280 100% 60%;
    --muted: 240 10% 12%;
    --muted-foreground: 200 10% 55%;
    --accent: 320 100% 55%;
    --border: 240 20% 15%;
    --neon-cyan: 180 100% 50%;
    --neon-magenta: 320 100% 55%;
    --neon-purple: 280 100% 60%;
    --neon-blue: 220 100% 60%;
    --glass-bg: 240 20% 8%;
    --glass-border: 180 60% 30%;
    --font-display: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
}

/* Landing Page */
.landing-container {
    position: relative;
    min-height: 100vh;
    background: hsl(var(--background));
    overflow: hidden;
}

.cyber-grid {
    background-image:
        linear-gradient(hsl(var(--neon-cyan) / 0.03) 1px, transparent 1px),
        linear-gradient(90deg, hsl(var(--neon-cyan) / 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    font-family: var(--font-display);
    letter-spacing: -0.05em;
}

.neon-text-cyan {
    color: hsl(var(--neon-cyan));
    text-shadow: 0 0 20px hsl(var(--neon-cyan) / 0.6), 0 0 60px hsl(var(--neon-cyan) / 0.3);
}

.neon-text-magenta {
    color: hsl(var(--neon-magenta));
    text-shadow: 0 0 20px hsl(var(--neon-magenta) / 0.6), 0 0 60px hsl(var(--neon-magenta) / 0.3);
}

.neon-text-purple {
    color: hsl(var(--neon-purple));
    text-shadow: 0 0 20px hsl(var(--neon-purple) / 0.6), 0 0 60px hsl(var(--neon-purple) / 0.3);
}

.btn-neon {
    position: relative;
    padding: 12px 32px;
    background: linear-gradient(135deg, hsl(var(--neon-cyan)), hsl(var(--neon-purple)));
    border: none;
    border-radius: 12px;
    color: hsl(var(--background));
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-neon:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px hsl(var(--neon-cyan) / 0.5);
}

.btn-neon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsl(var(--neon-purple)), hsl(var(--neon-cyan)));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-neon:hover::before {
    opacity: 1;
}

.btn-neon span {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    z-index: 10;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-left {
    flex: 1;
    text-align: center;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .hero-left {
        text-align: left;
    }
}

.hero-badge {
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid hsl(var(--neon-cyan) / 0.5);
    background: rgba(hsl(var(--neon-cyan) / 0.1));
    color: hsl(var(--neon-cyan));
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.hero p {
    font-size: 18px;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    text-align: center;
}

.hero-phone {
    max-width: 500px;
    width: 100%;
    border-radius: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Control Panel */
.control-panel {
    position: relative;
    padding: 96px 24px;
    z-index: 10;
}

.control-panel-title {
    text-align: center;
    margin-bottom: 64px;
}

.control-panel-title h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.control-panel-title p {
    font-size: 18px;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
}

.glass-panel {
    position: relative;
    background: linear-gradient(135deg, hsl(var(--glass-bg) / 0.7), hsl(var(--glass-bg) / 0.4));
    border: 1px solid hsl(var(--glass-border) / 0.3);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 0 hsl(var(--neon-cyan) / 0.1), 0 0 30px hsl(var(--neon-cyan) / 0.05);
}

.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, hsl(var(--neon-cyan) / 0.05) 0%, transparent 50%, hsl(var(--neon-magenta) / 0.05) 100%);
    border-radius: 12px;
}

.control-panel-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 48px;
}

.control-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid hsl(var(--neon-cyan) / 0.2);
}

.control-panel-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: glow-pulse 2s ease-in-out infinite;
}

.control-panel-header .dot.cyan {
    background: hsl(var(--neon-cyan));
}

.control-panel-header .dot.magenta {
    background: hsl(var(--neon-magenta));
    animation-delay: 0.3s;
}

.control-panel-header .dot.purple {
    background: hsl(var(--neon-purple));
    animation-delay: 0.6s;
}

.control-panel-header span {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    font-family: var(--font-display);
    letter-spacing: 0.1em;
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .control-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.control-btn {
    background: linear-gradient(135deg, hsl(var(--glass-bg) / 0.7), hsl(var(--glass-bg) / 0.4));
    border: 1px solid hsl(var(--glass-border) / 0.3);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.control-btn:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 0 30px hsl(var(--neon-cyan) / 0.4);
}

.control-btn-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid hsl(var(--neon-cyan) / 0.5);
    box-shadow: 0 0 15px hsl(var(--neon-cyan) / 0.2), inset 0 0 15px hsl(var(--neon-cyan) / 0.05);
    transition: all 0.3s ease;
    color: hsl(var(--neon-cyan));
}

.control-btn:hover .control-btn-icon {
    box-shadow: 0 0 30px hsl(var(--neon-cyan) / 0.4);
}

.control-btn span {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.1em;
    text-align: center;
    color: hsl(var(--foreground));
}

/* Publish Block */
.publish-block {
    position: relative;
    padding: 96px 24px;
    overflow: hidden;
    z-index: 10;
}

.publish-block-title {
    text-align: center;
    margin-bottom: 64px;
}

.publish-block-title h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.publish-block-title p {
    font-size: 18px;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
}

.publish-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px 64px;
    flex-wrap: wrap;
}

.publish-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    min-width: 160px;
    min-height: 120px;
}

.publish-card svg {
    width: 48px;
    height: 48px;
}

.publish-card.telegram svg {
    color: hsl(var(--neon-cyan));
}

.publish-card.max svg {
    color: hsl(var(--neon-magenta));
}

.publish-card span {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.1em;
}

.publish-card.telegram span {
    color: hsl(var(--neon-cyan));
}

.publish-card.max span {
    color: hsl(var(--neon-magenta));
}

.publish-center {
    position: relative;
}

.publish-center svg {
    width: 48px;
    height: 48px;
    color: hsl(var(--neon-magenta));
    filter: drop-shadow(0 0 20px hsl(320 100% 55%));
    animation: pulse-scale 1.5s ease-in-out infinite;
}

.publish-trail {
    position: absolute;
    top: 50%;
    width: 32px;
    height: 1px;
}

.publish-trail.left {
    left: -48px;
    background: linear-gradient(to right, hsl(var(--neon-cyan)), transparent);
}

.publish-trail.right {
    right: -48px;
    background: linear-gradient(to left, hsl(var(--neon-purple)), transparent);
}

@media (min-width: 768px) {
    .publish-trail {
        width: 48px;
    }
    .publish-trail.left {
        left: -64px;
    }
    .publish-trail.right {
        right: -64px;
    }
}

.btn-publish {
    margin-top: 64px;
    padding: 16px 48px;
    background: linear-gradient(135deg, hsl(var(--neon-cyan) / 0.15), hsl(var(--neon-magenta) / 0.15));
    border: 2px solid hsl(var(--neon-cyan) / 0.7);
    border-radius: 12px;
    color: hsl(var(--neon-cyan));
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: neon-pulse 2s ease-in-out infinite;
}

.btn-publish:hover {
    background: linear-gradient(135deg, hsl(var(--neon-cyan) / 0.3), hsl(var(--neon-magenta) / 0.3));
    box-shadow: 0 0 40px hsl(var(--neon-cyan) / 0.5), inset 0 0 30px hsl(var(--neon-cyan) / 0.15);
    transform: scale(1.05);
}

/* Cyber Gallery */
.cyber-gallery {
    position: relative;
    padding: 96px 24px;
    overflow: hidden;
    z-index: 10;
}

.cyber-gallery-title {
    text-align: center;
    margin-bottom: 64px;
}

.cyber-gallery-title h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cyber-gallery-title p {
    font-size: 18px;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
}

.gallery-container {
    position: relative;
    margin: 0 -24px;
}

.gallery-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 128px;
    z-index: 10;
}

.gallery-fade.left {
    left: 0;
    background: linear-gradient(to right, hsl(var(--background)), transparent);
}

.gallery-fade.right {
    right: 0;
    background: linear-gradient(to left, hsl(var(--background)), transparent);
}

.gallery-scroll {
    display: flex;
    width: fit-content;
    animation: scroll-infinite 30s linear infinite;
}

.gallery-item {
    flex-shrink: 0;
    margin: 0 24px;
    cursor: pointer;
    perspective: 1000px;
}

.gallery-item:hover {
    transform: scale(1.05) translateY(-10px);
}

.gallery-phone {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    width: 224px;
    height: 448px;
    background: linear-gradient(145deg, rgba(20, 20, 30, 0.9), rgba(10, 10, 15, 0.95));
    border: 2px solid;
    box-shadow: 0 0 14px var(--glow-color), 0 0 28px var(--glow-color), inset 0 0 21px var(--glow-color), 0 14px 42px rgba(0, 0, 0, 0.5);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: all 0.5s ease;
}

.gallery-phone.cyan {
    border-color: hsl(var(--neon-cyan));
    --glow-color: hsl(var(--neon-cyan) / 0.5);
}

.gallery-phone.magenta {
    border-color: hsl(var(--neon-magenta));
    --glow-color: hsl(var(--neon-magenta) / 0.5);
}

.gallery-phone.purple {
    border-color: hsl(var(--neon-purple));
    --glow-color: hsl(var(--neon-purple) / 0.5);
}

.gallery-phone-screen {
    position: absolute;
    inset: 12px;
    border-radius: 1.5rem;
    overflow: hidden;
}

.gallery-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-phone-screen img {
    filter: brightness(1.1);
}

.gallery-scanline {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.2;
    background: repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
}

.gallery-label {
    text-align: center;
    margin-top: 24px;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.gallery-label.cyan {
    color: hsl(var(--neon-cyan));
}

.gallery-label.magenta {
    color: hsl(var(--neon-magenta));
}

.gallery-label.purple {
    color: hsl(var(--neon-purple));
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.hidden {
    display: none !important;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, hsl(var(--glass-bg) / 0.7), hsl(var(--glass-bg) / 0.4));
    border: 2px solid hsl(var(--neon-cyan) / 0.3);
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 50px hsl(var(--neon-cyan) / 0.3);
    backdrop-filter: blur(20px);
}

.modal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, hsl(var(--neon-cyan) / 0.05) 0%, transparent 50%, hsl(var(--neon-magenta) / 0.05) 100%);
    border-radius: 16px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 24px;
    color: hsl(var(--neon-cyan));
}

.close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Contact Info */
.contact-info {
    padding: 16px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 12px;
    background: hsl(var(--background) / 0.3);
    border: 1px solid hsl(var(--neon-cyan) / 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: hsl(var(--background) / 0.5);
    border-color: hsl(var(--neon-cyan) / 0.4);
    transform: translateY(-2px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, hsl(var(--neon-cyan) / 0.2), hsl(var(--neon-magenta) / 0.2));
    border-radius: 12px;
    color: hsl(var(--neon-cyan));
    flex-shrink: 0;
}

.contact-text {
    color: hsl(var(--foreground));
    font-size: 16px;
    font-weight: 500;
}

/* Forms */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    color: hsl(var(--muted-foreground));
}

.form-group input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    background: hsl(var(--background) / 0.5);
    border: 2px solid hsl(var(--neon-cyan) / 0.2);
    border-radius: 12px;
    color: hsl(var(--foreground));
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: hsl(var(--neon-cyan));
}

.form-group .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: hsl(var(--neon-cyan) / 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-icon svg {
    color: hsl(var(--neon-cyan) / 0.5);
}

.input-wrapper {
    position: relative;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, hsl(var(--neon-cyan)), hsl(var(--neon-purple)));
    border: none;
    border-radius: 12px;
    color: hsl(var(--background));
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px hsl(var(--neon-cyan) / 0.5);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.error {
    padding: 12px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    border-radius: 8px;
    color: #f87171;
    font-family: var(--font-display);
    font-size: 14px;
    margin-bottom: 16px;
}

/* Footer */
.footer {
    padding: 48px 24px;
    text-align: center;
    border-top: 1px solid hsl(var(--border));
    position: relative;
    z-index: 10;
}

.footer p {
    font-family: var(--font-display);
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    letter-spacing: 0.1em;
}

/* Animations */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 10px currentColor;
    }
    50% {
        box-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
    }
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

@keyframes neon-pulse {
    0%, 100% {
        box-shadow: 0 0 20px hsl(var(--neon-cyan) / 0.3), inset 0 0 20px hsl(var(--neon-cyan) / 0.1);
    }
    50% {
        box-shadow: 0 0 40px hsl(var(--neon-cyan) / 0.5), inset 0 0 30px hsl(var(--neon-cyan) / 0.2);
    }
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .control-panel-content {
        padding: 24px;
    }
}

/* Admin Panel Styles - Original Dark Theme with Orange Accent */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0B0B10;
}

.login-box {
    background: #0F0F17;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 32px;
    text-align: center;
}

.login-box .form-group {
    margin-bottom: 24px;
}

.login-box label {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.login-box input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s ease;
}

.login-box input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(30, 41, 59, 0.9);
}

.login-box .btn-submit {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-box .btn-submit:hover {
    background: rgba(255, 255, 255, 0.15);
}

.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #0B0B10;
    color: white;
}

.sidebar {
    width: 288px;
    min-height: screen;
    background: #0F0F17;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header .logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.sidebar-header .highlight {
    color: #fb923c;
}

.sidebar-header .username {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.nav-link {
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.logout-btn {
    margin-top: auto;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    color: white;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.header {
    background: rgba(11, 11, 16, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 32px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.page-content {
    flex: 1;
    padding: 24px 32px;
    overflow-y: auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.page-header h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.btn-primary {
    padding: 12px 24px;
    background: #fb923c;
    border: none;
    border-radius: 8px;
    color: #0B0B10;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #f97316;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: #0F0F17;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.product-card .no-image {
    width: 100%;
    height: 200px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 14px;
    margin-bottom: 12px;
}

.product-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.product-card .price {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: #fb923c;
    margin-bottom: 16px;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.btn-small {
    flex: 1;
    padding: 8px 12px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.btn-danger:hover {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.1);
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0F0F17;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px 20px;
    transition: all 0.3s ease;
}

.category-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.category-item span {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: white;
}

.category-actions {
    display: flex;
    gap: 8px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    background: #0F0F17;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-id {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: #fb923c;
}

.order-status {
    padding: 6px 12px;
    background: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    color: #fb923c;
}

.order-info p {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.settings-form {
    background: #0F0F17;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
}

.settings-form .form-group {
    margin-bottom: 20px;
}

.settings-form label {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.settings-form input[type="text"],
.settings-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 16px;
    transition: all 0.3s ease;
}

.settings-form input[type="text"]:focus,
.settings-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(30, 41, 59, 0.9);
}

.settings-form textarea {
    min-height: 120px;
    resize: vertical;
}

.settings-form input[type="checkbox"] {
    margin-right: 8px;
}

.settings-form label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.hidden {
    display: none;
}

/* Super Admin Specific Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: #0F0F17;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: #fb923c;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.owners-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.owner-card {
    background: #0F0F17;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.owner-info {
    flex: 1;
}

.owner-info h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.owner-info p {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.owner-info .status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
}

.owner-info .status.active {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.owner-info .status.blocked {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.owner-actions {
    display: flex;
    gap: 8px;
}

/* Admin Products Page Styles */
.admin-products-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
}

.admin-product-card {
    background: #0F0F17;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.admin-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-input {
    width: 100%;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.admin-input:focus {
    border-color: rgba(251, 146, 60, 0.3);
    box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.1);
}

.admin-textarea {
    width: 100%;
    min-height: 96px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    resize: vertical;
}

.admin-textarea:focus {
    border-color: rgba(251, 146, 60, 0.3);
    box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.1);
}

.admin-select {
    width: 100%;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.admin-select option {
    background: #0F0F17;
    color: white;
}

.admin-select:focus {
    border-color: rgba(251, 146, 60, 0.3);
    box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.1);
}

.admin-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
}

.admin-checkbox input {
    cursor: pointer;
}

.admin-upload-section {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
}

.admin-upload-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.admin-upload-btn {
    cursor: pointer;
    color: #fb923c;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.admin-upload-btn:hover {
    color: #f97316;
}

.admin-image-gallery {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
}

.admin-image-item {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}

.admin-image-item.active {
    border-color: #fb923c;
}

.admin-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-image-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.admin-btn-primary {
    width: 100%;
    padding: 10px 16px;
    background: #fb923c;
    border: none;
    border-radius: 12px;
    color: #0B0B10;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-btn-primary:hover {
    background: #f97316;
}

.admin-products-list {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.admin-list-header {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-list-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-select-small {
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    font-size: 12px;
    outline: none;
}

.admin-select-small option {
    background: #0F0F17;
    color: white;
}

.admin-list-items {
    max-height: 600px;
    overflow-y: auto;
}

.admin-list-item {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-list-item:last-child {
    border-bottom: none;
}

.admin-item-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.admin-item-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
    flex-shrink: 0;
}

.admin-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-item-info {
    min-width: 0;
}

.admin-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.admin-btn-small {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    color: white;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-btn-small:hover {
    background: rgba(255, 255, 255, 0.15);
}

.admin-btn-danger {
    color: #f87171;
}

.admin-btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.admin-empty {
    padding: 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Admin Modal */
.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.admin-modal-content {
    width: 100%;
    max-width: 672px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0F0F17;
    padding: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.admin-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.admin-modal-close:hover {
    color: white;
}

.admin-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.admin-modal-body > div:first-child,
.admin-modal-body > div:nth-child(2) {
    grid-column: 1;
}

.admin-modal-body > div:nth-child(3) {
    grid-column: 1 / -1;
}

.admin-modal-footer {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Responsive for admin */
@media (max-width: 1024px) {
    .admin-products-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-modal-body {
        grid-template-columns: 1fr;
    }
}

.admin-categories-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
}

.admin-item-info-full {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-slug {
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.admin-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.success {
    padding: 12px 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    color: #4ade80;
    font-size: 14px;
}

.toggle-btn {
    width: 48px;
    height: 24px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
}

.toggle-btn-on {
    background-color: #22c55e;
}

.toggle-btn-off {
    background-color: #ef4444;
}

.toggle-indicator {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    transition: transform 0.3s;
}

.toggle-indicator-on {
    transform: translateX(26px);
}

.toggle-indicator-off {
    transform: translateX(2px);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.blocked {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.stat-card-action {
    cursor: pointer;
    text-decoration: none;
}

.stat-card-action:hover {
    background: rgba(255, 255, 255, 0.1);
}

.stat-sublabel {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.nav-icon {
    font-size: 16px;
    margin-right: 8px;
}
