/* CLEAN - white space, thin borders, Inter type, navy + sky blue with a little orange. No decoration. */
:root {
    --fh-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --p-page: #F4F7FB;
    --p-card: #FFFFFF;
    --p-line: #E3E9F2;
    --p-soft: #F7F9FC;
    --p-soft2: #EAF1FA;
    --p-th-bg: #F1F5FB;
    --p-th-text: #3B4668;
    --p-nav-bg: #FFFFFF;
    --p-nav-line: #E3E9F2;
    --p-nav-active-bg: #EAF1FA;
    --p-nav-active-text: #29295C;
    --p-nav-icon: #79A4DB;
    --p-pill-bg: #FFFFFF;
    --p-pill-line: #D8E1EE;
    --p-shadow: 0 1px 2px rgba(41,41,92,0.04), 0 4px 14px rgba(41,41,92,0.05);
    --p-shadow-lg: 0 10px 30px rgba(41,41,92,0.12);
    --p-radius: 16px;
    --p-hero-bg: linear-gradient(135deg, #29295C 0%, #34347A 100%);
    --p-clean-bg: #FFFFFF;
    --p-page-heading: #29295C;
}
body { background: var(--p-page); }
h1, h2, h3, h4, h5 { font-family: var(--fh-display); letter-spacing: -0.01em; }
h1, h2 { text-transform: none; font-weight: 800; }

/* navigation */
.navbar-custom { box-shadow: var(--p-shadow); border-radius: 14px; padding: 8px 16px; }
.navbar-custom::after { display: none; }
.navbar-custom .navbar-brand { font-family: var(--fh-display); text-transform: none; letter-spacing: -0.01em; font-size: 1.2rem; font-weight: 700; }
.navbar-custom .navbar-brand img { filter: none; height: 38px !important; width: 38px; }
.navbar-custom .nav-link { font-weight: 600; font-size: 0.92rem; border-radius: 10px; }
.navbar-custom .nav-link.active { box-shadow: none; background: var(--p-soft2); }
.navbar-custom .nav-link.active i { color: var(--accent-ink); }

/* cards: plain */
.content-card::before, .form-guide-section::before, .last-match-section::before, .stat-card::before { display: none !important; }
.content-card { padding-top: 28px; }
.content-card h2 { font-size: 1.5rem; margin-bottom: 16px; }
.content-card h2::after { display: none; }
.league-selector h5 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: #6B7488; font-weight: 700; }
.league-selector h5 i { color: var(--fh-sky); }
.league-selector { padding: 16px 20px; }

/* pills */
.match-type-pill { font-size: 0.9rem; padding: 8px 18px; box-shadow: none; }
.match-type-pill:hover { box-shadow: none; background: var(--p-soft2); }
.match-type-pill.active { box-shadow: none; background: var(--fh-navy); border-color: var(--fh-navy); }

/* tables */
.table thead th { border-bottom: 1px solid var(--p-line); font-size: 0.7rem; letter-spacing: 0.08em; }
.table-responsive { border: 1px solid var(--p-line); border-radius: 12px; }
.match-row-win, .match-row-draw, .match-row-loss { background-color: transparent !important; }
.match-row-win  td:first-child { border-left: 4px solid var(--fh-win); }
.match-row-draw td:first-child { border-left: 4px solid var(--fh-draw); }
.match-row-loss td:first-child { border-left: 4px solid var(--fh-loss); }
.table-striped { --bs-table-striped-bg: transparent; }
.mobile-match-card.match-row-win, .mobile-match-card.match-row-draw, .mobile-match-card.match-row-loss { background-color: var(--p-card) !important; }

/* buttons and badges */
.btn { box-shadow: none !important; }
.btn-primary, .btn-login { background: var(--fh-navy) !important; border-color: var(--fh-navy) !important; }
.btn-primary:hover, .btn-login:hover { background: var(--fh-navy-3) !important; border-color: var(--fh-navy-3) !important; }
.badge { border-radius: 6px; }

/* hero: flat navy */
.dashboard-hero { border-bottom: none; border-radius: 20px; padding: 30px 32px; box-shadow: var(--p-shadow-lg); }
.dashboard-hero::before { display: none; }
.dashboard-hero h1 { font-family: var(--fh-display); text-transform: none; font-size: 2.3rem; letter-spacing: -0.02em; text-shadow: none; line-height: 1.1; }
.dashboard-hero p { text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 500; color: var(--p-hero-sub2); }
.dashboard-hero p i { color: var(--fh-orange); }
.hero-logo { height: 92px; width: 92px; box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.page-header, .admin-stats { border-bottom: none !important; background: var(--p-hero-bg) !important; }
.page-header h1 { font-size: 1.8rem; text-transform: none; }
.page-header p { text-transform: none; letter-spacing: 0; }

/* dashboard cards */
.form-guide-section { padding: 22px 28px; }
.form-guide-header { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: #6B7488; font-family: var(--fh-display); }
.form-guide-header i { color: var(--fh-sky); }
.form-item { font-family: var(--fh-display); font-size: 1.15rem !important; font-weight: 800; width: 50px !important; height: 50px !important; box-shadow: none !important; }
.stat-card { padding: 26px; }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--p-shadow-lg); }
.stat-card .icon { width: 64px; height: 64px; font-size: 1.9rem !important; box-shadow: none; background: var(--p-soft2); margin: 0 auto 14px !important; }
.stat-card h3 { font-size: 0.8rem !important; letter-spacing: 0.1em; text-transform: uppercase; color: #6B7488 !important; font-weight: 700; font-family: var(--fh-display); }
.stat-card .number { font-family: var(--fh-display); font-size: 3.6rem !important; letter-spacing: -0.03em; }
.stat-card .player-stat { font-family: var(--fh-display); font-size: 0.9rem; padding: 4px 14px; }
.stat-card.clean-sheets, .stat-card.cleansheets, .stat-card.clean { background: #FFFFFF !important; border-color: var(--p-line) !important; }
.stat-card.clean-sheets .icon { background: var(--p-soft2); box-shadow: none; }
.stat-card.clean-sheets h3 { color: #6B7488 !important; }
.stat-card.clean-sheets .number { -webkit-text-fill-color: var(--accent-ink) !important; color: var(--accent-ink); }
.last-match-header { font-family: var(--fh-display); letter-spacing: -0.01em; }
.motm-section { background: linear-gradient(135deg, var(--fh-orange), var(--motm-end, #E88557)) !important; }

/* tiles */
.tile-number { font-family: var(--fh-display) !important; font-size: 1.3rem !important; font-weight: 800; }
.record-tile { box-shadow: none !important; }
.record-tile::before { height: 3px !important; }

/* modals */
.modal-header { border-bottom: 1px solid var(--p-line); background: var(--p-card); }
.modal-title { text-transform: none; font-family: var(--fh-display); }
.card-header { text-transform: none; letter-spacing: 0; font-family: var(--fh-display); }
.login-card, .password-card { border-top: 1px solid var(--p-line); }
body::before { display: none; }
@media (max-width: 768px) {
    .dashboard-hero h1 { font-size: 1.7rem; }
    .stat-card .number { font-size: 3rem !important; }
}

/* alignment, headings, calmer buttons */
.container-fluid > .container { padding-left: 0; padding-right: 0; }
.last-match-header { text-transform: none; font-size: 1.4rem; }
h1.text-white { text-transform: none; font-size: 1.9rem; letter-spacing: -0.02em; }
.btn-warning, .btn-info {
    background: #FFFFFF !important;
    border: 1.5px solid #D8E1EE !important;
    color: var(--fh-navy) !important;
}
.btn-warning:hover, .btn-info:hover { background: var(--p-soft2) !important; border-color: var(--fh-sky) !important; }
.btn-success { box-shadow: none; }

/* links on the login and password pages */
.login-card a, .password-card a { color: var(--fh-navy); }
.login-card a:hover, .password-card a:hover { color: var(--accent-ink); }
