/* ==========================================================================
   public-shell.css — the light page shell used by the signed-out views of
   about.php and video_tutorials.php (and by the decorative public footer).
   Shared so the two pages cannot drift apart.
   ========================================================================== */

.public-body {
    background: #f0f2f5;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    margin: 0;
}

.public-topbar {
    background: #1a1a2e;
    color: #fff;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.public-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 17px;
}
.public-brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    background: #fff;
    border-radius: 9px;
    padding: 2px;
}
.public-brand i { font-size: 20px; color: #7ee8c0; }

.public-actions { display: flex; gap: 9px; flex-wrap: wrap; }

.public-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 9px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
    white-space: nowrap;
}
.public-btn:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

.public-btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
}
.public-btn-primary:hover { background: linear-gradient(135deg, #5a6fe0, #6a4298); }

.public-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 18px 46px;
}

.public-footer {
    text-align: center;
    font-size: 12.5px;
    color: #8b92a4;
    padding: 22px 18px 30px;
}
.public-footer a { color: #667eea; text-decoration: none; font-weight: 600; }

@media (max-width: 560px) {
    .public-topbar { padding: 10px 14px; }
    .public-brand { font-size: 15px; }
    .public-btn { padding: 7px 12px; font-size: 12.2px; }
    .public-wrap { padding: 18px 12px 36px; }
}

/* ==========================================================================
   Copy-to-clipboard toast (used by assets/js/copy-to-clipboard.js)
   ========================================================================== */
.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translate(-50%, 20px);
    background: #1a1a2e;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    padding: 11px 20px;
    border-radius: 11px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    max-width: calc(100vw - 32px);
    text-align: center;
    word-break: break-word;
}
.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }

