/*
Theme Name: ANS Portal Theme
Theme URI: https://archns.com
Author: Arch Network Services
Description: Clean, branded theme for the ANS client portal. Matches archns.com design.
Version: 1.0.0
Text Domain: archns-portal
*/

/* ── GLOBAL RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; background: #fafaf9; color: #1c1917; line-height: 1.6; }
a { color: #c0392b; }
img { max-width: 100%; height: auto; }

/* ── NAV ── */
.archns-nav { background: rgba(28,25,23,0.97); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.07); }
.archns-nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.archns-nav-logo { display: flex; align-items: center; text-decoration: none; }
.archns-nav-logo img { height: 44px; width: auto; object-fit: contain; }
.archns-nav-right { display: flex; align-items: center; gap: 1rem; }
.archns-nav-tagline { font-size: 12px; color: #a8a29e; text-transform: uppercase; letter-spacing: 0.08em; }
.archns-nav-user { font-size: 13px; color: #a8a29e; }
.archns-nav-btn { background: #c0392b; color: white; padding: 8px 18px; border-radius: 7px; font-size: 13px; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.archns-nav-btn:hover { background: #e05c4b; color: white; }

/* ── PAGE WRAP ── */
.archns-page-wrap { min-height: calc(100vh - 68px - 60px); }

/* ── FOOTER ── */
.archns-footer { background: #141211; color: #78716c; padding: 1.25rem 2rem; }
.archns-footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 12px; }
.archns-footer a { color: #a8a29e; text-decoration: none; }
.archns-footer a:hover { color: white; }

/* ── WP LOGIN PAGE OVERRIDE ── */
body.login { background: #1c1917 !important; }
body.login::before { content: ''; position: fixed; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 48px 48px; }
body.login #login { position: relative; z-index: 2; }
body.login h1 a { background-image: url('https://www.archns.com/files/2025/08/archnscom_877040389.webp') !important; background-size: contain !important; background-repeat: no-repeat !important; background-position: center !important; width: 200px !important; height: 60px !important; }
body.login .login-form-wp, body.login #loginform { border-radius: 14px !important; border: 1px solid #e7e5e4 !important; box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important; }
body.login input[type=submit] { background: #c0392b !important; border-color: #9b2335 !important; }
body.login input[type=submit]:hover { background: #e05c4b !important; }
body.login #backtoblog, body.login #nav { display: none; }
