:root {
    --primary-purple: #5C51E8;
    --secondary-purple: #dadaf2;
    --light-bg: #f4f5fa;
    --white: #ffffff;
    --medium-text: #6c6c6c;
    --success-green: #27ae60;
    --flame-orange: #eb5e28;
    --dark-text: #2e2e2e;
    --light-text: #6c6c6c;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--light-bg, #f4f5fa);
    color: var(--dark-text, #2e2e2e);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Glass Morphism Effects */
.glass-admin {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 12px 6px rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-admin::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent);
}

.glass-admin::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.8),
            transparent,
            rgba(255, 255, 255, 0.3));
}

.glass-admin:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 40px rgba(92, 81, 232, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2),
        inset 0 0 15px 8px rgba(255, 255, 255, 0.8);
}

.btn-primary-blue {
    background: rgba(92, 81, 232, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 8px 32px rgba(92, 81, 232, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-blue:hover {
    background: rgba(92, 81, 232, 1);
    transform: translateY(-2px);
    box-shadow:
        0 12px 40px rgba(92, 81, 232, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.4);
    color: white;
}

.glass-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-purple));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.header-main-logo {
    -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 50%) right / 300% 100%;
    mask: linear-gradient(-60deg, #000 30%, #0005, #000 50%) right / 300% 100%;
    background-repeat: no-repeat;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        -webkit-mask-position: 200%;
        mask-position: 200%;
    }

    100% {
        -webkit-mask-position: -200%;
        mask-position: -200%;
    }
}

.animation-delay-1500 {
    animation-delay: 1.5s;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-3000 {
    animation-delay: 3s;
}

.viewer-bg {
    background: linear-gradient(135deg, #fffcf2 0%, #f3e9d2 50%, #e0c3fc 100%);
    min-height: 100vh;
}

model-viewer {
    background: #f3f4f6;
    border-radius: 1rem;
    border: 1.5px solid #e5e7eb;
}

.ar-btn {
    display: none;
}

@media (max-width: 768px) {
    .ar-btn {
        display: block;
    }
}

/* تنظیمات drawer برای موبایل */
/* Drawer settings for mobile */
.drawer-side {
    z-index: 50;
}

.drawer-overlay {
    background: rgba(0, 0, 0, 0.5);
}

aside {
    width: 280px !important;
    max-width: 280px !important;
}

/* جلوگیری از انتخاب متن و کپی */
/* Prevent text selection and copy */
* {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* جلوگیری از کپی کردن */
/* Prevent copy */
* {
    -webkit-user-modify: read-only !important;
    -moz-user-modify: read-only !important;
    -ms-user-modify: read-only !important;
    user-modify: read-only !important;
}
