/* ══════════════════════════════════════════════════════════
   account.css  —  shared page styles for all child templates
   The navbar lives entirely in BASE.html <style>.
   body padding-top:64px !important is set there too.
   Nothing in this file touches the navbar.
══════════════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
}
ul { list-style: none; margin: 0; padding: 0; }
a  { text-decoration: none; color: inherit; }

/* ── CSS Variables ── */
:root {
    --primary-color:    #0056b3;
    --secondary-color:  #004494;
    --background-color: #f9f9f9;
    --text-color:       #333333;
}

/* ── Body ── */
body {
    font-family: 'Barlow', sans-serif;
    background-image: url('/static/without_lucm.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    color: #333;
    font-weight: bold;
}

/* ── Shared logo-img (sport pages etc.) ── */
.logo-img {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

/* ── Generic page container ── */
.container {
    width: 100%;
    max-width: 100%;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    border-radius: 8px;
}

/* ── Typography ── */
h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: bold;
    color: #333;
}
.heading {
    color: darkmagenta;
    font-size: 70px;
    margin-bottom: 20px;
}
.text {
    font-size: 20px;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
}
.main {
    margin-top: 30px;
    text-align: center;
}

/* ── Forms ── */
form {
    display: flex;
    flex-direction: column;
}
label {
    margin-bottom: 10px;
    font-weight: bold;
}
input[type="text"],
input[type="email"],
input[type="password"] {
    padding: 10px;
    margin-bottom: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}
button {
    padding: 10px;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
}
button:hover {
    background-color: #0056b3;
}

/* ── Account page sections ── */
.account-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: gold;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}
.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}
.account-info {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}
.account-header .account-info .profile-picture {
    max-width: 100px;
    max-height: 100px;
    margin: 0 auto;
}
.account-actions .btn {
    padding: 10px 20px;
    margin-left: 10px;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
}
.account-actions .btn:hover { background-color: #0056b3; }

.account-nav {
    margin-top: 20px;
    border-bottom: 1px solid #ddd;
}
.account-nav ul {
    display: flex;
    flex-wrap: wrap;
}
.account-nav ul li {
    margin-right: 20px;
    margin-bottom: 10px;
}
.account-nav ul li a { color: #0056b3; }
.account-nav ul li a:hover { text-decoration: underline; }

.account-content { padding: 20px; }
.account-content section { margin-bottom: 20px; }
.account-content section h3 { margin-bottom: 10px; font-size: 1.5em; }

/* ── Generic modal (scripts.js) ── */
/* Standalone modal (old Bootstrap style) — NOT inside .modal-overlay */
.modal:not(.modal-overlay .modal) {
    display: none;
    position: fixed;
    z-index: 2500;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,.4);
}
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    border-radius: 8px;
}
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-button:hover,
.close-button:focus { color: black; }

/* ── Feedback ── */
.success {
    color: green; font-weight: bold; padding: 10px;
    margin-top: 10px; border: 1px solid green; border-radius: 4px;
}
.error {
    color: red; font-weight: bold; padding: 10px;
    margin-top: 10px; border: 1px solid red; border-radius: 4px;
}

/* ── Auth pages ── */
.login-link, .register-link {
    text-align: center;
    margin-top: 20px;
}

/* ══════════════════════════════════════════════════════════
   DASHBOARD APP SHELL  (BASE_NEW.html only)
   .app is inside {% block content %} so it starts directly
   below the 64px navbar — no extra margin/padding needed.
══════════════════════════════════════════════════════════ */
.app {
    display: flex;
    height: calc(100vh - 64px);
    overflow: hidden;
}

/* Sidebar — vertical scroll, contained height */
.sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
}
.lcm-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.15) transparent;
}
.lcm-sidebar-nav::-webkit-scrollbar { width: 4px; }
.lcm-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.2);
    border-radius: 4px;
}

/* Topbar inside dashboard */
.topbar {
    height: var(--th, 52px);
    flex-shrink: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-shadow: 0 1px 0 var(--border);
}
.topbar-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: .05em;
    color: var(--text);
}
.topbar-right { display: flex; align-items: center; gap: 8px; }
.tb-btn {
    width: 34px; height: 34px;
    border-radius: 7px;
    background: var(--bg3);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text2);
    font-size: 13px;
    transition: all .15s;
    position: relative;
}
.tb-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-bg); }
.notif-dot {
    position: absolute;
    top: 4px; right: 4px;
    width: 7px; height: 7px;
    background: var(--red);
    border-radius: 50%;
    border: 2px solid var(--bg2);
}

/* ── Mobile ── */
@media (max-width: 850px) {
    .heading { font-size: 40px; }
    .modal-content { width: 90%; }
    .app {
        height: auto;
        flex-direction: column;
        overflow: visible;
    }
    .sidebar { height: auto; }
}


    
