/*
Theme Name: AgencyPlus
Theme URI: https://myagencyplus.com
Author: Wallace Assis
Description: Minimal custom theme for the AgencyPlus CRM — zero bloat, no block editor interference, full-screen app ready.
Version: 1.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: Private
Text Domain: agencyplus
*/

/* ── Clean reset — we own this now, no more fighting Twenty Twenty-One ── */
*, *::before, *::after {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #F9FAFB;
}

/* When the CRM app is on-screen, lock the viewport */
body.agencyplus-fullscreen {
    overflow: hidden;
    padding: 8px;
    background: #F9FAFB;
}
body.agencyplus-fullscreen > * {
    margin: 0;
    padding: 0;
}
body.agencyplus-fullscreen #agencycrm-app {
    border-radius: 10px;
    overflow: hidden;
    height: calc(100vh - 16px);
}

/* Ensure nothing inside the CRM app gets max-width capped */
#agencycrm-app header *,
#agencycrm-app main *,
#agencycrm-app footer * {
    max-width: none;
}

/* ── WP Login page branding ────────────────────────────────── */
.login h1 a {
    background-image: url('logo.svg') !important;
    background-size: 80px 40px !important;
    width: 80px !important;
    height: 40px !important;
    background-repeat: no-repeat;
    margin-bottom: 16px;
}
.login #backtoblog,
.login #nav {
    text-align: center;
}
