/* =========================================================
DOCTOR OF PSYCHOLOGICALS
LESSON 1 — PROFESSIONAL WEBSITE STYLESHEET
========================================================= */


/* =========================================================
1. DESIGN SYSTEM
========================================================= */

:root {

--background: #132446;
--background-secondary: #18243a;
--background-tertiary: #1e2d47;

--surface: #121923;
--surface-light: #18212c;
--surface-hover: #1c2835;

--border: rgba(255, 255, 255, 0.08);
--border-light: rgba(255, 255, 255, 0.14);

--text: #f5f7fa;
--text-secondary: #b7c0cc;
--text-muted: #7e8997;

--accent: #d4af37;
--accent-light: #f0d776;
--accent-dark: #a9861f;

--success: #35c98a;
--danger: #e45b68;
--warning: #e5b84f;
--info: #4c9fff;

--white: #ffffff;
--black: #000000;

--container: 1200px;

--radius-small: 8px;
--radius-medium: 14px;
--radius-large: 22px;
--radius-xl: 30px;

--shadow-small:
0 8px 25px rgba(0, 0, 0, 0.18);

--shadow-medium:
0 18px 50px rgba(0, 0, 0, 0.25);

--shadow-large:
0 30px 80px rgba(0, 0, 0, 0.38);

--transition:
0.25s ease;

}


/* =========================================================
2. GLOBAL RESET
========================================================= */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
scroll-padding-top: 100px;
}

body {

font-family:
Inter,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
Helvetica,
Arial,
sans-serif;

background: var(--background);

color: var(--text);

line-height: 1.7;

font-size: 16px;

overflow-x: hidden;

}

::selection {

background: var(--accent);
color: #111;

}


/* =========================================================
3. TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

color: var(--text);

line-height: 1.2;

font-weight: 700;

}

h1 {

font-size:
clamp(2.8rem, 7vw, 5.8rem);

letter-spacing:
-0.045em;

}

h2 {

font-size:
clamp(2rem, 4vw, 3.4rem);

letter-spacing:
-0.03em;

}

h3 {

font-size:
clamp(1.2rem, 2vw, 1.55rem);

}

h4 {

font-size:
1.1rem;

}

p {

color:
var(--text-secondary);

}

strong {

color:
var(--text);

font-weight:
700;

}

a {

color:
inherit;

text-decoration:
none;

transition:
var(--transition);

}

a:hover {

color:
var(--accent);

}

img {

display:
block;

max-width:
100%;

}

video {

display:
block;

max-width:
100%;

}


/* =========================================================
4. GLOBAL SECTION STRUCTURE
========================================================= */

main > section {

position:
relative;

width:
100%;

padding:
110px 5%;

}

main > section > header {

max-width:
var(--container);

margin:
0 auto 55px;

}

main > section > header p:first-child {

margin-bottom:
12px;

color:
var(--accent);

font-size:
0.76rem;

font-weight:
800;

letter-spacing:
0.17em;

text-transform:
uppercase;

}

main > section > header h2 {

margin-bottom:
18px;

}

main > section > header > p:last-child {

max-width:
760px;

font-size:
1.02rem;

}


/* =========================================================
5. HEADER
========================================================= */

body > header {

position:
sticky;

top:
0;

z-index:
1000;

width:
100%;

min-height:
78px;

display:
flex;

align-items:
center;

justify-content:
space-between;

gap:
25px;

padding:
15px 5%;

background:
rgba(7, 9, 13, 0.90);

border-bottom:
1px solid var(--border);

backdrop-filter:
blur(18px);

-webkit-backdrop-filter:
blur(18px);

}


/* =========================================================
6. LOGO
========================================================= */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    color: #d4af37;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand-tagline {
    color: #ffffff;
    font-size: 10px;
    margin-top: 3px;
    letter-spacing: 1px;
}


.logo a {

display:
inline-flex;

align-items:
center;

gap:
10px;

color:
var(--text);

font-size:
1.08rem;

font-weight:
800;

letter-spacing:
-0.02em;

}




/* =========================================================
7. MAIN NAVIGATION
========================================================= */

body > header nav ul {

display:
flex;

align-items:
center;

gap:
4px;

list-style:
none;

}

body > header nav a {

display:
block;

padding:
8px 10px;

color:
var(--text-secondary);

font-size:
0.80rem;

font-weight:
600;

border-radius:
var(--radius-small);

}

body > header nav a:hover {

color:
var(--text);

background:
rgba(255, 255, 255, 0.05);

}


/* =========================================================
8. HEADER ACTIONS
========================================================= */

.header-actions {

display:
flex;

align-items:
center;

gap:
9px;

flex-shrink:
0;

}

.header-actions a {

display:
inline-flex;

align-items:
center;

justify-content:
center;

min-height:
42px;

padding:
0 15px;

border:
1px solid var(--border-light);

border-radius:
8px;

color:
var(--text);

font-size:
0.84rem;

font-weight:
700;

}

.header-actions a:last-child {

background:
var(--accent);

color:
#111;

border-color:
var(--accent);

}

.header-actions a:last-child:hover {

background:
var(--accent-light);

color:
#111;

transform:
translateY(-2px);

}


/* =========================================================
9. HERO
========================================================= */

#home {

min-height:
calc(100vh - 78px);

display:
grid;

grid-template-columns:
minmax(0, 1.15fr)
minmax(320px, 0.85fr);

align-items:
center;

gap:
80px;

padding:
100px 8%;

background:

radial-gradient(
circle at 15% 30%,
rgba(212, 175, 55, 0.12),
transparent 32%
),

radial-gradient(
circle at 90% 70%,
rgba(76, 159, 255, 0.07),
transparent 30%
),

var(--background);

}

.hero-content {

max-width:
760px;

}

.hero-content > p:first-child {

display:
inline-flex;

align-items:
center;

gap:
10px;

margin-bottom:
24px;

color:
var(--accent);

font-size:
0.76rem;

font-weight:
800;

letter-spacing:
0.2em;

}


.hero-content h1 {

margin-bottom:
28px;

}

.hero-content > p:not(:first-child) {

max-width:
680px;

margin-bottom:
35px;

font-size:
1.08rem;

}

.hero-content > a {

display:
inline-flex;

align-items:
center;

justify-content:
center;

min-height:
52px;

margin:
0 10px 10px 0;

padding:
0 24px;

border:
1px solid var(--border-light);

border-radius:
8px;

font-weight:
700;

}

.hero-content > a:first-of-type {

background:
var(--accent);

color:
#111;

border-color:
var(--accent);

}

.hero-content > a:first-of-type:hover {

background:
var(--accent-light);

color:
#111;

transform:
translateY(-2px);

}

.hero-content > a:last-of-type:hover {

background:
rgba(255,255,255,0.06);

}

.hero-media {

position:
relative;

}

.hero-media::before {

content:
"";

position:
absolute;

inset:
-20px;

border:
1px solid rgba(212, 175, 55, 0.18);

border-radius:
var(--radius-xl);

}

.hero-media img {

position:
relative;

z-index:
1;

width:
100%;

min-height:
450px;

object-fit:
cover;

border:
1px solid var(--border-light);

border-radius:
var(--radius-large);

box-shadow:
var(--shadow-large);

}


/* =========================================================
10. INTRODUCTION
========================================================= */

#introduction {

background:
var(--background-secondary);

}

#introduction > header,
#introduction > div {

max-width:
900px;

margin-left:
auto;

margin-right:
auto;

}

#introduction > div {

display:
grid;

grid-template-columns:
repeat(2, 1fr);

gap:
25px;

}

#introduction > div p {

padding:
30px;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-medium);

}


/* =========================================================
11. UNIVERSAL ARTICLE CARDS
========================================================= */

#mentorship > article,
#trading-edge > article,
#risk-management > article,
#market-updates > article,
#community > article,
#live-classes > article,
#about > article,
#discussion-board > article,
#rules > article,
#privacy > article,
#terms > article,
#refund-policy > article {

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-medium);

transition:
var(--transition);

}

#mentorship > article:hover,
#trading-edge > article:hover,
#risk-management > article:hover,
#market-updates > article:hover,
#community > article:hover,
#live-classes > article:hover,
#about > article:hover {

border-color:
rgba(212, 175, 55, 0.28);

transform:
translateY(-3px);

box-shadow:
var(--shadow-small);

}


/* =========================================================
12. MENTORSHIP
========================================================= */

#mentorship {

background:
var(--background);

}

#mentorship > article {

max-width:
var(--container);

margin:
0 auto 20px;

padding:
32px;

}

#mentorship article h3 {

margin-bottom:
12px;

}

#mentorship article p {

max-width:
850px;

}

#mentorship ul {

display:
grid;

grid-template-columns:
repeat(2, 1fr);

gap:
10px 18px;

padding:
0;

list-style-position:
inside;

}

#mentorship ul li {

margin:
0;

padding:
13px 16px;

background:
rgba(255,255,255,0.025);

border:
1px solid var(--border);

border-radius:
8px;

}

#mentorship ol {

counter-reset:
process;

padding:
0;

list-style:
none;

}

#mentorship ol li {

counter-increment:
process;

display:
flex;

align-items:
center;

gap:
15px;

margin-bottom:
10px;

padding:
14px;

background:
rgba(255,255,255,0.025);

border-radius:
8px;

}

#mentorship ol li::before {

content:
counter(process, decimal-leading-zero);

display:
flex;

align-items:
center;

justify-content:
center;

width:
38px;

height:
38px;

flex-shrink:
0;

border:
1px solid rgba(212,175,55,0.35);

border-radius:
50%;

color:
var(--accent);

font-size:
0.78rem;

font-weight:
800;

}

#assessment {

border-color:
rgba(212,175,55,0.30) !important;

}


/* =========================================================
13. TRADING EDGE
========================================================= */

#trading-edge {

background:
var(--background-secondary);

}

#trading-edge > article {

max-width:
var(--container);

margin:
0 auto 20px;

padding:
32px;

}

#trading-edge article h3 {

margin-bottom:
12px;

}

#trading-edge article section {

display:
inline-block;

vertical-align:
top;

width:
calc(33.333% - 15px);

margin:
25px 15px 0 0;

padding:
25px;

background:
var(--background-tertiary);

border:
1px solid var(--border);

border-radius:
var(--radius-medium);

}

#trading-edge article section:last-child {

margin-right:
0;

}

#trading-edge article section h4 {

margin-bottom:
10px;

color:
var(--accent);

}

#edge-pricing {

border-color:
rgba(212,175,55,0.28) !important;

}


/* =========================================================
14. RISK MANAGEMENT
========================================================= */

#risk-management {

background:
var(--background-secondary);

}

#risk-management > article {

display:
inline-block;

vertical-align:
top;

width:
calc(50% - 13px);

margin:
0 20px 20px 0;

padding:
30px;

}

#risk-management > article:nth-of-type(even) {

margin-right:
0;

}

#risk-management a[download] {

background:
var(--accent);

color:
#111;

border-color:
var(--accent);

}


/* =========================================================
15. MARKET UPDATES
========================================================= */

#market-updates {

background:
var(--background);

}

#market-updates > article {

display:
inline-block;

vertical-align:
top;

width:
calc(50% - 13px);

margin:
0 20px 20px 0;

padding:
30px;

}

#market-updates > article:nth-of-type(even) {

margin-right:
0;

}

#market-updates article time {

display:
block;

margin:
8px 0 12px;

color:
var(--accent);

font-size:
0.85rem;

font-weight:
700;

}


/* =========================================================
16. EDUCATION
========================================================= */

#education {

background:
var(--background);

}

#education > article {

display:
inline-block;

vertical-align:
top;

width:
calc(50% - 13px);

min-height:
220px;

margin:
0 20px 20px 0;

padding:
30px;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-medium);

transition:
var(--transition);

}

#education > article:nth-of-type(3n) {

margin-right:
0;

}

#education > article:hover {

transform:
translateY(-6px);

border-color:
rgba(212,175,55,0.35);

box-shadow:
var(--shadow-medium);

}

#education article h3 {

margin-bottom:
15px;

}


/* =========================================================
17. VIDEO LIBRARY
========================================================= */

#videos {

background:
var(--background-secondary);

}

#videos > article {
display: inline-block;

vertical-align:
top;

width:
calc(50% - 13px);
box-sizing: border-box;

margin:
0 20px 20px 0;

padding:
20px;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-medium);

overflow:
hidden;

}

#videos > article:nth-of-type(3n) {

margin-right:
0;

}

#videos article h3 {

margin:
5px 0 18px;

}

#videos video {

width:
100%;

aspect-ratio:
16 / 9;

object-fit:
cover;

border-radius:
10px;

background:
#000;

}


/* =========================================================
COLOR HIERARCHY
Primary:   #132446
Secondary: #18243a
Tertiary:  #1e2d47
Borders:   #52627b
Accent:    #B7A06A
========================================================= */

/* =========================================================
SECTION 18 — ARTICLES
========================================================= */

#articles {
background:
var(--background-secondary);

}

#articles > article {
display: inline-block;
vertical-align: top;
width: calc(50% - 13px);
margin: 0 20px 20px 0;
padding: 32px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-medium);
box-sizing: border-box;
transition: border-color 0.25s ease;
}

#articles > article:hover {
border-color: #8F7948;
}

#articles > article:last-child {
margin-right: 0;
}

/* =========================================================
SECTION 10 — TRADING COMMUNITY
========================================================= */

#community {
padding: 60px 20px;
background: var(--background-secondary);
}

#community .section-header {
text-align: center;
max-width: 800px;
margin: 0 auto 35px;
}

#community .section-eyebrow {
color: #B7A06A;
font-size: 13px;
font-weight: bold;
letter-spacing: 2px;
}

#community .community-feature-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
max-width: 1000px;
margin: 0 auto;
}

#community .community-feature-card {
background: #18243a;
border: 1px solid #52627b;
border-radius: 12px;
padding: 28px;
display: flex;
flex-direction: column;
align-items: flex-start;
box-sizing: border-box;
transition: border-color 0.25s ease, transform 0.25s ease;
}

#community .community-feature-card:hover {
border-color: #8F7948;
transform: translateY(-3px);
}

#community .community-feature-card h3 {
color: #D0BE91;
margin: 0 0 12px;
font-size: 21px;
}

#community .community-feature-card p {
color: #e0e5ed;
line-height: 1.7;
margin-bottom: 22px;
}

#community .community-feature-button {
margin-top: auto;
background: #B7A06A;
color: #132446;
border: 1px solid #B7A06A;
border-radius: 6px;
padding: 12px 18px;
font-weight: bold;
cursor: pointer;
transition: background-color 0.25s ease;
}

#community .community-feature-button:hover {
background: #D0BE91;
border-color: #D0BE91;
}

/* =========================================================
SECTION 11 — COMMUNITY DISCUSSION BOARD
========================================================= */

#discussion-board {
padding: 40px 20px 70px;
background: var(--background-secondary);
}

#discussion-board .section-header {
text-align: center;
max-width: 800px;
margin: 0 auto 30px;
}

#discussion-board .section-eyebrow {
color: #B7A06A;
font-size: 13px;
font-weight: bold;
letter-spacing: 2px;
}

/* Main discussion container — secondary */
#discussion-board .community-main-card {
max-width: 900px;
margin: 0 auto;
padding: 28px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-medium);
box-sizing: border-box;
}

/* Discussion navigation */
#discussion-board .community-navigation {
display: flex;
align-items: center;
justify-content: space-between;
gap: 15px;
padding-bottom: 22px;
margin-bottom: 25px;
border-bottom: 1px solid #52627b;
}

#discussion-board #communityFeatureIndicator {
color: #D0BE91;
font-size: 14px;
font-weight: bold;
text-align: center;
}

#discussion-board .community-nav-button {
background: transparent;
color: #D0BE91;
border: 1px solid var(--accent);
border-radius: 6px;
padding: 10px 15px;
cursor: pointer;
transition: background-color 0.25s ease, border-color 0.25s ease;
}

#discussion-board .community-nav-button:hover:not(:disabled) {
background: var(--background);

}

#discussion-board .community-nav-button:disabled {
opacity: 0.4;
cursor: not-allowed;
}

/* Feature panel */
#discussion-board .community-feature-panel h3 {
color: #D0BE91;
font-size: 23px;
margin-bottom: 12px;
}

#discussion-board .community-feature-panel > p {
color: #e0e5ed;
line-height: 1.7;
}

/* Individual discussion posts — tertiary */
#discussion-board .community-post-list {
margin: 24px 0;
}

#discussion-board .community-post-list > div {
background: var(--background-secondary);
border: 1px solid var(--border);
border-radius: 8px;
padding: 18px;
margin-bottom: 15px;
overflow-wrap: anywhere;
box-sizing: border-box;
transition: border-color 0.25s ease;
}

#discussion-board .community-post-list > div:hover {
border-color: #8F7948;
}

#discussion-board .community-post-list h4 {
color: #D0BE91;
margin-top: 0;
}

#discussion-board .community-post-list p {
color: #e0e5ed;
line-height: 1.7;
}

/* Community form — tertiary */
#discussion-board .community-form-container {
background: var(--background-secondary);
border: 1px solid var(--border);
border-radius: 8px;
padding: 22px;
margin-top: 25px;
box-sizing: border-box;
}

#discussion-board .community-form-container h4 {
color: #D0BE91;
font-size: 18px;
}

#discussion-board .community-form-container label {
display: block;
color: #e0e5ed;
margin: 18px 0 8px;
}

#discussion-board .community-form-container input,
#discussion-board .community-form-container textarea {
width: 100%;
box-sizing: border-box;
background: var(--background-secondary);
color: var(--text);
border: 1px solid var(--border);
border-radius: 6px;
padding: 12px;
font: inherit;
}

#discussion-board .community-form-container input:focus,
#discussion-board .community-form-container textarea:focus {
outline: 2px solid var(--accent);
outline-offset: 1px;
border-color: var(--accent);
}

#discussion-board .community-form-container textarea {
resize: vertical;
}

#discussion-board .community-submit-button {
background: var(--accent);
color: var(--text);
border: 1px solid var(--accent);
border-radius: 6px;
padding: 12px 20px;
margin-top: 20px;
font-weight: bold;
cursor: pointer;
transition: background-color 0.25s ease;
}

#discussion-board .community-submit-button:hover {
background: #D0BE91;
border-color: #D0BE91;
}

/* Profile content — tertiary */
#discussion-board .community-profile-content {
background: var(--background-secondary);
border: 1px solid var(--border);
border-radius: 8px;
padding: 20px;
color: var(--text);
box-sizing: border-box;
}

/* =========================================================
COMMUNITY GUIDELINES AND POLICIES
========================================================= */

#rules,
#privacy,
#terms,
#refund-policy,
#risk-disclaimer {
max-width: 900px;
margin: 25px auto;
padding: 22px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-large);
box-sizing: border-box;
}

/* Policy headers */
#rules > header,
#privacy > header,
#terms > header,
#refund-policy > header,
#risk-disclaimer > header {
text-align: center;
margin-bottom: 22px;
padding-bottom: 18px;
border-bottom: 1px solid #52627b;
}

#rules > header h2,
#privacy > header h2,
#terms > header h2,
#refund-policy > header h2,
#risk-disclaimer > header h2 {
color: #D0BE91;
font-size: 25px;
line-height: 1.4;
margin: 0;
}

/* Individual policy articles — tertiary */
#rules > article,
#privacy > article,
#terms > article,
#refund-policy > article,
#risk-disclaimer > article {
background: var(--background-secondary);
border: 1px solid var(--border);
border-radius: var(--radius-medium);
padding: 22px;
margin-bottom: 18px;
box-sizing: border-box;
transition: border-color 0.25s ease;
}

#rules > article:last-child,
#privacy > article:last-child,
#terms > article:last-child,
#refund-policy > article:last-child,
#risk-disclaimer > article:last-child {
margin-bottom: 0;
}

#rules > article:hover,
#privacy > article:hover,
#terms > article:hover,
#refund-policy > article:hover,
#risk-disclaimer > article:hover {
border-color: #8F7948;
}

/* Policy subheadings */
#rules > article h3,
#privacy > article h3,
#terms > article h3,
#refund-policy > article h3,
#risk-disclaimer > article h3 {
color: #D0BE91;
font-size: 18px;
line-height: 1.5;
margin-top: 0;
margin-bottom: 14px;
}

/* Policy paragraphs */
#rules > article p,
#privacy > article p,
#terms > article p,
#refund-policy > article p,
#risk-disclaimer > article p {
color: #e0e5ed;
font-size: 15px;
line-height: 1.8;
margin-top: 0;
margin-bottom: 14px;
}

/* Policy lists */
#rules > article ul,
#privacy > article ul,
#terms > article ul,
#refund-policy > article ul,
#risk-disclaimer > article ul {
padding-left: 24px;
margin-top: 12px;
margin-bottom: 16px;
}

#rules > article li,
#privacy > article li,
#terms > article li,
#refund-policy > article li,
#risk-disclaimer > article li {
color: #e0e5ed;
font-size: 15px;
line-height: 1.8;
margin-bottom: 9px;
}

/* Policy links */
#rules > article a,
#privacy > article a,
#terms > article a,
#refund-policy > article a,
#risk-disclaimer > article a {
color: #D0BE91;
text-decoration: underline;
text-underline-offset: 3px;
}

#rules > article a:hover,
#privacy > article a:hover,
#terms > article a:hover,
#refund-policy > article a:hover,
#risk-disclaimer > article a:hover {
color: #ffffff;
}

/* =========================================================
MOBILE RESPONSIVENESS
========================================================= */

@media (max-width: 650px) {

/* Articles */
#articles > article {
    display: block;
    width: 100%;
    margin: 0 0 16px;
    padding: 22px;
}
/* Trading Community */
#community .community-feature-grid {
    grid-template-columns: 1fr;
}
#community .community-feature-card {
    padding: 22px;
}
/* Discussion Board */
#discussion-board .community-main-card {
    padding: 18px;
}
#discussion-board .community-navigation {
    gap: 8px;
}
#discussion-board .community-nav-button {
    padding: 9px 10px;
    font-size: 12px;
}
#discussion-board #communityFeatureIndicator {
    font-size: 12px;
}
#discussion-board .community-form-container {
    padding: 15px;
}
/* Policies */
#rules,
#privacy,
#terms,
#refund-policy,
#risk-disclaimer {
    width: auto;
    margin: 20px 10px;
    padding: 15px;
    border-radius: 10px;
}
#rules > header,
#privacy > header,
#terms > header,
#refund-policy > header,
#risk-disclaimer > header {
    margin-bottom: 18px;
    padding-bottom: 14px;
}
#rules > header h2,
#privacy > header h2,
#terms > header h2,
#refund-policy > header h2,
#risk-disclaimer > header h2 {
    font-size: 22px;
}
#rules > article,
#privacy > article,
#terms > article,
#refund-policy > article,
#risk-disclaimer > article {
    padding: 16px;
    margin-bottom: 14px;
}
#rules > article h3,
#privacy > article h3,
#terms > article h3,
#refund-policy > article h3,
#risk-disclaimer > article h3 {
    font-size: 17px;
}
#rules > article p,
#privacy > article p,
#terms > article p,
#refund-policy > article p,
#risk-disclaimer > article p,
#rules > article li,
#privacy > article li,
#terms > article li,
#refund-policy > article li,
#risk-disclaimer > article li {
    font-size: 14px;
    line-height: 1.75;
}

}

/* =========================================================
21. LIVE CLASSES
========================================================= */

#live-classes {

background:
var(--background-secondary);

}

#live-classes > article {

display:
inline-block;

vertical-align:
top;

width:
calc(50% - 13px);

margin:
0 20px 20px 0;

padding:
32px;

}

#live-classes > article:nth-of-type(even) {

margin-right:
0;

}

#live-classes strong {

color:
var(--accent);

}


/* =========================================================
22. CLASS SCHEDULE
========================================================= */

#class-schedule {

background:
var(--background-secondary);

overflow-x:
auto;

}

#class-schedule h2 {

max-width:
var(--container);

margin:
0 auto 30px;

}

#class-schedule table {

width:
min(100%, var(--container));

margin:
auto;

border-collapse:
collapse;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-medium);

overflow:
hidden;

}

#class-schedule th,
#class-schedule td {

padding:
18px 20px;

text-align:
left;

border-bottom:
1px solid var(--border);

}

#class-schedule th {

background:
var(--surface-light);

color:
var(--accent);

font-size:
0.80rem;

text-transform:
uppercase;

letter-spacing:
0.08em;

}

#class-schedule td {

color:
var(--text-secondary);

}

#class-schedule tr:last-child td {

border-bottom:
none;

}

#class-schedule tbody tr:hover {

background:
rgba(255,255,255,0.025);

}


/* =========================================================
23. TRADING JOURNAL
========================================================= */

#trading-journal {

background:
var(--background-secondary);

}

#trading-journal > article {

max-width:
var(--container);

margin:
0 auto 25px;

padding:
35px;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-large);

box-shadow:
var(--shadow-small);

}


/* JOURNAL STATISTICS */

#trading-journal .journal-stats {

display:
grid;

grid-template-columns:
repeat(4, 1fr);

gap:
15px;

margin-top:
20px;

}

#trading-journal .journal-stats > div {

padding:
25px;

text-align:
center;

background:
var(--background-secondary);

border:
1px solid var(--border);

border-radius:
var(--radius-medium);

}

#trading-journal .journal-stats strong {

display:
block;

margin-bottom:
5px;

color:
var(--accent);

font-size:
1.8rem;

}

#trading-journal .journal-stats span {

color:
var(--text-muted);

font-size:
0.82rem;

}


/* JOURNAL FORM */

#trading-journal-form {

margin-top:
25px;

}

#trading-journal fieldset {

display:
grid;

grid-template-columns:
repeat(2, 1fr);

gap:
18px 20px;

margin-bottom:
25px;

padding:
28px;

background:
var(--background-secondary);

border:
1px solid var(--border);

border-radius:
var(--radius-medium);

}

#trading-journal fieldset legend {

grid-column:
1 / -1;

}

#trading-journal fieldset label {

margin:
0;

}

#trading-journal fieldset textarea {

min-height:
130px;

}

#trading-journal fieldset input[type="file"] {

padding:
10px;

}

#trading-journal fieldset:last-of-type {

grid-template-columns:
repeat(2, 1fr);

}

#trading-journal fieldset:last-of-type label,
#trading-journal fieldset:last-of-type input {

min-width:
0;

}


/* JOURNAL HISTORY */

#journal-history {

margin-top:
20px;

padding:
25px;

background:
var(--background-secondary);

border:
1px dashed var(--border-light);

border-radius:
var(--radius-medium);

}

#trading-journal > article > ul {

margin-top:
20px;

padding:
0;

list-style:
none;

}

#trading-journal > article > ul li {

display:
flex;

justify-content:
space-between;

gap:
20px;

padding:
13px 0;

border-bottom:
1px solid var(--border);

}

#trading-journal > article > ul li:last-child {

border-bottom:
none;

}


/* =========================================================
24. ABOUT
========================================================= */

#about {

background:
var(--background-secondary);

}

#about > article {

display:
inline-block;

vertical-align:
top;

width:
calc(50% - 13px);

margin:
0 20px 20px 0;

padding:
32px;

}

#about > article:nth-of-type(even) {

margin-right:
0;

}


/* =========================================================
25. SOCIAL MEDIA
========================================================= */

#social-media {

text-align:
center;

background:
linear-gradient(
135deg,
#0d1118,
#121923
);

}

#social-media header {

margin-bottom:
35px;

}

#social-media ul {

max-width:
900px;

margin:
auto;

padding:
0;

display:
flex;

justify-content:
center;

flex-wrap:
wrap;

gap:
12px;

list-style:
none;

}

#social-media li {

margin:
0;

}

#social-media a {

display:
inline-flex;

align-items:
center;

justify-content:
center;

min-width:
120px;

padding:
13px 20px;

background:
var(--surface);

border:
1px solid var(--border-light);

border-radius:
8px;

color:
var(--text-secondary);

font-weight:
700;

}

#social-media a:hover {

background:
var(--accent);

color:
#111;

border-color:
var(--accent);

transform:
translateY(-3px);

}


/* =========================================================
26. CONTACT
========================================================= */

#contact {

background:
var(--background-secondary);

}

#contact-form {

max-width:
800px;

margin:
0 auto 45px;

padding:
40px;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-large);

box-shadow:
var(--shadow-medium);

}

#contact-form > div {

margin-bottom:
22px;

}

#contact address {

max-width:
800px;

margin:
auto;

padding:
30px;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-medium);

font-style:
normal;

}

#contact address p {

margin-bottom:
10px;

}

#contact address p:last-child {

margin-bottom:
0;

}

#contact address a {

color:
var(--accent);

}


/* =========================================================
27. GENERAL FORM ELEMENTS
========================================================= */

form label {

display:
block;

margin-bottom:
8px;

color:
var(--text);

font-size:
0.9rem;

font-weight:
700;

}

input,
textarea,
select {

width:
100%;

min-height:
50px;

padding:
13px 15px;

background:
var(--background-tertiary);

color:
var(--text);

border:
1px solid var(--border-light);

border-radius:
8px;

outline:
none;

font:
inherit;

transition:
var(--transition);

}

textarea {

min-height:
150px;

resize:
vertical;

}

input::placeholder,
textarea::placeholder {

color:
var(--text-muted);

}

input:focus,
textarea:focus,
select:focus {

border-color:
var(--accent);

box-shadow:
0 0 0 3px rgba(212,175,55,0.10);

}

select option {

background:
var(--surface);

color:
var(--text);

}

button {

min-height:
50px;

padding:
0 24px;

background:
var(--accent);

color:
#111;

border:
none;

border-radius:
8px;

font:
inherit;

font-weight:
800;

cursor:
pointer;

transition:
var(--transition);

}

button:hover {

background:
var(--accent-light);

color:
#111;

transform:
translateY(-2px);

box-shadow:
0 8px 25px rgba(212,175,55,0.18);

}

:focus-visible {

outline:
2px solid var(--accent);

outline-offset:
3px;

}


/* =========================================================
28. APPLICATION
========================================================= */

#application {

background:
var(--background-secondary);

}

#application > form {

max-width:
800px;

margin:
auto;

padding:
40px;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-large);

}

#application form > label {

margin-top:
20px;

}

#application form > label:first-child {

margin-top:
0;

}


/* =========================================================
29. ASSESSMENT
========================================================= */

#assessment-form {

background:
var(--background-secondary);

}

#assessment-form > form {

max-width:
900px;

margin:
auto;

padding:
40px;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-large);

}

fieldset {

margin-bottom:
30px;

padding:
30px;

border:
1px solid var(--border-light);

border-radius:
var(--radius-medium);

}

legend {

padding:
0 12px;

color:
var(--accent);

font-weight:
800;

}

fieldset label {

margin-top:
20px;

}

fieldset label:first-of-type {

margin-top:
0;

}


/* =========================================================
30. MEMBER AREA
========================================================= */

#member-area {

background:
var(--background-secondary);

}

#member-area > article {

display:
inline-flex;

flex-direction:
column;

vertical-align:
top;

width:
calc(33.333% - 14px);

min-height:
190px;

margin:
0 20px 20px 0;

padding:
30px;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-medium);

}

#member-area > article:nth-of-type(3n) {

margin-right:
0;

}

#member-area article a {

margin-top:
auto;

}


/* =========================================================
31. LOGIN
========================================================= */

#login {

background:
var(--background-secondary);

}

#login > form {

max-width:
500px;

margin:
auto;

padding:
40px;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-large);

box-shadow:
var(--shadow-medium);

}

#login form label {

margin-top:
20px;

}

#login form label:first-child {

margin-top:
0;

}

#login form button {

width:
100%;

margin-top:
25px;

}

#login form a {

display:
block;

margin-top:
20px;

text-align:
center;

color:
var(--accent);

}


/* =========================================================
32. REGISTRATION
========================================================= */

#register {

background:
var(--background-secondary);

}

#register > form {

max-width:
550px;

margin:
auto;

padding:
40px;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-large);

}

#register form label {

margin-top:
20px;

}

#register form label:first-child {

margin-top:
0;

}

#register button {

width:
100%;

margin-top:
25px;

}


/* =========================================================
33. PAYMENT / PRICING
========================================================= */

#payment {

background:
var(--background-secondary);

}

#payment > article {

display:
inline-flex;

flex-direction:
column;

vertical-align:
top;

width:
calc(33.333% - 14px);

min-height:
300px;

margin:
0 20px 20px 0;

padding:
35px;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-large);

transition:
var(--transition);

}

#payment > article:nth-of-type(3n) {

margin-right:
0;

}

#payment > article:hover {

transform:
translateY(-7px);

border-color:
rgba(212,175,55,0.40);

box-shadow:
var(--shadow-medium);

}

#payment article p strong {

display:
inline-block;

margin:
15px 0;

color:
var(--accent);

font-size:
1.8rem;

}


/* =========================================================
34. CHECKOUT
========================================================= */

#checkout {

background:
var(--background-secondary);

}

#checkout > form {

max-width:
800px;

margin:
auto;

padding:
40px;

background:
var(--surface);

border:
1px solid var(--border);

border-radius:
var(--radius-large);

}

#checkout fieldset label {

display:
flex;

align-items:
center;

gap:
10px;

margin:
12px 0;

padding:
14px;

background:
rgba(255,255,255,0.025);

border:
1px solid var(--border);

border-radius:
8px;

}

#checkout fieldset input[type="radio"] {

width:
18px;

min-height:
18px;

height:
18px;

accent-color:
var(--accent);

}

#checkout button {

width:
100%;

}


/* =========================================================
35. PAYMENT CONFIRMATION
========================================================= */

#payment-confirmation {

text-align:
center;

background:
var(--background-secondary);

}

#payment-confirmation h2 {

color:
var(--accent);

}

#payment-confirmation p {

max-width:
700px;

margin:
15px auto;

}

/* =========================================================
36. ADMIN DASHBOARD
DOCTOR OF PSYCHOLOGICALS
Professional Black and Gold Layout
========================================================= */
.admin-page {
    --admin-gold: #d4af37;
    --admin-bg: #090909;
    --admin-sidebar: #0d0d0d;
    --admin-panel: #141414;
    --admin-border: #292929;
    --admin-text: #f5f5f5;
    --admin-muted: #a0a0a0;
    margin: 0;
    background: var(--admin-bg);
    color: var(--admin-text);
    font-family: Arial, Helvetica, sans-serif;
}
.admin-page *,
.admin-page *::before,
.admin-page *::after {
    box-sizing: border-box;
}
/* ADMIN LOGIN */
#admin-login {
    width: calc(100% - 32px);
    max-width: 440px;
    margin: 60px auto;
    padding: 32px;
    background: var(--admin-panel, #141414);
    color: #fff;
    border: 1px solid #333;
    border-radius: 14px;
}
#admin-login header > p:first-child {
    color: #d4af37;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}
#admin-login h2 {
    color: #fff;
    font-size: 30px;
}
#adminLoginForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#adminLoginForm label {
    margin-top: 10px;
    color: #ddd;
    font-size: 14px;
}
#adminLoginForm input {
    width: 100%;
    padding: 13px;
    background: #090909;
    color: #fff;
    border: 1px solid #383838;
    border-radius: 6px;
    font-size: 16px;
}
#adminLoginForm input:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}
#adminLoginForm button {
    margin-top: 15px;
    padding: 14px;
    background: #d4af37;
    color: #000;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}
.admin-login-note {
    margin-top: 20px;
    color: #999;
    font-size: 12px;
}
/* MAIN DASHBOARD SHELL */
#admin-dashboard.admin-dashboard {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: 100vh;
    padding: 0;
    background: var(--admin-bg);
    color: var(--admin-text);
}
/* SIDEBAR */
.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    width: 250px;
    height: 100vh;
    padding: 28px 18px 20px;
    background: var(--admin-sidebar);
    border-right: 1px solid var(--admin-border);
    overflow-y: auto;
    z-index: 100;
}
.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px 28px;
    color: var(--admin-text);
    text-decoration: none;
    border-bottom: 1px solid var(--admin-border);
}
.admin-brand-mark {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    color: var(--admin-gold);
    border: 1px solid var(--admin-gold);
    border-radius: 10px;
    font-size: 17px;
    font-weight: 800;
}
.admin-brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 10px;
    letter-spacing: 1px;
}
.admin-brand-text small {
    margin-top: 4px;
    color: var(--admin-gold);
    font-size: 9px;
    letter-spacing: 2px;
}
.admin-sidebar-label {
    margin: 28px 10px 12px;
    color: #777;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}
.admin-navigation {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 11px 12px;
    color: #aaa;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 12px;
    text-decoration: none;
    transition: 0.2s ease;
}
.admin-nav-link:hover,
.admin-nav-link.active {
    color: var(--admin-gold);
    background: rgba(212, 175, 55, 0.09);
    border-color: rgba(212, 175, 55, 0.2);
}
.admin-nav-icon {
    display: inline-grid;
    place-items: center;
    width: 20px;
    font-size: 18px;
}
.admin-sidebar-footer {
    margin-top: auto;
    padding-top: 24px;
}
.admin-security-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    color: #999;
    font-size: 10px;
}
.admin-security-indicator span,
.admin-access-badge span {
    width: 7px;
    height: 7px;
    background: #70bd83;
    border-radius: 50%;
}
.admin-logout-button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #ddd;
    border: 1px solid var(--admin-border);
    border-radius: 7px;
    cursor: pointer;
}
.admin-logout-button:hover {
    color: var(--admin-gold);
    border-color: var(--admin-gold);
}
/* MOBILE MENU BUTTON */
.admin-mobile-toggle {
    display: none;
}
/* MAIN WORKSPACE */
.admin-main {
    min-width: 0;
    padding: 32px;
}
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--admin-border);
}
.admin-eyebrow {
    margin: 0 0 10px;
    color: var(--admin-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}
.admin-topbar h1 {
    margin: 0 0 10px;
    color: var(--admin-text);
    font-size: clamp(25px, 3vw, 34px);
}
.admin-topbar-subtitle {
    margin: 0;
    color: var(--admin-muted);
    font-size: 13px;
    line-height: 1.7;
}
.admin-topbar-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.admin-access-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: #bbb;
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    font-size: 11px;
}
.admin-top-logout {
    padding: 10px 14px;
    background: transparent;
    color: var(--admin-gold);
    border: 1px solid var(--admin-gold);
    border-radius: 6px;
    cursor: pointer;
}
/* OVERVIEW SECTION */
.admin-overview-section {
    padding-top: 30px;
}
.admin-section-heading,
.admin-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 22px;
}
.admin-section-heading h2,
.admin-panel-heading h2 {
    margin: 0 0 8px;
    color: var(--admin-text);
    font-size: 19px;
}
.admin-section-heading p,
.admin-panel-heading p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 12px;
    line-height: 1.7;
}
.admin-live-label,
.admin-section-badge {
    padding: 8px 10px;
    color: var(--admin-gold);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}
/* SUMMARY CARDS */
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}
.admin-stat-card {
    min-width: 0;
    padding: 21px;
    background: var(--admin-panel);
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    transition: border-color 0.2s ease;
}
.admin-stat-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
}
.admin-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #999;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}
.admin-stat-icon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    color: var(--admin-gold);
    background: rgba(212, 175, 55, 0.09);
    border-radius: 8px;
    font-size: 17px;
}
.admin-stat-number {
    margin: 22px 0 10px;
    color: var(--admin-text);
    font-size: 32px;
    font-weight: 700;
}
.admin-stat-description {
    margin: 0;
    color: var(--admin-muted);
    font-size: 10px;
    line-height: 1.7;
}
/* GENERAL PANELS */
.admin-panel {
    min-width: 0;
    margin: 0 0 22px;
    padding: 25px;
    background: var(--admin-panel);
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    scroll-margin-top: 24px;
}
.admin-quick-actions {
    margin-bottom: 22px;
}
.admin-panel-heading {
    margin-bottom: 22px;
}
.admin-panel-heading .admin-eyebrow {
    margin-bottom: 9px;
}
/* QUICK ACTIONS */
.admin-quick-action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.admin-quick-action-grid a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 17px;
    background: #101010;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    color: var(--admin-text);
    text-decoration: none;
    transition: 0.2s ease;
}
.admin-quick-action-grid a:hover {
    border-color: var(--admin-gold);
    transform: translateY(-2px);
}
.admin-quick-action-grid a > span {
    color: var(--admin-gold);
    font-size: 22px;
}
.admin-quick-action-grid strong {
    font-size: 12px;
    line-height: 1.5;
}
.admin-quick-action-grid small {
    color: var(--admin-muted);
    font-size: 10px;
    line-height: 1.6;
}
/* EMPTY STATE */
.admin-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 180px;
    padding: 25px;
    text-align: center;
    border: 1px dashed #333;
    border-radius: 8px;
}
.admin-empty-icon {
    color: var(--admin-gold);
    font-size: 30px;
}
.admin-empty-state strong {
    color: var(--admin-text);
    font-size: 13px;
}
.admin-empty-state p {
    max-width: 420px;
    margin: 0;
    color: var(--admin-muted);
    font-size: 11px;
    line-height: 1.8;
}
/* MANAGEMENT SECTIONS */
.admin-management-section {
    scroll-margin-top: 25px;
}
.admin-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.admin-feature-card {
    min-width: 0;
    padding: 22px;
    background: #101010;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
}
.admin-feature-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    color: var(--admin-gold);
    background: rgba(212, 175, 55, 0.09);
    border-radius: 8px;
    font-size: 21px;
}
.admin-feature-card h3 {
    margin: 0 0 10px;
    color: var(--admin-text);
    font-size: 15px;
}
.admin-feature-card p {
    margin: 0 0 16px;
    color: var(--admin-muted);
    font-size: 12px;
    line-height: 1.8;
}
/* BUTTONS */
.admin-primary-button,
.admin-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}
.admin-primary-button {
    margin-bottom: 20px;
    background: var(--admin-gold);
    color: #000;
    border: 1px solid var(--admin-gold);
}
.admin-primary-button:hover {
    background: #e3c45d;
}
.admin-secondary-button {
    background: transparent;
    color: var(--admin-gold);
    border: 1px solid rgba(212, 175, 55, 0.55);
}
.admin-secondary-button:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--admin-gold);
}
/* STUDENT MANAGEMENT */
#students-management-panel {
    padding-top: 22px;
    border-top: 1px solid var(--admin-border);
}
#students-management-panel h3 {
    color: var(--admin-text);
}
.student-management-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}
.student-management-controls button {
    padding: 11px 14px;
    color: var(--admin-gold);
    background: transparent;
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    cursor: pointer;
}
.student-management-controls button:hover {
    border-color: var(--admin-gold);
}
#student-management-content,
.admin-dynamic-content {
    margin-top: 20px;
    padding: 20px;
    background: #0d0d0d;
    color: var(--admin-text);
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    overflow-wrap: anywhere;
}
.admin-dynamic-content[hidden] {
    display: none;
}
/* FOOTER */
.admin-footer {
    padding: 25px 0 5px;
    text-align: center;
    border-top: 1px solid var(--admin-border);
}
.admin-footer p {
    color: var(--admin-muted);
    font-size: 10px;
    line-height: 1.8;
}
.admin-footer strong {
    color: var(--admin-gold);
    letter-spacing: 1px;
}
/* TABLET */
@media (max-width: 1100px) {
    #admin-dashboard.admin-dashboard {
        grid-template-columns: 220px minmax(0, 1fr);
    }
    .admin-sidebar {
        width: 220px;
    }
    .admin-main {
        padding: 24px;
    }
    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-quick-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* MOBILE */
@media (max-width: 760px) {
    #admin-dashboard.admin-dashboard {
        display: block;
        padding: 0;
    }
    .admin-mobile-toggle {
        position: fixed;
        top: 12px;
        left: 12px;
        z-index: 300;
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        background: #141414;
        color: var(--admin-gold);
        border: 1px solid var(--admin-gold);
        border-radius: 8px;
        font-size: 22px;
        cursor: pointer;
    }
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 270px;
        max-width: 85vw;
        height: 100vh;
        transform: translateX(-110%);
        transition: transform 0.25s ease;
        box-shadow: none;
    }
    .admin-sidebar.is-open {
        transform: translateX(0);
        box-shadow: 15px 0 40px rgba(0, 0, 0, 0.5);
    }
    .admin-main {
        padding: 75px 16px 25px;
    }
    .admin-topbar {
        align-items: flex-start;
    }
    .admin-topbar-actions {
        width: 100%;
    }
    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .admin-stat-card {
        padding: 15px;
    }
    .admin-stat-top {
        font-size: 8px;
    }
    .admin-stat-number {
        font-size: 26px;
    }
    .admin-quick-action-grid,
    .admin-feature-grid {
        grid-template-columns: 1fr;
    }
    .admin-panel {
        padding: 18px;
    }
}
/* SMALL PHONES */
@media (max-width: 380px) {
    .admin-stat-grid {
        grid-template-columns: 1fr;
    }
    .admin-topbar h1 {
        font-size: 25px;
    }
    .admin-access-badge {
        font-size: 10px;
    }
}

/* =========================================================
37. LEGAL
========================================================= */

#rules,
#privacy,
#terms,
#refund-policy {

background:
var(--background-secondary);

}

#rules > article,
#privacy > article,
#terms > article,
#refund-policy > article {

max-width:
var(--container);

margin:
0 auto 20px;

padding:
30px;

}

#rules ul {

margin-top:
15px;

}


/* =========================================================
38. GENERAL LINKS / CTA BUTTONS
========================================================= */

main article > a,
main section > a {

display:
inline-flex;

align-items:
center;

justify-content:
center;

min-height:
45px;

margin-top:
20px;

padding:
0 20px;

background:
rgba(212,175,55,0.10);

border:
1px solid rgba(212,175,55,0.30);

border-radius:
8px;

color:
var(--accent);

font-weight:
700;

}

main article > a:hover,
main section > a:hover {

background:
var(--accent);

color:
#111;

transform:
translateY(-2px);

}


/* =========================================================
39. FOOTER
========================================================= */

body > footer {

padding:
80px 5% 30px;

background:
#05070a;

border-top:
1px solid var(--border);

}

body > footer > section,
body > footer > nav,
body > footer > p {

max-width:
var(--container);

margin-left:
auto;

margin-right:
auto;

}

body > footer > section {

margin-bottom:
35px;

}

body > footer h2 {

margin-bottom:
10px;

font-size:
1.5rem;

}

body > footer section p {

color:
var(--accent);

}

body > footer nav {

margin-bottom:
25px;

}

body > footer nav ul {

display:
flex;

flex-wrap:
wrap;

gap:
8px 20px;

padding:
0;

list-style:
none;

}

body > footer nav li {

margin:
0;

}

body > footer nav a {

color:
var(--text-muted);

font-size:
0.9rem;

}

body > footer nav a:hover {

color:
var(--accent);

}

body > footer nav[aria-label="Social Media"] {

display:
flex;

flex-wrap:
wrap;

gap:
10px;

}

body > footer nav[aria-label="Social Media"] a {

padding:
8px 14px;

border:
1px solid var(--border);

border-radius:
7px;

}

body > footer > p {

padding-top:
25px;

border-top:
1px solid var(--border);

color:
var(--text-muted);

font-size:
0.85rem;

}


/* =========================================================
40. LISTS
========================================================= */

main ul,
main ol {

padding-left:
25px;

}

main li {

margin-bottom:
9px;

color:
var(--text-secondary);

}

main li::marker {

color:
var(--accent);

}


/* =========================================================
41. SCROLLBAR
========================================================= */

::-webkit-scrollbar {

width:
10px;

}

::-webkit-scrollbar-track {

background:
var(--background);

}

::-webkit-scrollbar-thumb {

background:
#303844;

border-radius:
10px;

}

::-webkit-scrollbar-thumb:hover {

background:
var(--accent-dark);

}


/* =========================================================
42. LARGE TABLETS
========================================================= */

@media (max-width: 1100px) {

body > header {

flex-wrap:
wrap;

}

body > header nav {

order:
3;

width:
100%;

overflow-x:
auto;

}

body > header nav ul {

justify-content:
center;

padding-bottom:
5px;

width:
max-content;

margin:
auto;

}

#home {

grid-template-columns:
1fr;

gap:
55px;

}

.hero-content {

max-width:
900px;

margin:
auto;

text-align:
center;

}

.hero-content > p:first-child {

justify-content:
center;

}

.hero-content > p:not(:first-child) {

margin-left:
auto;

margin-right:
auto;

}

.hero-media {

max-width:
700px;

width:
100%;

margin:
auto;

}

#admin-dashboard > article {

width:
calc(50% - 12px);

}

#admin-dashboard > article:nth-of-type(4n) {

margin-right:
20px;

}

#admin-dashboard > article:nth-of-type(2n) {

margin-right:
0;

}

}


/* =========================================================
43. TABLET
========================================================= */

@media (max-width: 800px) {

main > section {

padding:
80px 5%;

}

#introduction > div {

grid-template-columns:
1fr;

}

#mentorship ul {

grid-template-columns:
1fr;

}

#trading-edge article section {

display:
block;

width:
100%;

margin:
15px 0;

}

#risk-management > article,
#market-updates > article {

width:
100%;

margin-right:
0;

}

#education > article {

width:
calc(50% - 12px);

}

#education > article:nth-of-type(3n) {

margin-right:
20px;

}

#education > article:nth-of-type(2n) {

margin-right:
0;

}

#videos > article {

width:
calc(50% - 12px);

}

#videos > article:nth-of-type(3n) {

margin-right:
20px;

}

#videos > article:nth-of-type(2n) {

margin-right:
0;

}

#community > article,
#live-classes > article,
#about > article {

width:
100%;

margin-right:
0;

}

#member-area > article {

width:
calc(50% - 12px);

}

#member-area > article:nth-of-type(3n) {

margin-right:
20px;

}

#member-area > article:nth-of-type(2n) {

margin-right:
0;

}

#payment > article {

width:
calc(50% - 12px);

}

#payment > article:nth-of-type(3n) {

margin-right:
20px;

}

#payment > article:nth-of-type(2n) {

margin-right:
0;

}

#trading-journal .journal-stats {

grid-template-columns:
repeat(2, 1fr);

}

#trading-journal fieldset {

grid-template-columns:
1fr;

}

#trading-journal fieldset legend {

grid-column:
auto;

}

#trading-journal fieldset:last-of-type {

grid-template-columns:
1fr;

}

#class-schedule {

overflow-x:
auto;

}

#class-schedule table {

min-width:
700px;

}

}


/* =========================================================
44. MOBILE
========================================================= */

@media (max-width: 600px) {

body {

font-size:
15px;

}

main > section {

padding:
65px 20px;

}

body > header {

position:
relative;

padding:
15px 20px;

}

.logo {

width:
100%;

}

.header-actions {

width:
100%;

justify-content:
center;

}

.header-actions a {

flex:
1;

}

body > header nav {

width:
100%;

overflow-x:
auto;

}

body > header nav ul {

justify-content:
flex-start;

flex-wrap:
nowrap;

width:
max-content;

margin:
0;

}

body > header nav a {

white-space:
nowrap;

}

#home {

min-height:
auto;

padding-top:
70px;

}

.hero-content h1 {

font-size:
clamp(2.5rem, 13vw, 4rem);

}

.hero-content > a {

width:
100%;

margin-right:
0;

}

.hero-media img {

min-height:
300px;

}

main > section > header {

margin-bottom:
35px;

}

h2 {

font-size:
2.1rem;

}

#education > article,
#videos > article,
#member-area > article,
#admin-dashboard > article,
#payment > article {

width:
100%;

margin-right:
0 !important;

}

#videos > article {

padding:
15px;

}

#articles > article {

width:
100%;

margin-right:
0;

margin-bottom:
20px;

}

#contact-form,
#application > form,
#assessment-form > form,
#login > form,
#register > form,
#checkout > form {

padding:
25px 20px;

}

fieldset {

padding:
20px 15px;

}

#trading-journal > article {

padding:
22px 18px;

}

#trading-journal .journal-stats {

grid-template-columns:
1fr 1fr;

}

#trading-journal .journal-stats > div {

padding:
18px 10px;

}

#trading-journal .journal-stats strong {

font-size:
1.45rem;

}

#trading-journal > article > ul li {

flex-direction:
column;

gap:
4px;

}

#class-schedule table {

font-size:
0.85rem;

}

body > footer {

padding:
60px 20px 25px;

}

body > footer nav ul {

flex-direction:
column;

gap:
8px;

}

}


/* =========================================================
45. SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

.logo a {

font-size:
0.92rem;

}

.header-actions {

flex-direction:
column;

}

.header-actions a {

width:
100%;

}

.hero-content h1 {

font-size:
2.4rem;

}

.hero-media img {

min-height:
240px;

}

main > section {

padding-left:
16px;

padding-right:
16px;

}

#trading-journal .journal-stats {

grid-template-columns:
1fr;

}

}
/* =========================================================
   HERO MEDIA — CAPTION AND INDICATOR SPACING
========================================================= */
/* Keep the media indicators close to the bottom edge */
#homepageHeroMediaIndicators {
    bottom: 3px !important;
    z-index: 10;
}
/* Give the description some breathing room above the lines */
#homepageHeroMedia .hero-media-caption {
    padding-bottom: 18px;
}
/* Keep the caption text clear of the indicator area */
#homepageHeroMedia .hero-media-caption p {
    margin-bottom: 0;
}

/* =========================================================
   DOCTOR OF PSYCHOLOGICALS — 3D WELCOME MESSAGE
   Midnight Blue + Ice Blue
========================================================= */
#homepageWelcomeMessage {
    background: radial-gradient(
        ellipse at top,
        #253b5e 0%,
        #111b2d 55%,
        #080e19 100%
    );
    color: #f8fbff;
    perspective: 850px;
}
#homepageWelcomeMessage .welcome-message-content {
    text-align: center;
    padding: 35px 20px;
}
/* BRAND EYEBROW */
#homepageWelcomeMessage .welcome-eyebrow {
    color: #a9c7ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-shadow: 0 0 12px #729de855;
    animation: welcome3DDrop 0.7s ease both;
}
/* MAIN 3D HEADING */
#homepageWelcomeMessage #welcomeAnimatedHeading {
    color: #f8fbff;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.15;
    text-shadow:
        0 1px 0 #dce7ff,
        0 2px 0 #b6c7e6,
        0 3px 0 #8498ba,
        0 5px 0 #536989,
        0 9px 15px #000000;
    animation: welcome3DDrop 0.8s 0.2s ease both;
}
/* ICE-BLUE SUPPORTING HEADING */
#homepageWelcomeMessage #welcomeAnimatedTagline {
    color: #d7e4ff;
    font-size: clamp(17px, 3vw, 23px);
    font-weight: 750;
    line-height: 1.5;
    text-shadow: 0 2px 5px #00000099;
    animation: welcome3DDrop 0.8s 0.5s ease both;
}
/* EXPLANATORY PARAGRAPHS */
#homepageWelcomeMessage #welcomeAnimatedText,
#homepageWelcomeMessage #welcomeAnimatedDescription {
    color: #cbd5e4;
    font-size: 15px;
    line-height: 1.9;
    animation: welcome3DDrop 0.8s 0.8s ease both;
}
#homepageWelcomeMessage #welcomeAnimatedDescription {
    animation-delay: 1.1s;
}
/* CLOSING SIGNATURE */
#homepageWelcomeMessage .welcome-signature {
    color: #a9c7ff;
    font-weight: 800;
    font-size: 15px;
    text-shadow: 0 2px 10px #a9c7ff44;
    animation: welcome3DDrop 0.8s 1.4s ease both;
}
#homepageWelcomeMessage .welcome-brand-signature {
    color: #d7e4ff;
    font-weight: 700;
    letter-spacing: 1.5px;
    animation: welcome3DDrop 0.8s 1.7s ease both;
}
/* 3D DROP-IN ANIMATION */
@keyframes welcome3DDrop {
    from {
        opacity: 0;
        transform: perspective(700px)
                   rotateX(-35deg)
                   translateY(-22px);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: perspective(700px)
                   rotateX(0)
                   translateY(0);
        filter: blur(0);
    }
}
/* ACCESSIBILITY: RESPECT REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    #homepageWelcomeMessage .welcome-eyebrow,
    #homepageWelcomeMessage #welcomeAnimatedHeading,
    #homepageWelcomeMessage #welcomeAnimatedTagline,
    #homepageWelcomeMessage #welcomeAnimatedText,
    #homepageWelcomeMessage #welcomeAnimatedDescription,
    #homepageWelcomeMessage .welcome-signature,
    #homepageWelcomeMessage .welcome-brand-signature {
        animation: none;
        opacity: 1;
        filter: none;
        transform: none;
    }
}
/* MOBILE SIZING */
@media (max-width: 600px) {
    #homepageWelcomeMessage .welcome-message-content {
        padding: 28px 16px;
    }
    #homepageWelcomeMessage #welcomeAnimatedText,
    #homepageWelcomeMessage #welcomeAnimatedDescription {
        font-size: 14px;
        line-height: 1.8;
    }
}

/* =========================================================
46. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

*,
*::before,
*::after {

scroll-behavior:
auto !important;

transition:
none !important;

animation:
none !important;

}

}


/* =========================================================
END OF LESSON 1 MAIN CSS
========================================================= */
.trade-win {
    color: green;
}

.trade-loss {
    color: red;
}
/* =========================================================
   ADMIN STUDENTS BOX
========================================================= */

#students-admin-box {
    transition: all 0.3s ease;
}

#students-admin-box.students-box-expanded {
    width: 100%;
}

#students-management-panel {
    margin-top: 20px;
}
/* =========================================================
   POSITION SIZE CALCULATOR — CLOSED / EXPANDED STATE
========================================================= */

#position-size-box {
    transition: all 0.3s ease;
}

#position-size-box.position-calculator-expanded {
    width: 100%;
}

#positionCalculator {
    margin-top: 20px;
}

#positionCalculator .psc-section {
    margin-top: 25px;
}

#positionCalculator .psc-section h4 {
    margin-bottom: 12px;
}

#positionCalculator label {
    display: block;
    margin-top: 15px;
    margin-bottom: 6px;
}

#positionCalculator input,
#positionCalculator select {
    width: 100%;
    box-sizing: border-box;
}

#positionCalculator small {
    display: block;
    margin-top: 5px;
    line-height: 1.5;
    opacity: 0.8;
}

.psc-warning {
    margin-top: 10px;
    line-height: 1.6;
}

.psc-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 25px;
}

#positionCalculatorResults,
#pscRiskScenarios,
.psc-psychology-reminder {
    margin-top: 25px;
}

#positionCalculator table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

#positionCalculator th,
#positionCalculator td {
    padding: 10px;
    text-align: left;
}

#closePositionCalculator {
    margin-top: 25px;
}
/* =========================================================
   PROGRAM 004 — DAILY MARKET UPDATES
========================================================= */

#market-updates > article {
    margin-top: 25px;
}


/* =========================================================
   MARKET NEWS OPTIONS
========================================================= */

.market-news-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}


.market-news-options a {
    display: block;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgb(175, 148, 10);
    color: rgb(175, 148, 10);
    background: transparent;
    transition: 0.3s ease;
}


.market-news-options a:hover {
    background:rgb(175, 148, 10);
    color: black;
}


/* =========================================================
   DIRECTIONAL BIAS PREVIEW
========================================================= */

.directional-bias-preview {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid rgb(175, 148, 10);
    background: rgba(175, 148, 10, 0.03);
}


.directional-bias-preview p {
    margin: 8px 0;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .market-news-options {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   PROGRAM 004 — DIRECTIONAL BIAS
========================================================= */

.directional-bias-box button {
    margin-top: 15px;
    padding: 12px 20px;
    border: 1px solid rgb(175, 148, 10);
    background: transparent;
    color: rgb(175, 148, 10);
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}


.directional-bias-box button:hover {
    background:rgb(175, 148, 10);
    color: black;
}


/* =========================================================
   DIRECTIONAL BIAS CONTENT
========================================================= */

.directional-bias-content {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid rgb(175, 148, 10);
}


.directional-bias-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}


.directional-bias-content h4:first-child {
    margin-top: 0;
}


/* =========================================================
   BIAS IMAGE AREA
========================================================= */

.directional-bias-image {
    min-height: 220px;
    margin: 20px 0;
    padding: 20px;
    border: 1px dashed rgb(175, 148, 10);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .directional-bias-content {
        padding: 15px;
    }

    .directional-bias-image {
        min-height: 180px;
    }

}
 /* =========================================================
POLICY SECTIONS — NAVY AND MUTED GOLD DESIGN
Stronger Borders | Clear Separation | Responsive Layout
========================================================= */

#rules,
#privacy,
#terms,
#refund-policy,
#risk-disclaimer {
max-width: 900px;
margin: 25px auto;
padding: 22px;
background:
var(--background-secondary)

} 


/* POLICY HEADERS */
#rules > header,
#privacy > header,
#terms > header,
#refund-policy > header,
#risk-disclaimer > header {
text-align: center;
margin-bottom: 22px;
padding-bottom: 18px;
border-bottom: 1px solid #52627b;
}

/* POLICY MAIN HEADINGS */
#rules > header h2,
#privacy > header h2,
#terms > header h2,
#refund-policy > header h2,
#risk-disclaimer > header h2 {
color: #D0BE91;
font-size: 25px;
line-height: 1.4;
margin: 0;
}

/* POLICY CONTENT BOXES */
#rules > article,
#privacy > article,
#terms > article,
#refund-policy > article,
#risk-disclaimer > article {
background: var(--background-secondary);
border: 1px solid #1c222b;
border-radius: 10px;
padding: 22px;
margin-bottom: 18px;
box-sizing: border-box;
transition: border-color 0.25s ease;
}

/* Remove unnecessary spacing after the final content box */
#rules > article:last-child,
#privacy > article:last-child,
#terms > article:last-child,
#refund-policy > article:last-child,
#risk-disclaimer > article:last-child {
margin-bottom: 0;
}

/* POLICY SUBHEADINGS */
#rules > article h3,
#privacy > article h3,
#terms > article h3,
#refund-policy > article h3,
#risk-disclaimer > article h3 {
color: #D0BE91;
font-size: 18px;
line-height: 1.5;
margin-top: 0;
margin-bottom: 14px;
}

/* POLICY PARAGRAPHS */
#rules > article p,
#privacy > article p,
#terms > article p,
#refund-policy > article p,
#risk-disclaimer > article p {
color: #e0e5ed;
font-size: 15px;
line-height: 1.8;
margin-top: 0;
margin-bottom: 14px;
}

/* POLICY LISTS */
#rules > article ul,
#privacy > article ul,
#terms > article ul,
#refund-policy > article ul,
#risk-disclaimer > article ul {
padding-left: 24px;
margin-top: 12px;
margin-bottom: 16px;
}

#rules > article li,
#privacy > article li,
#terms > article li,
#refund-policy > article li,
#risk-disclaimer > article li {
color: #e0e5ed;
font-size: 15px;
line-height: 1.8;
margin-bottom: 9px;
}

/* LINKS INSIDE POLICY SECTIONS */
#rules > article a,
#privacy > article a,
#terms > article a,
#refund-policy > article a,
#risk-disclaimer > article a {
color: #D0BE91;
text-decoration: underline;
text-underline-offset: 3px;
}

#rules > article a:hover,
#privacy > article a:hover,
#terms > article a:hover,
#refund-policy > article a:hover,
#risk-disclaimer > article a:hover {
color: #ffffff;
}

/* SUBTLE HOVER EFFECT */
#rules > article:hover,
#privacy > article:hover,
#terms > article:hover,
#refund-policy > article:hover,
#risk-disclaimer > article:hover {
border-color: #B7A06A;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 650px) {
#rules,
#privacy,
#terms,
#refund-policy,
#risk-disclaimer {
width: auto;
margin: 20px 10px;
padding: 15px;
border-radius: 10px;
}

#rules > header,
#privacy > header,
#terms > header,
#refund-policy > header,
#risk-disclaimer > header {
    margin-bottom: 18px;
    padding-bottom: 14px;
}
#rules > header h2,
#privacy > header h2,
#terms > header h2,
#refund-policy > header h2,
#risk-disclaimer > header h2 {
    font-size: 22px;
}
#rules > article,
#privacy > article,
#terms > article,
#refund-policy > article,
#risk-disclaimer > article {
    padding: 16px;
    margin-bottom: 14px;
}
#rules > article h3,
#privacy > article h3,
#terms > article h3,
#refund-policy > article h3,
#risk-disclaimer > article h3 {
    font-size: 17px;
}
#rules > article p,
#privacy > article p,
#terms > article p,
#refund-policy > article p,
#risk-disclaimer > article p,
#rules > article li,
#privacy > article li,
#terms > article li,
#refund-policy > article li,
#risk-disclaimer > article li {
    font-size: 14px;
    line-height: 1.75;
}

}
/* =========================================================
   MEMBER AREA — BLACK AND GOLD DASHBOARD
========================================================= */

/* =========================================================
MEMBER DASHBOARD
Navy Background | Clearer Box Separation | Existing Layout
========================================================= */

/* DASHBOARD */

.member-dashboard {
display: grid;
grid-template-columns: 250px minmax(0, 1fr);
min-height: 750px;
background: var(--background-secondary);
color: #f5f5f5;
border: 1px solid #52627b;
border-radius: 12px;
overflow: hidden;
margin: 30px 0;
}

/* SIDEBAR */

.member-sidebar {
display: flex;
flex-direction: column;
background: var(--background-secondary);
border-right: 1px solid #52627b;
padding: 28px 18px;
}

.member-sidebar-brand {
padding: 0 8px 28px;
border-bottom: 1px solid #52627b;
margin-bottom: 24px;
}

.member-sidebar-brand h2 {
color: #d4af37;
font-size: 17px;
line-height: 1.5;
margin: 0 0 8px;
}

.member-sidebar-brand p {
color: #a5a5a5;
font-size: 12px;
margin: 0;
}

.member-sidebar-nav {
display: flex;
flex-direction: column;
gap: 8px;
}

.member-nav-item {
display: block;
width: 100%;
padding: 13px 14px;
border: 1px solid transparent;
border-radius: 7px;
background: transparent;
color: #d0d0d0;
font: inherit;
font-size: 14px;
text-align: left;
cursor: pointer;
transition:
background 0.2s ease,
color 0.2s ease,
border-color 0.2s ease;
}

.member-nav-item:hover,
.member-nav-item.active {
background: #18243a;
border-color: #8f7948;
color: #e0bd4d;
}

.member-logout-button {
margin-top: auto;
padding: 12px 14px;
border: 1px solid #8f7948;
border-radius: 7px;
background: transparent;
color: #e0bd4d;
font: inherit;
cursor: pointer;
transition:
background 0.2s ease,
border-color 0.2s ease;
}

.member-logout-button:hover {
background: #18243a;
border-color: #b7a06a;
}

/* MAIN CONTENT */

.member-main-content {
min-width: 0;
padding: 35px;
background: var(--background-secondary);
}

.member-page-header {
margin-bottom: 30px;
}

.member-eyebrow {
color: #d4af37;
font-size: 12px;
font-weight: 700;
letter-spacing: 2px;
margin-bottom: 12px;
}

.member-page-header h1 {
color: #ffffff;
font-size: clamp(25px, 3vw, 34px);
line-height: 1.3;
margin: 0 0 12px;
}

.member-page-header > p:last-child {
color: #a9a9a9;
line-height: 1.7;
max-width: 650px;
}

/* STATUS CARDS */

.member-status-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
margin-bottom: 30px;
}

.member-status-card {
min-width: 0;
padding: 22px;
background: var(--background-tertiary);
border: 1px solid #52627b;
border-radius: 10px;
border-top: 3px solid #b7a06a;
}

.member-status-card h3 {
color: #bdbdbd;
font-size: 14px;
font-weight: 500;
margin: 0 0 15px;
}

.member-status-card p {
color: #e0bd4d;
font-size: 25px;
font-weight: 700;
overflow-wrap: anywhere;
margin: 0 0 8px;
}

.member-status-card span {
color: #a5afbf;
font-size: 12px;
}

/* CONTENT CARDS */

.member-content-card {
min-width: 0;
padding: 24px;
margin-bottom: 22px;
background: var(--background-secondary);
border: 1px solid #52627b;
border-radius: 10px;
}

.member-content-card h2 {
color: #e0bd4d;
font-size: 19px;
margin: 0 0 14px;
}

.member-content-card p {
color: #b5b5b5;
line-height: 1.7;
}

.member-content-card a,
.member-resource-grid a {
display: inline-block;
color: #e0bd4d;
text-decoration: none;
margin-top: 10px;
}

.member-content-card a:hover,
.member-resource-grid a:hover {
color: #ffffff;
}

/* QUICK ACCESS */

.member-section-heading {
margin: 30px 0 18px;
}

.member-section-heading h2 {
color: #ffffff;
font-size: 22px;
margin-bottom: 8px;
}

.member-section-heading p {
color: #a5afbf;
font-size: 14px;
}

.member-quick-access-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}

.member-quick-card {
display: block;
min-width: 0;
padding: 23px;
border: 1px solid #52627b;
border-radius: 10px;
background: var(--background-secondary);
color: #ffffff;
text-align: left;
font: inherit;
cursor: pointer;
transition:
border-color 0.2s ease,
transform 0.2s ease;
}

.member-quick-card:hover {
border-color: #b7a06a;
transform: translateY(-2px);
}

.member-quick-card h3 {
color: #e0bd4d;
font-size: 17px;
margin: 0 0 12px;
}

.member-quick-card p {
color: #b5bdc9;
font-size: 14px;
line-height: 1.6;
}

.member-quick-card span {
display: inline-block;
color: #e0bd4d;
font-size: 13px;
margin-top: 10px;
}

/* LEARNING RESOURCES */

.member-resource-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}

.member-resource-grid .member-content-card {
margin-bottom: 0;
}

/* DASHBOARD SECTION VISIBILITY */

.member-view[hidden] {
display: none !important;
}

.member-view.active:not([hidden]) {
display: block;
}

/* TABLET */

@media (max-width: 900px) {
.member-dashboard {
grid-template-columns: 210px minmax(0, 1fr);
}

.member-sidebar {
    padding: 22px 12px;
}
.member-main-content {
    padding: 25px 20px;
}

}

/* MOBILE */

@media (max-width: 650px) {
.member-dashboard {
grid-template-columns: 1fr;
border-radius: 8px;
}

.member-sidebar {
    padding: 18px;
    border-right: none;
    border-bottom: 1px solid #52627b;
}
.member-sidebar-brand {
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.member-sidebar-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}
.member-nav-item {
    padding: 11px 9px;
    font-size: 12px;
}
.member-logout-button {
    margin-top: 18px;
}
.member-main-content {
    padding: 22px 15px;
}
.member-status-grid,
.member-quick-access-grid,
.member-resource-grid {
    grid-template-columns: 1fr;
}
.member-status-card,
.member-content-card,
.member-quick-card {
    padding: 18px;
}

}
/* =========================================================
   DOCTOR OF PSYCHOLOGICALS
   PROFESSIONAL ADMIN DASHBOARD
   Black & Gold Theme
========================================================= */

#admin-dashboard {
    --admin-gold: #d4af37;
    --admin-bg: #090909;
    --admin-panel: #141414;
    --admin-border: #2b2b2b;
    --admin-text: #f5f5f5;
    --admin-muted: #a5a5a5;

    display: none;
    color: var(--admin-text);
    background: var(--admin-bg);
    min-height: 100vh;
    padding: 30px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* Dashboard heading */

#admin-dashboard > header {
    position: relative;
    padding: 10px 0 28px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--admin-border);
}

#admin-dashboard > header > p:first-child {
    color: var(--admin-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

#admin-dashboard > header h2 {
    color: var(--admin-text);
    font-size: clamp(26px, 4vw, 38px);
    margin: 0 0 12px;
}

#admin-dashboard > header p {
    color: var(--admin-muted);
    line-height: 1.6;
}

#adminLogoutButton {
    background: transparent;
    border: 1px solid var(--admin-gold);
    color: var(--admin-gold);
    padding: 11px 22px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}

#adminLogoutButton:hover {
    background: var(--admin-gold);
    color: #000;
}

/* Management panels */

#admin-dashboard > article {
    background: var(--admin-panel);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    transition: border-color 0.2s ease;
}

#admin-dashboard > article:hover {
    border-color: var(--admin-gold);
}

#admin-dashboard > article h3 {
    color: var(--admin-gold);
    font-size: 19px;
    margin: 0 0 12px;
}

#admin-dashboard > article p {
    color: var(--admin-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Dashboard buttons and links */

#admin-dashboard button,
#admin-dashboard > article a {
    font: inherit;
}

#admin-dashboard > article button,
#admin-dashboard > article a {
    display: inline-block;
    margin-top: 10px;
    padding: 11px 17px;
    border-radius: 6px;
    border: 1px solid var(--admin-gold);
    background: var(--admin-gold);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

#admin-dashboard > article button:hover,
#admin-dashboard > article a:hover {
    background: transparent;
    color: var(--admin-gold);
}

/* Student management controls */

.student-management-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

#admin-dashboard .student-management-controls button {
    margin-top: 0;
}

/* Student management content */

#student-management-content {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: #0d0d0d;
    overflow-wrap: anywhere;
}

/* Admin login */

#admin-login {
    max-width: 460px;
    margin: 60px auto;
    padding: 32px;
    background: #111;
    color: #fff;
    border: 1px solid #333;
    border-radius: 14px;
    box-sizing: border-box;
}

#admin-login header > p:first-child {
    color: var(--admin-gold, #d4af37);
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
}

#admin-login h2 {
    color: #fff;
    font-size: 30px;
}

#adminLoginForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#adminLoginForm label {
    color: #ddd;
    font-size: 14px;
    margin-top: 10px;
}

#adminLoginForm input {
    width: 100%;
    padding: 13px;
    box-sizing: border-box;
    background: #090909;
    color: #fff;
    border: 1px solid #383838;
    border-radius: 6px;
    font-size: 16px;
}

#adminLoginForm input:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

#adminLoginForm button {
    margin-top: 15px;
    padding: 14px;
    border: 0;
    border-radius: 6px;
    background: #d4af37;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

/* Responsive layout */

@media (min-width: 1000px) {
    #admin-dashboard {
        padding: 40px;
    }

    #admin-dashboard > article {
        padding: 28px;
    }
}

@media (max-width: 600px) {
    #admin-dashboard {
        padding: 18px;
    }

    #admin-dashboard > article {
        padding: 18px;
    }

    #admin-login {
        margin: 24px 16px;
        padding: 24px;
    }

    #admin-dashboard > article button,
    #admin-dashboard > article a {
        max-width: 100%;
        box-sizing: border-box;
    }
}
/* =========================================================
   FIX: ADMIN DASHBOARD CONTENT HIDDEN BEHIND SIDEBAR
   ========================================================= */

/* Keep the sidebar and workspace in separate columns */
#admin-dashboard.admin-dashboard {
    display: grid !important;
    grid-template-columns: 250px minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

/* Keep sidebar inside its own column */
#admin-dashboard.admin-dashboard > .admin-sidebar {
    position: sticky !important;
    top: 0;
    left: auto;
    width: 250px !important;
    min-width: 0 !important;
    max-width: 250px !important;
    height: 100vh;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Position the main workspace in the second column */
#admin-dashboard.admin-dashboard > .admin-main {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px !important;
    box-sizing: border-box;
    overflow-x: auto;
}

/* Keep dashboard grids within the workspace */
#admin-dashboard .admin-stat-grid,
#admin-dashboard .admin-quick-action-grid,
#admin-dashboard .admin-feature-grid {
    width: 100%;
    min-width: 0;
}

#admin-dashboard .admin-stat-card,
#admin-dashboard .admin-quick-action-grid > *,
#admin-dashboard .admin-feature-card {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Laptop screens */
@media (min-width: 761px) and (max-width: 1100px) {
    #admin-dashboard.admin-dashboard {
        grid-template-columns: 220px minmax(0, 1fr) !important;
    }

    #admin-dashboard.admin-dashboard > .admin-sidebar {
        width: 220px !important;
        max-width: 220px !important;
    }

    #admin-dashboard.admin-dashboard > .admin-main {
        padding: 18px !important;
    }
}

/* Preserve the slide-out sidebar on phones */
@media (max-width: 760px) {
    #admin-dashboard.admin-dashboard {
        display: block !important;
    }

    #admin-dashboard.admin-dashboard > .admin-sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 270px !important;
        max-width: 85vw !important;
        height: 100vh;
        margin: 0 !important;
        padding: 70px 18px 20px;
        transform: translateX(-110%) !important;
        transition: transform 0.25s ease;
        z-index: 1000;
    }

    #admin-dashboard.admin-dashboard > .admin-sidebar.is-open {
        transform: translateX(0) !important;
    }

    #admin-dashboard.admin-dashboard > .admin-main {
        width: 100% !important;
        max-width: 100% !important;
        padding: 75px 16px 25px !important;
    }
}
/* =========================================================
MEMBER AUTHENTICATION VISIBILITY
========================================================= */

#member-area[hidden],
#login[hidden],
#register[hidden] {
display: none !important;
}
/* HOME ACCOUNT MENU */

#home {
    position: relative;
}

.home-account-menu {
    position: absolute;
    top: 12px;
    right: 20px;
    z-index: 1000;
}

.account-menu-toggle {
    width: 58px;
    height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
   background: var(--background-tertiary);
border: 1px solid rgba(212, 175, 55, 0.18); 
    border-radius: 50%;
    cursor: pointer;
}

.account-menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    background: #d4af37;
    border-radius: 2px;
}

.account-menu-dropdown {
    display: none;
    position: absolute;
    top: 68px;
    right: 0;
    width: 270px;
    max-width: calc(100vw - 40px);
    background:var(--background-tertiary);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.account-menu-dropdown.menu-visible {
    display: block;
}

.account-menu-dropdown a {
    display: block;
    padding: 14px 16px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.account-menu-dropdown a:hover {
    background: #222;
    color: #d4af37;
}

.account-menu-dropdown a[hidden] {
    display: none !important;
}

@media (max-width: 600px) {
    .home-account-menu {
        top: 10px;
        right: 12px;
    }

    .account-menu-toggle {
        width: 48px;
        height: 48px;
    }

    .account-menu-dropdown {
        top: 58px;
    }
}
/* DOCTOR OF PSYCHOLOGICALS SILVER LOGO */

.logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
border: 1px solid rgba(192, 192, 192, 0.35);
border-radius: 50%;
}

/* =========================================================
   TRADING CALENDAR — DOCTOR OF PSYCHOLOGICALS
========================================================= */
#trading-calendar {
    margin-top: 25px;
    padding: 24px;
    background: #111111;
    border: 1px solid #333333;
    border-radius: 14px;
    color: #f5f5f5;
}
#trading-calendar > h3 {
    color: #d4af37;
    font-size: 24px;
    margin-bottom: 10px;
}
#trading-calendar > p {
    color: #bbbbbb;
    line-height: 1.6;
}
/* MONTH NAVIGATION */
.calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 25px 0;
}
.calendar-navigation h4 {
    color: #d4af37;
    text-align: center;
    font-size: 20px;
    margin: 0;
}
.calendar-navigation button {
    background: #d4af37;
    color: #111111;
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    font-weight: bold;
    cursor: pointer;
}
.calendar-navigation button:hover {
    background: #f0cf63;
}
/* CALENDAR LEGEND */
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
    font-size: 13px;
    color: #dddddd;
}
.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.legend-color {
    width: 11px;
    height: 11px;
    display: inline-block;
    border-radius: 3px;
}
.legend-color.calendar-positive {
    background: #16834a;
}
.legend-color.calendar-negative {
    background: #c0392b;
}
.legend-color.calendar-neutral {
    background: #555555;
}
/* MONTH GRID */
.trading-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
}
.calendar-weekday {
    text-align: center;
    padding: 10px 2px;
    color: #d4af37;
    font-weight: bold;
    font-size: 13px;
}
.calendar-empty {
    min-height: 100px;
}
/* INDIVIDUAL DAYS */
.calendar-day {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 7px;
    min-width: 0;
    min-height: 112px;
    padding: 9px;
    border: 1px solid #383838;
    border-radius: 8px;
    background: #202020;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    overflow-wrap: anywhere;
    transition: border-color 0.2s ease,
                transform 0.2s ease;
}
.calendar-day:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
}
.calendar-day.calendar-positive {
    background: #103a27;
    border-color: #16834a;
}
.calendar-day.calendar-negative {
    background: #431d1d;
    border-color: #c0392b;
}
.calendar-day.calendar-neutral {
    background: #202020;
}
.calendar-day.calendar-selected {
    outline: 2px solid #d4af37;
    outline-offset: -2px;
}
.calendar-day-number {
    font-size: 14px;
    font-weight: bold;
}
.calendar-day-pl {
    font-size: 13px;
    font-weight: bold;
}
.calendar-positive .calendar-day-pl {
    color: #62e6a0;
}
.calendar-negative .calendar-day-pl {
    color: #ff8585;
}
.calendar-neutral .calendar-day-pl {
    color: #dddddd;
}
.calendar-day-count,
.calendar-day-results {
    font-size: 11px;
    color: #eeeeee;
    line-height: 1.4;
}
/* SELECTED DAY DETAILS */
.calendar-day-details {
    margin-top: 28px;
    padding: 20px;
    background: #181818;
    border: 1px solid #383838;
    border-radius: 10px;
}
.calendar-day-details > h4 {
    color: #d4af37;
    font-size: 19px;
    margin-bottom: 15px;
}
.calendar-day-details > p {
    color: #eeeeee;
    line-height: 1.6;
}
.calendar-day-details .journal-entry {
    margin-top: 16px;
    padding: 16px;
    background: #222222;
    border: 1px solid #444444;
    border-radius: 8px;
}
.calendar-day-details .journal-entry h5 {
    color: #d4af37;
    font-size: 16px;
    margin-bottom: 12px;
}
.calendar-day-details .journal-entry p {
    color: #dddddd;
    overflow-wrap: anywhere;
    line-height: 1.6;
}
.calendar-screenshot-button {
    background: #d4af37;
    color: #111111;
    border: none;
    border-radius: 5px;
    padding: 9px 12px;
    cursor: pointer;
    font-weight: bold;
}
/* MOBILE LAYOUT */
@media (max-width: 700px) {
    #trading-calendar {
        padding: 12px;
    }
    .calendar-navigation {
        gap: 6px;
    }
    .calendar-navigation h4 {
        font-size: 15px;
    }
    .calendar-navigation button {
        padding: 9px 7px;
        font-size: 11px;
    }
    .calendar-legend {
        gap: 10px;
        font-size: 11px;
    }
    .trading-calendar-grid {
        gap: 3px;
    }
    .calendar-weekday {
        font-size: 10px;
        padding: 8px 0;
    }
    .calendar-empty {
        min-height: 67px;
    }
    .calendar-day {
        min-height: 80px;
        padding: 5px 3px;
        gap: 5px;
        border-radius: 5px;
    }
    .calendar-day-number {
        font-size: 12px;
    }
    .calendar-day-pl {
        font-size: 10px;
    }
    .calendar-day-count,
    .calendar-day-results {
        font-size: 9px;
    }
    .calendar-day-details {
        padding: 12px;
    }
}
@media (max-width: 380px) {
    .calendar-day {
        min-height: 70px;
        padding: 4px 2px;
    }
    .calendar-day-count,
    .calendar-day-results {
        font-size: 8px;
    }
}
/* DOCTOR OF PSYCHOLOGICALS LOGO */

.logo-link {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
}

.logo-image {
width: 55px;
height: 55px;
object-fit: contain;
display: block;
}

.logo-link span {
color: #ffffff;
font-weight: bold;
}
/* =========================================================
VIDEO LIBRARY — TWO BOXES SIDE BY SIDE
========================================================= */

#videos {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
align-items: start;
}

#videos > header {
grid-column: 1 / -1;
}

#videos > article {
display: block;
width: 100%;
min-width: 0;
margin: 0;
box-sizing: border-box;
}

/* Keep videos inside their boxes */
#videos video,
#videos iframe {
display: block;
width: 100%;
max-width: 100%;
box-sizing: border-box;
}

/* Mobile layout */
@media (max-width: 650px) {
#videos {
grid-template-columns: 1fr;
}

#videos > header {
    grid-column: 1;
}

}

/* Member Profile Initials — Circular Avatar */
.member-profile-avatar {
width: 54px;
height: 54px;
min-width: 54px;
min-height: 54px;
border: 1px solid rgba(214, 181, 109, 0.35);
border-radius: 50%;
background: var(--background-secondary);
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
font-size: 18px;
font-weight: 700;
line-height: 1;
flex-shrink: 0;
}
/* ARTICLE SELECT DROPDOWN AND READ BUTTON */

#articles select,
#articles button {
    background: var(--background-tertiary);
    color: #FFFFFF;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: var(--radius-medium);
}

/* Dropdown options */
#articles select option {
    background: var(--background-tertiary);
    color: #FFFFFF;
}

/* Hover effect */
#articles button:hover {
    background: var(--background-secondary);
    border-color: rgba(212, 175, 55, 0.35);
}
/* REGISTERED MEMBERS TABLE */
#student-management-content {
    width: 100%;
    overflow-x: auto;
}
#student-management-content .admin-data-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin-top: 20px;
    background: var(--background-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
}
#student-management-content .admin-data-table th,
#student-management-content .admin-data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
#student-management-content .admin-data-table th {
    background: var(--surface);
    color: var(--accent);
    font-weight: 600;
}
#student-management-content .admin-data-table tbody tr:hover {
    background: var(--surface);
}
#student-management-content .admin-data-table tbody tr:last-child td {
    border-bottom: none;
}
/* =========================================================
   ADMIN PAYMENT RECORDS AND ENROLLMENT TABLES
   ========================================================= */

#adminPaymentsContent {
    width: 100%;
    margin-top: 20px;
}

/* Table container */
#adminPaymentsContent .admin-payment-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
}

/* Main table */
#adminPaymentsContent .admin-data-table {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
    background: var(--background-secondary);
    color: var(--text-primary);
}

/* Table headings and cells */
#adminPaymentsContent .admin-data-table th,
#adminPaymentsContent .admin-data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

/* Table headings */
#adminPaymentsContent .admin-data-table th {
    background: var(--surface);
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

/* Row hover */
#adminPaymentsContent .admin-data-table tbody tr:hover {
    background: var(--surface);
}

/* Remove bottom border from final row */
#adminPaymentsContent .admin-data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Payment amount */
#adminPaymentsContent .payment-amount {
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

/* Status badges */
#adminPaymentsContent .payment-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

#adminPaymentsContent .payment-status-success {
    color: #78e0a5;
    background: rgba(40, 167, 69, 0.15);
}

#adminPaymentsContent .payment-status-pending {
    color: var(--accent);
    background: rgba(212, 175, 55, 0.12);
}

#adminPaymentsContent .payment-status-other {
    color: var(--text-secondary);
    background: var(--surface);
}

/* Empty table message */
#adminPaymentsContent .admin-payment-empty {
    padding: 24px;
    text-align: center;
    color: var(--text-secondary);
    background: var(--background-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
}

/* =========================================================
   MEMBER ACCOUNTS — ADMIN DASHBOARD
========================================================= */

#adminMembersContent {
    margin-top: 25px;
    padding: 22px;
    background: var(--secondary-background, #151515);
    border: 1px solid rgba(201, 164, 92, 0.18);
    border-radius: 14px;
}

/* CATEGORY TABS */

#adminMembersContent .member-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

#adminMembersContent .member-category-tab {
    padding: 11px 16px;
    background: var(--tertiary-background, #202020);
    color: var(--text-color, #eeeeee);
    border: 1px solid rgba(201, 164, 92, 0.25);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

#adminMembersContent .member-category-tab:hover {
    border-color: #c9a45c;
    color: #c9a45c;
}

#adminMembersContent .member-category-tab:focus {
    outline: none;
    border-color: #c9a45c;
    color: #c9a45c;
}

/* TABLE CONTAINER */

#adminMembersContent > div[style*="overflow-x"] {
    border: 1px solid rgba(201, 164, 92, 0.18);
    border-radius: 10px;
    overflow-x: auto;
}

/* MEMBER TABLE */

#adminMembersContent .admin-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: var(--tertiary-background, #1c1c1c);
}

#adminMembersContent .admin-data-table thead {
    background: #242019;
}

#adminMembersContent .admin-data-table th {
    padding: 16px 18px;
    color: #c9a45c;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(201, 164, 92, 0.25);
}

#adminMembersContent .admin-data-table td {
    padding: 15px 18px;
    color: var(--text-color, #eeeeee);
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
}

#adminMembersContent .admin-data-table tbody tr {
    transition: background 0.2s ease;
}

#adminMembersContent .admin-data-table tbody tr:hover {
    background: rgba(201, 164, 92, 0.06);
}

#adminMembersContent .admin-data-table tbody tr:last-child td {
    border-bottom: none;
}

/* EMPTY TABLE MESSAGE */

#adminMembersContent .admin-data-table td[colspan] {
    padding: 30px 15px;
    text-align: center;
    color: #aaa;
}

/* LOADING AND ERROR MESSAGES */

#adminMembersContent > p {
    color: var(--text-color, #eeeeee);
    font-size: 14px;
    line-height: 1.7;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 768px) {
    #adminMembersContent {
        padding: 14px;
        margin-top: 18px;
    }

    #adminMembersContent .member-category-tabs {
        gap: 8px;
    }

    #adminMembersContent .member-category-tab {
        padding: 10px 12px;
        font-size: 11px;
    }

    #adminMembersContent .admin-data-table th,
    #adminMembersContent .admin-data-table td {
        padding: 13px 12px;
        font-size: 12px;
    }
}
/* MEMBER NOTIFICATION BELL */

.member-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 25px;
    padding-right: 10px;
    margin-top: 15px;
}
.member-notification-bell {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    background: transparent;
    color: #d4af37;
    font-size: 26px;
    cursor: pointer;
    box-shadow: none;
}
.member-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border-radius: 50%;
    background: #c2baa0;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #111;
}

.member-notification-bell:hover {
    border-color: #d4af37;
}