@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background: #0d0d0d;
    color: #f5f5f5;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

/* ------------------------------
   TYPOGRAPHY
------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #4da6ff;
}

p {
    font-size: 15px;
    opacity: 0.85;
}

small {
    font-size: 12px;
    opacity: 0.6;
}

/* ------------------------------
   LAYOUT: SIDEBAR + MAIN
------------------------------ */
body {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #111, #0d0d0d);
    height: 100%;
    padding: 30px 20px;
    border-right: 1px solid #222;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar h1 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #4da6ff;
    letter-spacing: 1px;
}

.nav-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-item {
    padding: 12px 15px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #222;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    color: #f5f5f5;
    font-size: 14px;
}

.nav-item:hover {
    background: #4da6ff;
    color: #000;
}

.copyright {
    font-size: 12px;
    opacity: 0.6;
    text-align: center;
}

/* ------------------------------
   MAIN CONTENT
------------------------------ */
.main {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    position: relative;
}

.user-info {
    position: absolute;
    top: 25px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.user-info img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #4da6ff;
}

/* ------------------------------
   WELCOME SECTION
------------------------------ */
.welcome {
    margin-bottom: 40px;
}

.welcome h1 {
    margin: 0;
    font-size: 36px;
    color: #4da6ff;
    font-weight: 700;
}

.welcome p {
    margin: 8px 0 0;
    opacity: 0.7;
    font-size: 16px;
}

/* ------------------------------
   GRID & MODULES
------------------------------ */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.module {
    background: #141414;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #222;
    height: 160px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.module:hover {
    background: #1f1f1f;
    border-color: #4da6ff;
}

.module h3 {
    margin: 0;
    color: #4da6ff;
    font-size: 18px;
    font-weight: 600;
}

.module p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* ------------------------------
   WIDGETS
------------------------------ */
.widget {
    background: #141414;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #222;
    grid-column: span 2;
    grid-row: span 2;
}

.widget h3 {
    margin-top: 0;
    color: #4da6ff;
}

/* ------------------------------
   FORMS (Login, Signup)
------------------------------ */
form {
    max-width: 400px;
    margin: 0 auto;
    background: #141414;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #222;
}

form h2 {
    margin-bottom: 20px;
    text-align: center;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #f5f5f5;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #f5f5f5;
    font-size: 14px;
}

input[type="checkbox"] {
    margin-right: 8px;
}

button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #4da6ff;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #66b3ff;
}

/* ------------------------------
   LOGIN PAGE
------------------------------ */
/* Center the login container */
.login-container {
    display: flex;
    justify-content: center;   /* horizontal center */
    align-items: center;       /* vertical center */
    height: 100vh;             /* full viewport height */
    width: 100%;               /* full width */
    background: #0d0d0d;       /* match your dark theme */
}

/* Style the login box itself */
.login-box {
    background: #141414;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
    width: 350px;
    text-align: center;
}


.login-box h2 {
    margin-bottom: 20px;
}

.login-box input {
    margin-bottom: 15px;
}

.login-box button {
    margin-top: 10px;
}

/* ------------------------------
   SIGNUP PAGE
------------------------------ */
.signup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.signup-box {
    background: #141414;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
    width: 400px;
}

.signup-box h2 {
    margin-bottom: 20px;
    text-align: center;
}

.signup-box input,
.signup-box button {
    margin-bottom: 15px;
}

/* ------------------------------
   MARKETING PAGE
------------------------------ */
.marketing {
    padding: 60px;
    text-align: center;
}

.marketing h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.marketing p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.marketing button {
    width: auto;
    padding: 12px 24px;
}

/* ------------------------------
   FOOTER
------------------------------ */
footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    opacity: 0.6;
    border-top: 1px solid #222;
}

/* ------------------------------
   RESPONSIVE DESIGN
------------------------------ */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sidebar {
        width: 200px;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #222;
    }
    .main {
        padding: 20px;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}
input[type="file"],
select {
    background: #222;
    color: #f5f5f5;
    border: 1px solid #555;
    padding: 8px;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
}

select {
    appearance: none; /* removes default arrow styling */
}

.module.coming-soon {
    background: #1a1a1a; /* darker */
    opacity: 0.6;
    cursor: not-allowed;
}
/* ------------------------------
   COUNCIL PAGE — TABS
------------------------------ */
.tab-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.tab-buttons button {
    background: #141414;
    border: 1px solid #222;
    color: #4da6ff;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.tab-buttons button:hover {
    background: #1f1f1f;
    border-color: #4da6ff;
}

.tab-buttons button.active {
    background: #4da6ff;
    color: #000;
}

.tab {
    display: none;
}

.tab.active {
    display: block;
}

/* ------------------------------
   COUNCIL PANELS
------------------------------ */
.panel {
    background: #141414;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #222;
    margin-bottom: 25px;
}

.panel h2 {
    margin-top: 0;
    color: #4da6ff;
}

/* ------------------------------
   STATUS CARDS (Analytics)
------------------------------ */
.status-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.status-card {
    background: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 20px;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: 0.2s;
}

.status-card:hover {
    transform: translateY(-4px);
}

.status-card h3 {
    margin: 0;
    color: #4da6ff;
    font-size: 1.1em;
}

.status-card .count {
    font-size: 1.8em;
    font-weight: bold;
    margin: 10px 0 5px;
}

.status-card .detail {
    font-size: 0.85em;
    color: #aaa;
}

/* ------------------------------
   MOTION CARDS
------------------------------ */
.motion-card {
    background: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
    transition: 0.2s;
}

.motion-card:hover {
    border-color: #4da6ff;
    background: #1a1a1a;
}

.motion-card h3 {
    margin: 0;
    color: #4da6ff;
}

.motion-card .meta {
    color: #aaa;
    font-size: 0.85em;
    margin: 5px 0 10px;
}

.motion-card button {
    background: #4da6ff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    color: #000;
    transition: 0.2s;
}

.motion-card button:hover {
    background: #1f8cff;
}

/* ------------------------------
   COUNCIL LIST ITEMS
------------------------------ */
.council-item {
    background: #141414;
    border: 1px solid #222;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.council-item h3 {
    margin: 0;
    color: #4da6ff;
}

.council-item p {
    margin: 6px 0 12px;
    opacity: 0.8;
}

.council-item button {
    background: #4da6ff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    color: #000;
}

.council-item button:hover {
    background: #1f8cff;
}

/* ------------------------------
   COUNCIL FORMS (Create / Settings)
------------------------------ */
.council-form input,
.council-form textarea,
.council-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #fff;
}

.council-form button {
    width: auto;
    padding: 10px 20px;
    border-radius: 8px;
    background: #4da6ff;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

.council-form button:hover {
    background: #66b3ff;
}

/* ------------------------------
   MANAGE COUNCIL PAGE
------------------------------ */
.manage-card {
    background: #141414;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.manage-card h3 {
    margin: 0 0 10px;
    color: #4da6ff;
}

.manage-card button {
    background: #4da6ff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    color: #000;
}

.manage-card button:hover {
    background: #1f8cff;
}
