snapraid/style.css
Andrea Mazzoleni f4679d3f6e Auto update
2026-03-30 10:01:17 +02:00

1004 lines
23 KiB
CSS

:root {
/* Color Palette - Deep Dark Mode */
/* https://htmlcolorcodes.com/color-chart/tailwind-color-chart/ */
--c-slate-50: #F8FAFC;
--c-slate-100: #F1F5F9;
--c-slate-200: #E2E8F0;
--c-slate-300: #CAD5E2;
--c-slate-400: #90A1B9;
--c-slate-500: #62748E;
--c-slate-600: #45556C;
--c-slate-700: #314158;
--c-slate-800: #1D293D;
--c-slate-900: #0F172B;
--c-slate-950: #020618;
/* Interpolated */
--c-slate-905: hsl(224 51% 11%);
--c-slate-910: hsl(224 55% 10%);
--c-slate-915: hsl(225 59% 10%);
--c-slate-920: hsl(225 63% 9%);
--c-slate-925: hsl(226 66% 8%);
--c-slate-930: hsl(227 70% 7%);
--c-slate-935: hsl(227 74% 7%);
--c-slate-940: hsl(228 78% 6%);
--c-slate-945: hsl(228 81% 6%);
--c-sky-50: #F0F9FF;
--c-sky-100: #DFF2FE;
--c-sky-200: #B8E6FE;
--c-sky-300: #74D4FF;
--c-sky-400: #21BCFF;
--c-sky-500: #34A6F4;
--c-sky-600: #2984D1;
--c-sky-700: #1C69A8;
--c-sky-800: #10598A;
--c-sky-900: #024A70;
--c-sky-950: #052F4A;
--c-blue-50: #EFF6FF;
--c-blue-100: #DBEAFE;
--c-blue-200: #BEDBFF;
--c-blue-300: #8EC5FF;
--c-blue-400: #51A2FF;
--c-blue-500: #2B7FFF;
--c-blue-600: #155DFC;
--c-blue-700: #1447E6;
--c-blue-800: #193CB8;
--c-blue-900: #1C398E;
--c-blue-950: #162456;
--c-orange-50: #FFF7ED;
--c-orange-100: #FFEDD4;
--c-orange-200: #FFD6A7;
--c-orange-300: #FFB86A;
--c-orange-400: #FF8904;
--c-orange-500: #FF692A;
--c-orange-600: #F54927;
--c-orange-700: #CA3519;
--c-orange-800: #9F2D01;
--c-orange-900: #7E2A0C;
--c-orange-950: #441306;
--bg-body: var(--c-slate-950);
--bg-surface: var(--c-slate-910);
--bg-surface-hover: var(--c-slate-800);
--border-color: var(--c-slate-800);
--header-bg: rgba(2, 6, 23, 0.9);
--overlay-bg: rgba(2, 6, 23, 0.85);
--bg-code: #000000;
--text-code: #e2e8f0;
--table-header-bg: rgba(255, 255, 255, 0.02);
--table-row-even-bg: rgba(255, 255, 255, 0.02);
--text-primary: var(--c-slate-50);
--text-secondary: var(--c-slate-400);
--text-accent: var(--c-sky-400);
--primary: var(--c-blue-500);
--primary-hover: var(--c-blue-600);
--primary-glow: rgba(59, 130, 246, 0.5); /* --c-blue-500 */
--success: #10b981;
--warning: #f59e0b;
--danger: #ef4444;
/* Spacing & Layout */
--container-width: 1200px;
--header-height: 70px;
--radius: 8px;
--font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--font-mono: "SF Mono", "Segoe UI Mono", "Roboto Mono", monospace;
}
:root.light-theme {
--bg-body: var(--c-slate-100);
--bg-surface: #ffffff;
--bg-surface-hover: var(--c-slate-200);
--border-color: var(--c-slate-200);
--header-bg: rgba(248, 250, 252, 0.9);
--overlay-bg: rgba(248, 250, 252, 0.85);
--bg-code: var(--c-slate-200);
--text-code: var(--c-slate-900);
--table-header-bg: rgba(0, 0, 0, 0.05);
--table-row-even-bg: rgba(0, 0, 0, 0.02);
--text-primary: var(--c-slate-900);
--text-secondary: var(--c-slate-600);
--text-accent: var(--c-sky-500);
--primary: var(--c-blue-600);
--primary-hover: var(--c-blue-700);
--primary-glow: rgba(37, 99, 235, 0.2); /* --c-blue-600 */
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg-body);
color: var(--text-primary);
font-family: var(--font-main);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
/* --- Layout Utilities --- */
.container {
max-width: var(--container-width);
margin: 0 auto;
padding: 0 20px;
}
.grid {
display: grid;
gap: 2rem;
}
.grid-2-cols { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3-cols { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4-cols { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
transition: none !important;
}
/* --- Typography --- */
h1, h2, h3, h4 {
font-weight: 700;
line-height: 1.2;
margin-bottom: 1rem;
color: var(--text-primary);
}
h1 { font-size: 3.5rem; letter-spacing: -0.05em; }
h2 { font-size: 2.25rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
h3 { font-size: 1.5rem; color: var(--text-primary); }
p { margin-bottom: 1.5rem; color: var(--text-secondary); }
a { color: var(--primary); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--text-accent); }
.accent-text { color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.875rem; }
code, pre {
font-family: var(--font-mono);
}
/* --- Header & Navigation --- */
header {
height: var(--header-height);
background: var(--header-bg);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border-color);
position: sticky;
top: 0;
z-index: 1000;
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
height: 100%;
}
.logo {
font-size: 1.5rem;
font-weight: 800;
color: var(--text-primary);
display: flex;
align-items: center;
gap: 10px;
}
.logo svg { height: 32px; width: 32px; fill: var(--text-primary); }
.logo-accent { fill: var(--primary); }
nav ul {
display: flex;
list-style: none;
gap: 20px;
align-items: center;
}
nav a {
font-size: 0.95rem;
color: var(--text-secondary);
font-weight: 500;
}
nav a:hover, nav a.active {
color: var(--primary);
}
.nav-cta {
background: var(--primary);
color: white !important;
padding: 0.5rem 1rem;
border-radius: var(--radius);
}
.nav-cta:hover {
background: var(--primary-hover);
}
.theme-toggle {
background: transparent;
border: none;
color: var(--text-secondary);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
padding: 0.5rem;
border-radius: var(--radius);
transition: background-color 0.2s, color 0.2s;
}
.theme-toggle:hover {
background: var(--bg-surface-hover);
color: var(--primary);
}
.theme-toggle svg {
width: 20px;
height: 20px;
}
.theme-toggle .sun-icon {
display: none;
}
:root.light-theme .theme-toggle .sun-icon {
display: block;
}
:root.light-theme .theme-toggle .moon-icon {
display: none;
}
/* --- Buttons --- */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 0.75rem 1.5rem;
border-radius: var(--radius);
font-weight: 600;
cursor: pointer;
border: none;
transition: all 0.2s ease;
text-decoration: none;
}
.btn-primary {
background: var(--primary);
color: white;
box-shadow: 0 0 15px var(--primary-glow);
}
.btn-primary:hover {
background: var(--primary-hover);
transform: translateY(-1px);
color: white;
}
.btn-secondary {
background: transparent;
border: 1px solid var(--border-color);
color: var(--text-primary);
}
.btn-secondary:hover {
background: var(--bg-surface);
border-color: var(--text-accent);
color: var(--text-accent);
}
.btn-block { width: 100%; }
/* --- Sections --- */
.hero-section {
padding: 6rem 0;
text-align: center;
}
.hero-subtext {
font-size: 1.25rem;
max-width: 700px;
margin: 1.5rem auto;
}
.hero-actions {
display: flex;
justify-content: center;
gap: 1rem;
margin-top: 2.5rem;
}
.daemon-section {
background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 100%);
padding: 5rem 0;
border-top: 1px solid var(--border-color);
border-bottom: 1px solid var(--border-color);
}
.daemon-layout {
align-items: center;
}
.feature-list {
list-style: none;
margin-bottom: 2rem;
}
.feature-list li {
margin-bottom: 10px;
display: flex;
align-items: center;
gap: 10px;
color: var(--text-secondary);
}
.icon-check {
width: 20px;
height: 20px;
fill: var(--success);
}
.link-arrow {
font-weight: 600;
display: inline-flex;
align-items: center;
}
/* --- Terminal Mockup --- */
.terminal-mockup {
background: #000;
border: 1px solid var(--border-color);
border-radius: var(--radius);
padding: 0;
box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
font-family: var(--font-mono);
overflow: hidden;
}
.terminal-header {
background: var(--bg-surface);
padding: 10px 15px;
display: flex;
gap: 8px;
border-bottom: 1px solid var(--border-color);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ef4444; }
.yellow { background: #f59e0b; }
.green { background: #10b981; }
.terminal-body {
padding: 20px;
color: #e2e8f0;
font-size: 0.85rem;
}
.term-line { margin-bottom: 4px; }
.term-line.success { color: var(--success); }
.term-line.warning { color: var(--warning); }
.term-line.info { color: var(--text-accent); }
.term-line.separator { color: var(--border-color); margin: 8px 0; }
/* --- Cards --- */
.features-section { padding: 5rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.card {
background: var(--bg-surface);
border: 1px solid var(--border-color);
padding: 2rem;
border-radius: var(--radius);
transition: transform 0.2s, border-color 0.2s;
}
.card:hover {
border-color: var(--primary);
transform: translateY(-2px);
}
.card-subtitle {
color: var(--text-accent);
margin-bottom: 0.5rem;
font-style: italic;
font-weight: 500;
}
.card-icon-wrapper {
width: 48px;
height: 48px;
background: rgba(59, 130, 246, 0.1);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
}
.card-icon { width: 24px; height: 24px; fill: var(--primary); }
/* --- Tables --- */
.data-table {
width: 100%;
border-collapse: collapse;
margin: 2rem 0;
background: var(--bg-surface);
border-radius: var(--radius);
overflow: hidden;
}
.data-table th, .data-table td {
text-align: left;
padding: 1rem;
border-bottom: 1px solid var(--border-color);
}
.data-table th {
color: var(--text-accent);
font-weight: 600;
background: var(--table-header-bg);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-surface-hover); }
/* --- Search Input --- */
.search-input {
width: 100%;
padding: 1rem 1.5rem;
font-size: 1rem;
background: var(--bg-surface);
border: 1px solid var(--border-color);
border-radius: var(--radius);
color: var(--text-primary);
transition: border-color 0.2s, box-shadow 0.2s;
outline: none;
margin-bottom: 2rem;
}
.search-input:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}
.search-input::placeholder {
color: var(--text-secondary);
}
/* --- FAQ Specific Styling --- */
#faq-content {
max-width: 100%; /* Changed from 900px since it's now in a grid cell */
}
.faq-section {
margin-bottom: 4rem;
}
.faq-section h2 {
margin-top: 1rem;
margin-bottom: 2rem;
color: var(--primary);
border-bottom: 1px solid var(--border-color);
padding-bottom: 0.5rem;
font-size: 2rem;
letter-spacing: -0.02em;
scroll-margin-top: 100px;
}
.faq-item {
border-bottom: 1px solid var(--border-color);
margin-bottom: 2rem;
padding-bottom: 2rem;
}
.faq-item:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.faq-question {
margin-top: 0;
margin-bottom: 1rem;
font-size: 1.4rem;
color: var(--text-primary);
font-weight: 700;
scroll-margin-top: 100px; /* Offset for sticky header */
}
/* The wrapper for the answer content */
.faq-answer {
padding-left: 1.5rem;
border-left: 3px solid var(--bg-surface-hover);
margin-top: 1rem;
}
.faq-answer:hover {
border-left-color: var(--primary);
}
/* Styles for content INSIDE .faq-answer */
.faq-answer p {
margin-bottom: 1rem;
color: var(--text-secondary);
line-height: 1.7;
background: transparent;
padding: 0;
border: none;
}
.faq-answer ul, .faq-answer ol {
margin-bottom: 1.5rem;
padding-left: 1.5rem;
color: var(--text-secondary);
list-style-position: outside;
}
.faq-answer li {
margin-bottom: 0.5rem;
padding-left: 0.5rem;
}
.faq-answer table {
width: 100%;
border-collapse: collapse;
margin: 1.5rem 0;
font-size: 0.95rem;
background: var(--bg-surface);
border: 1px solid var(--border-color);
border-radius: var(--radius);
display: block;
overflow-x: auto;
white-space: nowrap;
}
@media (min-width: 768px) {
.faq-answer table {
display: table;
white-space: normal;
}
}
.faq-answer th, .faq-answer td {
padding: 0.75rem 1rem;
border: 1px solid var(--border-color);
text-align: left;
vertical-align: top;
}
.faq-answer th {
background: rgba(59, 130, 246, 0.1);
color: var(--text-primary);
font-weight: 600;
}
.faq-answer td {
background: transparent;
}
.faq-answer tr:nth-child(even) td {
background: var(--table-row-even-bg);
}
.faq-answer a {
text-decoration: underline;
text-underline-offset: 2px;
}
/* --- Footer --- */
footer {
border-top: 1px solid var(--border-color);
padding: 2rem 0;
margin-top: 4rem;
background: var(--bg-surface);
}
.footer-content {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 2rem;
}
.footer-col h3 { color: var(--text-primary); margin-bottom: 0.5rem; }
.footer-col h4 { color: var(--text-accent); font-size: 0.9rem; text-transform: uppercase; margin-bottom: 1rem; border: none; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.license { font-size: 0.8rem; color: var(--text-secondary); margin-top: 1rem; }
/* --- Mobile Menu --- */
#menu-toggle { display: none; }
.menu-icon { display: none; cursor: pointer; color: var(--text-primary); }
@media (max-width: 768px) {
h1 { font-size: 2.5rem; }
.hero-actions { flex-direction: column; }
.menu-icon { display: block; }
nav ul {
display: none;
flex-direction: column;
position: absolute;
top: var(--header-height);
left: 0;
width: 100%;
background: var(--bg-surface);
padding: 1rem;
border-bottom: 1px solid var(--border-color);
align-items: flex-start;
}
nav ul li { width: 100%; }
nav a { display: block; padding: 0.5rem 0; }
nav .nav-cta { text-align: center; }
nav .theme-toggle { justify-content: flex-start; padding: 0.5rem 0; }
#menu-toggle:checked ~ ul { display: flex; }
.manual-layout, .faq-layout { grid-template-columns: 1fr; }
.manual-sidebar { position: static; margin-bottom: 2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }
}
/* --- Specific Page: Manual --- */
.manual-layout, .faq-layout {
display: grid;
grid-template-columns: 250px 1fr;
gap: 3rem;
padding-top: 2rem;
padding-bottom: 4rem;
}
.manual-sidebar {
position: sticky;
top: 90px;
height: fit-content;
max-height: calc(100vh - 100px);
overflow-y: auto;
padding-right: 5px;
/* Hide scrollbar for IE, Edge and Firefox */
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
/* Hide scrollbar for Chrome, Safari and Opera */
.manual-sidebar::-webkit-scrollbar {
display: none;
}
.manual-sidebar h4 { color: var(--text-primary); margin-bottom: 1rem; }
.manual-sidebar ul { list-style: none; }
.manual-sidebar a { display: block; padding: 0.5rem 0; color: var(--text-secondary); border-left: 2px solid transparent; padding-left: 10px; }
.manual-sidebar a:hover, .manual-sidebar a.current { color: var(--primary); border-left-color: var(--primary); }
/* Nested TOC for FAQ */
.manual-sidebar ul ul {
margin-left: 10px;
margin-bottom: 10px;
border-left: 1px solid var(--border-color);
}
.manual-sidebar ul ul a {
font-size: 0.85rem;
padding: 0.25rem 0 0.25rem 10px;
border-left: none;
}
.manual-sidebar ul ul a:hover {
color: var(--text-accent);
}
/* --- Manual Content Styling (NEW) --- */
.manual-doc {
font-family: var(--font-main);
color: var(--text-secondary);
line-height: 1.7;
max-width: 900px;
}
/* Level 1 Sections */
.manual-section-level-1 {
margin-bottom: 4rem;
padding-bottom: 2rem;
border-bottom: 1px solid var(--border-color);
}
.manual-section-level-1:last-child {
border-bottom: none;
}
.manual-title-level-1 {
font-size: 2rem;
color: var(--text-primary);
margin-bottom: 1.5rem;
border-bottom: none;
scroll-margin-top: 100px;
}
/* Level 2 Sections */
.manual-section-level-2 {
margin-top: 3rem;
margin-left: 1.5rem;
padding-left: 1.5rem;
border-left: 2px solid var(--border-color);
}
.manual-title-level-2 {
font-size: 1.4rem;
color: var(--text-accent);
margin-bottom: 1rem;
border-bottom: none;
scroll-margin-top: 100px;
}
/* Level 3 Sections */
.manual-section-level-3 {
margin-top: 2rem;
margin-left: 1.5rem;
padding-left: 1rem;
border-left: 1px dashed var(--border-color);
}
.manual-title-level-3 {
font-size: 1.1rem;
color: var(--text-primary);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 0.75rem;
scroll-margin-top: 100px;
}
/* Common Text Elements */
.manual-doc p { margin-bottom: 1rem; }
.manual-doc ul { margin-bottom: 1.5rem; padding-left: 2rem; list-style-type: disc; }
.manual-doc li { margin-bottom: 0.5rem; }
.manual-doc b {
font-weight: bold;
font-family: var(--font-mono);
color: var(--text-accent);
}
/* The Pre Tag */
.manual-doc pre {
background: var(--bg-code);
color: var(--text-code);
padding: 1.25rem;
border: 1px solid var(--border-color);
border-radius: var(--radius);
font-family: var(--font-mono);
font-size: 0.9rem;
overflow-x: auto;
margin: 1.5rem 0;
white-space: pre;
}
.manual-indent {
margin-left: 2rem;
border-left: 3px solid var(--primary);
}
/* Option and Tag Lists (Vertical Layout) */
.manual-option-list, .manual-tag-list {
display: flex;
flex-direction: column;
gap: 1.5rem;
margin: 1.5rem 0;
}
.manual-option-entry, .manual-tag-entry {
display: block;
}
.manual-option-name, .manual-tag-name {
font-family: var(--font-mono);
color: var(--warning);
font-weight: 700;
display: block;
margin-bottom: 0.0rem;
/* word-break: break-all; - Removed to prevent awkward breaking of short words, allow natural flow */
}
.manual-option-description, .manual-tag-description {
color: var(--text-secondary);
margin-left: 2.5rem; /* Distinct indentation */
line-height: 1.6;
}
/* Compare Grid */
.compare-container { overflow-x: auto; position: relative; }
.compare-table { min-width: 900px; }
.compare-table th { text-align: center; }
.compare-table td { text-align: center; vertical-align: middle; }
.feature-cell { text-align: left !important; font-weight: 600; color: var(--text-primary); }
.cell-subtext { font-size: 0.8rem; color: var(--text-secondary); font-weight: 400; margin-top: 2px; }
.check { color: var(--success); }
.cross { color: var(--danger); }
.partial { color: var(--warning); }
.snapraid-col { background: rgba(59, 130, 246, 0.1); border-left: 1px solid var(--primary); border-right: 1px solid var(--primary); }
.snapraid-header { color: var(--primary) !important; font-size: 1.2rem; }
/* Info Button and Popover */
.info-wrapper {
display: inline-block;
vertical-align: middle;
margin-left: 5px;
}
.info-btn {
background: none;
border: none;
cursor: pointer;
padding: 0;
color: var(--primary);
display: flex;
align-items: center;
transition: color 0.2s;
}
.info-btn:hover {
color: var(--text-accent);
}
.global-popover {
display: none;
position: absolute;
width: 300px;
max-width: 90vw;
background: var(--bg-surface);
border: 1px solid var(--border-color);
padding: 1.25rem;
border-radius: var(--radius);
box-shadow: 0 10px 40px rgba(0,0,0,0.6);
z-index: 2000;
font-size: 0.9rem;
line-height: 1.6;
color: var(--text-secondary);
text-align: left;
}
.global-popover.active {
display: block;
animation: popIn 0.2s ease-out;
}
@keyframes popIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.popover-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 1999;
}
.popover-overlay.active {
display: block;
}
/* Support Cards */
.support-card { display: flex; gap: 1rem; align-items: start; }
.support-icon { min-width: 40px; height: 40px; fill: var(--text-secondary); }
.donation-card {
background: rgba(245, 158, 11, 0.1);
border: 1px solid var(--warning);
border-radius: 4px;
text-align: center;
color: var(--warning);
padding: 1rem;
margin-bottom: 1.5rem;
}
.donation-card p {
color: var(--warning);
}
.donation-card a {
font-weight: bold;
font-size: 1.1rem;
}
.warning-card {
background: rgba(245, 158, 11, 0.1);
border: 1px solid var(--warning);
color: var(--warning);
padding: 1rem;
border-radius: 4px;
margin-bottom: 1.5rem;
display: flex;
gap: 0.5rem;
align-items: start;
}
/* UI Gallery */
.ui-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 2rem; }
.ui-phone-gallery { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.ui-shot {
border: 1px solid var(--border-color);
border-radius: var(--radius);
overflow: hidden;
height: 280px;
background: #000;
position: relative;
cursor: pointer;
}
.ui-shot img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.3s ease;
}
.ui-shot:hover img {
transform: scale(1.25);
}
.ui-shot-caption {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: rgba(0,0,0,0.8);
color: white;
padding: 0.5rem;
font-size: 0.8rem;
text-align: center;
}
/* Preview Overlay */
#ui-preview-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: var(--overlay-bg);
backdrop-filter: blur(8px);
z-index: 2000;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none; /* Allows hover events to pass through to underlying elements */
transition: opacity 0.3s ease;
}
#ui-preview-overlay.active {
opacity: 1;
pointer-events: auto; /* Enable clicks when active */
cursor: zoom-out;
}
#ui-preview-img {
max-width: 90%;
max-height: 90%;
border-radius: var(--radius);
box-shadow: 0 0 50px rgba(0,0,0,0.5);
transform: scale(0.95);
transition: transform 0.3s ease;
}
#ui-preview-overlay.active #ui-preview-img {
transform: scale(1);
}