/*
 * Zyxtex dark, minimal, futuristic UI theme
 * This stylesheet defines the global look and feel for the location‑first
 * community news platform. The design is intentionally dark with vibrant
 * accents to give a modern, high‑tech aesthetic while remaining calm
 * and civic. Only one CSS file is used throughout the site.
 */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0d0d0f;
    color: #e4e6eb;
    line-height: 1.6;
}

a {
    color: #4ea3f1;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #82c8ff;
}

header {
    background-color: #14161a;
    border-bottom: 1px solid #1f2127;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #4ea3f1;
}

nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

nav a {
    color: #e4e6eb;
    font-size: 0.9rem;
    padding: 6px 8px;
    border-radius: 4px;
}

nav a:hover {
    background-color: #1f2127;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Forms */
form {
    background-color: #14161a;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="datetime-local"],
form select,
form textarea {
    width: 100%;
    padding: 8px;
    background-color: #1f2127;
    border: 1px solid #2a2c33;
    border-radius: 4px;
    color: #e4e6eb;
    margin-bottom: 15px;
}

form textarea {
    min-height: 120px;
    resize: vertical;
}

form button {
    background-color: #4ea3f1;
    border: none;
    color: #0d0d0f;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

form button:hover {
    background-color: #82c8ff;
}

/* Lists and cards */
.card {
    background-color: #14161a;
    border: 1px solid #1f2127;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #4ea3f1;
}

.card p {
    font-size: 0.9rem;
    color: #c3c6cf;
}

.tag {
    display: inline-block;
    background-color: #2a2c33;
    color: #9aa0a6;
    padding: 2px 6px;
    margin-right: 6px;
    border-radius: 3px;
    font-size: 0.75rem;
}

.footer {
    background-color: #14161a;
    border-top: 1px solid #1f2127;
    text-align: center;
    padding: 20px;
    color: #6d717a;
    font-size: 0.8rem;
}