/* MelodyMe Sites' own styles, on top of app.css (Tailwind and daisyUI) and shell.css (shared with
   MelodyMe School and MelodyMe ID). */
.icon { display:inline-block; flex:0 0 auto; width:1em; height:1em; vertical-align:-.125em; }
[data-site][hidden] { display:none !important; }

/* Finding a site */
.find-bar { border-radius:999px; padding-inline:22px; }
.find-bar .icon { width:20px; height:20px; opacity:.6; }
.shell-workspace .find-bar input:focus-visible { outline:none; }

/* A site as a small browser window */
.tint-1 { --t1:#2f6f5e; --t2:#8fd3b0; } .tint-2 { --t1:#7a4b1e; --t2:#f0b45c; } .tint-3 { --t1:#314a8a; --t2:#8fb4ff; }
.tint-4 { --t1:#7c2740; --t2:#f08aa6; } .tint-5 { --t1:#4d3d85; --t2:#b9a3ff; } .tint-6 { --t1:#3d4a52; --t2:#9fb3bd; }
.thumb { display:block; height:150px; padding:22px; background:linear-gradient(135deg,var(--t1),var(--t2)); color:#fff; }
.thumb b { display:block; font-size:20px; letter-spacing:-.4px; margin-bottom:14px; text-shadow:0 1px 8px #0005; }
.thumb i { display:block; height:6px; border-radius:3px; background:#fff6; margin-top:8px; width:62%; }
.thumb i:nth-child(3) { width:44%; } .thumb i:nth-child(4) { width:52%; }
.mockup-browser:hover .thumb { filter:brightness(1.1); }
.mockup-browser .mockup-browser-toolbar .input::before { display:none; }
.mockup-browser .mockup-browser-toolbar .input { display:flex; align-items:center; gap:6px; padding-left:10px; }
.address { cursor:text; border-radius:5px; padding:1px 4px; margin-left:-4px; }
.address:hover { background:#fff2; }

/* Who can visit */
.vis { display:inline-flex; }
.vis-public { color:#4ade80; } .vis-staff { color:#8ab4f8; } .vis-restricted { color:#fdd663; }
.vis-button { display:inline-flex; align-items:center; gap:6px; padding:1px 8px; margin-right:-8px; border-radius:8px; font-size:13px; cursor:pointer; }
.vis-button:hover { background:var(--color-surface-selected); }
.vis-option { display:flex; align-items:center; gap:12px; }
.vis-option small { display:block; color:var(--shell-muted); font-size:13px; }

/* Language chips */
.lang { display:inline-flex; align-items:center; gap:4px; height:20px; padding:0 8px; border-radius:999px; font-size:12px; line-height:1; white-space:nowrap; }
.lang-live { background:var(--color-success); color:var(--color-success-content); font-weight:600; }
.lang-off { border:1px dashed #6b8274; color:var(--shell-muted); }
.lang-off .icon { width:12px; height:12px; }
.lang-more { cursor:pointer; list-style:none; border:1px solid var(--shell-border); color:var(--color-base-content); }
.lang-more::-webkit-details-marker { display:none; }
.lang-more:hover { background:var(--color-surface-selected); }

/* A published site's page */
.site-hero { padding:72px 24px; text-align:center; background:linear-gradient(135deg,var(--t1),var(--t2)); color:#fff; }
.site-hero h1 { font-size:44px; text-shadow:0 2px 14px #0006; }
.site-hero p { margin-top:10px; font-size:18px; opacity:.92; }
.site-body { max-width:760px; margin:0 auto; padding:36px 24px 80px; display:grid; gap:20px; }
.site-banner { padding:8px 16px; text-align:center; font-size:14px; font-weight:600; background:var(--color-warning); color:var(--color-warning-content); }


/* A plain button sits on the page background as often as on a panel, so give it a body of its own. */
.shell-workspace .btn:not(.btn-primary, .btn-error, .btn-ghost, .btn-disabled, :disabled) { background-color:#22382a; border-color:#536b5b; }
.shell-workspace .btn:not(.btn-primary, .btn-error, .btn-ghost, .btn-disabled, :disabled):hover { background-color:var(--color-surface-selected); }
