/*
Theme Name:  GGWP Creators
Theme URI:   https://creators.ggwp.live
Description: Dark gaming-aesthetic theme for the GGWP Creator Support Portal.
Version:     1.0.0
Author:      GGWP
Author URI:  https://ggwp.live
Text Domain: ggwp-creators
*/

/* ============================================================
   CSS Custom Properties - loaded globally
   ============================================================ */
:root {
  --bg:        #08080f;
  --bg-2:      #0d0d1a;
  --bg-card:   #111120;
  --border:    #1e1e35;
  --border-2:  #252540;
  --accent:    #7c3aed;
  --accent-2:  #a855f7;
  --cyan:      #06b6d4;
  --cyan-2:    #22d3ee;
  --green:     #10b981;
  --amber:     #f59e0b;
  --red:       #ef4444;
  --text:      #e2e8f0;
  --text-2:    #94a3b8;
  --text-3:    #64748b;
}

/* ---- Base reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.wp-logged-in-body { padding-top: 0 !important; }
a { color: var(--accent-2); }
a:hover { color: var(--cyan-2); }
img { max-width: 100%; height: auto; }

/* ============================================================
   LOGIN PAGE
   ============================================================ */
body.login {
    background: #08080f !important;
    background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124,58,237,0.18) 0%, transparent 60%) !important;
}

/* Logo */
body.login #login h1 a {
    background-image: none !important;
    width: auto !important;
    height: auto !important;
    text-indent: 0 !important;
    overflow: visible !important;
    font-size: 0 !important;
    display: block;
}
body.login #login h1 a::before {
    content: 'GG';
    color: #a855f7;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}
body.login #login h1 a::after {
    content: 'WP Creators';
    color: #22d3ee;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* Login form card */
body.login #loginform,
body.login #lostpasswordform {
    background: #111120 !important;
    border: 1px solid #1e1e35 !important;
    border-radius: 14px !important;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6) !important;
    padding: 28px !important;
}

/* Labels */
body.login #loginform label,
body.login #lostpasswordform label {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Inputs */
body.login #loginform input[type="text"],
body.login #loginform input[type="password"],
body.login #lostpasswordform input[type="text"] {
    background: #0d0d1a !important;
    border: 1px solid #252540 !important;
    border-radius: 8px !important;
    color: #e2e8f0 !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    box-shadow: none !important;
    transition: border-color 0.15s !important;
}
body.login #loginform input[type="text"]:focus,
body.login #loginform input[type="password"]:focus,
body.login #lostpasswordform input[type="text"]:focus {
    border-color: #7c3aed !important;
    box-shadow: 0 0 0 2px rgba(124,58,237,0.2) !important;
    outline: none !important;
}

/* Remember me */
body.login #rememberme + label { color: #64748b !important; font-size: 13px !important; }
body.login #rememberme { accent-color: #7c3aed; }

/* Submit button */
body.login .button-primary,
body.login input[type="submit"] {
    background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    /* padding: 11px 20px !important; */
    text-shadow: none !important;
    box-shadow: 0 4px 16px rgba(124,58,237,0.35) !important;
    transition: all 0.15s !important;
    /* width: 100% !important; */
}
body.login .button-primary:hover,
body.login input[type="submit"]:hover {
    background: linear-gradient(135deg, #6d28d9, #9333ea) !important;
    box-shadow: 0 4px 20px rgba(124,58,237,0.5) !important;
    transform: translateY(-1px) !important;
}

/* Nav links */
body.login #nav, body.login #backtoblog { text-align: center; }
body.login #nav a,
body.login #backtoblog a {
    color: #64748b !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: color 0.15s !important;
}
body.login #nav a:hover,
body.login #backtoblog a:hover { color: #a855f7 !important; }

/* Error / message boxes */
body.login #login_error {
    background: rgba(239,68,68,0.1) !important;
    border: 1px solid rgba(239,68,68,0.3) !important;
    border-left: 4px solid #ef4444 !important;
    border-radius: 8px !important;
    color: #fca5a5 !important;
    box-shadow: none !important;
}
body.login .message {
    background: rgba(16,185,129,0.1) !important;
    border: 1px solid rgba(16,185,129,0.3) !important;
    border-left: 4px solid #10b981 !important;
    border-radius: 8px !important;
    color: #6ee7b7 !important;
}
