/*
Theme Name:   Project Tracker Pro Theme
Theme URI:    https://yoursite.com/project-tracker
Author:       Project Tracker Pro
Author URI:   https://yoursite.com
Description:  Companion theme for Project Tracker Pro plugin. Provides a clean, full-viewport canvas for the React dashboard — no headers, footers, or sidebars to interfere. Install this theme alongside the Project Tracker Pro plugin.
Version:      1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  pt-theme
Tags:         custom-background, custom-logo, full-width-template
*/

/* ── Base Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    background: #0a0b0f;
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Hide all default WP chrome */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

/* Remove WordPress default page padding/margins */
.wp-site-blocks,
.site,
.site-content,
.site-main,
main,
article,
.entry-content,
.page-content,
.post-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

/* Full viewport for the React root */
#pt-dashboard-root {
    width: 100%;
    min-height: 100vh;
    display: block;
}

/* Suppress default WP page title on dashboard pages */
.entry-title,
.page-title,
h1.entry-title {
    display: none !important;
}

/* Gutenberg block padding removal */
.wp-block-post-content,
.has-global-padding,
.alignfull {
    padding: 0 !important;
    margin: 0 !important;
}

/* WordPress admin bar compensation — none needed in this theme */
body.admin-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ── Auth pages (login/register) — center on screen ─────────────────────────── */
body.page-template-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #0a0b0f;
    background-image: radial-gradient(ellipse 80% 50% at 50% -20%, #6366f130, transparent);
}
