/*
Theme Name:  Resume Studio
Theme URI:   https://github.com/your-org/resume-studio
Author:      Resume Studio
Description: Companion theme for the Resume Studio plugin. Renders your published resume template directly as the homepage — no iframes. Designed for personal portfolio domains like mrresume.com.
Version:     2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: resume-studio-theme
Tags:        one-page, portfolio, resume, full-width-template, custom-colors
*/

/* ── Base styles ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f8fafc; color: #1e293b; }
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }
.admin-bar html { margin-top: 0 !important; }

/* ── Admin edit bar (only visible to logged-in admins) ── */
.rs-admin-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    background: rgba(15,23,42,.92); backdrop-filter: blur(8px);
    display: flex; align-items: center; gap: 10px; padding: 8px 16px;
    font-size: 12px; color: #94a3b8;
}
.rs-admin-bar a {
    color: #818cf8; text-decoration: none; padding: 4px 10px;
    border: 1px solid rgba(129,140,248,.3); border-radius: 5px;
    font-size: 11px; transition: all .15s;
}
.rs-admin-bar a:hover { background: rgba(129,140,248,.15); color: #a5b4fc; }

/* ── Full-page resume wrapper ── */
.rs-resume-page {
    min-height: 100vh;
    position: relative;
}
.rs-resume-page.has-admin-bar { padding-top: 40px; }

/* ── Setup prompt (shown when plugin not configured) ── */
.rs-setup {
    min-height: 100vh; display: flex; align-items: center;
    justify-content: center; padding: 40px 20px;
    background: linear-gradient(135deg, #f0f4ff, #faf5ff);
}
.rs-setup-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
    padding: 48px 40px; max-width: 480px; text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.rs-setup-icon { font-size: 48px; margin-bottom: 16px; }
.rs-setup-card h1 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: #1e293b; }
.rs-setup-card p { font-size: 14px; color: #64748b; margin-bottom: 24px; line-height: 1.7; }
.rs-btn {
    display: inline-block; padding: 10px 22px; background: #4f46e5;
    color: #fff; border-radius: 7px; text-decoration: none;
    font-size: 13px; font-weight: 600; margin: 4px;
    transition: background .15s;
}
.rs-btn:hover { background: #4338ca; }
.rs-btn-secondary { background: transparent; border: 1px solid #e2e8f0; color: #64748b; }
.rs-btn-secondary:hover { background: #f8fafc; border-color: #4f46e5; color: #4f46e5; }

/* ── Pages (non-front-page) ── */
.rs-page-wrap { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.rs-page-title { font-size: 28px; font-weight: 700; margin-bottom: 24px; }
.rs-content { font-size: 15px; line-height: 1.8; color: #475569; }
.rs-content h2, .rs-content h3 { color: #1e293b; margin: 24px 0 12px; }
.rs-content a { color: #4f46e5; }
.rs-content ul, .rs-content ol { padding-left: 24px; margin: 12px 0; }
