/*
Theme Name: Creators Pro
Theme URI: https://creatorspro.devteam.host
Author: DevTeamSpace
Author URI: https://github.com/DevTeamSpace
Description: Minimal shell for the Fluent portals (Support, Community, Cart, Booking, Affiliate) on creatorspro.devteam.host. Pages render their own content; the theme only supplies brand chrome.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: creatorspro
*/

/* The shell owns its chrome only; plugin apps keep their own controls and typography. */
body.cp-page {
  margin: 0;
  min-height: 100vh;
  background: #f3f6fa;
  color: #172438;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cp-header,
.cp-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(20px, calc((100% - 1200px) / 2));
}

.cp-header {
  background: #0a1628;
  color: #fff;
}

.cp-brand img {
  display: block;
  max-width: 100%;
  height: auto;
}

.cp-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.cp-nav a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

.cp-nav a:hover,
.cp-nav a:focus-visible {
  color: #d6a23a;
  text-decoration: underline;
}

.cp-nav .cp-account {
  padding: 6px 14px;
  border: 1px solid #d6a23a;
  border-radius: 999px;
  color: #d6a23a;
}

.cp-main {
  max-width: 1200px;
  min-height: 60vh;
  margin: 0 auto;
  padding: 40px 20px;
}

.cp-title {
  margin: 0 0 28px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

/* FluentCart's full-width checkout includes horizontal padding. */
.cp-content .fluent-cart-checkout-page {
  box-sizing: border-box;
}

.cp-footer {
  border-top: 1px solid #ced8e5;
  font-size: 0.875rem;
}

.cp-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100000;
  padding: 12px 20px;
  background: #fff;
  color: #172438;
  transform: translateY(-200%);
}

.cp-skip:focus {
  transform: translateY(0);
}
