/*
Theme Name: Ads Manager Theme
Theme URI: https://example.com/ads-manager
Author: Ads Manager Team
Author URI: https://example.com
Description: Theme for Ads Manager plugin - Contains React frontend for managing Facebook/Meta Ads
Version: 1.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: ads-manager-theme
Tags: one-column, custom-menu, featured-images, custom-logo

Ads Manager Theme, (C) 2024 Ads Manager Team
Ads Manager Theme is distributed under the terms of the GNU GPL.
*/

/* Reset and base styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --adsm-primary: #000;
    --adsm-secondary: #666;
    --adsm-bg: #f5f5f5;
    --adsm-white: #fff;
    --adsm-border: #000;
    --adsm-success: #22c55e;
    --adsm-warning: #eab308;
    --adsm-danger: #ef4444;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--adsm-bg);
    color: var(--adsm-primary);
    line-height: 1.5;
}

body.ads-manager-page {
    background: var(--adsm-bg);
}

/* React app container */
#root {
    min-height: 100vh;
}

/* Brutalist style overrides */
.ads-manager-page .site-header,
.ads-manager-page .site-footer {
    display: none;
}

/* Loading state */
.adsm-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-size: 1.25rem;
}

/* Hide admin bar on ads manager pages */
body.ads-manager-page.admin-bar #wpadminbar {
    display: none;
}

body.ads-manager-page.admin-bar {
    margin-top: 0 !important;
}
