/* ===============================
   Gloucestershire Bicycle Theft Reduction CSS
   =============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
}

/* --- Header --- */
header {
    background-color: #004080;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-size: 1.8rem;
}

/* --- Navigation --- */
nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a.current {
    text-decoration: underline;
}

/* --- Main Content --- */
main, section {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
}

/* --- Leaflet Map --- */
#map {
    width: 100%;
    height: 400px;
    margin: 20px 0;
    border: 2px solid #004080;
    border-radius: 5px;
}

/* --- Footer --- */
footer {
    text-align: center;
    margin: 20px 0;
    padding: 10px;
    color: #555;
}

/* --- Buttons --- */
button, form input[type="submit"], a.button {
    background-color: #004080;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}

button:hover, form input[type="submit"]:hover, a.button:hover {
    background-color: #0066cc;
}

/* --- Messages --- */
.message {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 3px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* --- Small Police Logo --- */
.footer-logo {
    text-align: center;
    margin: 20px 0;
}

.footer-logo img {
    width: 50px !important;   /* small size */
    height: auto !important;
    display: block;
    margin: 0 auto;
    border-radius: 5px;       /* optional rounded edges */
}
/* --- Welcome Box --- */
.welcome-box {
    background-color: #fff700;  /* bright yellow */
    padding: 25px 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: 30px auto;          /* center horizontally with margin */
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: #003366;             /* dark blue text for contrast */
}

.welcome-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.welcome-box p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
/* ===============================
   General Page Reset
   =============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
}

/* --- Header & Navigation --- */
header {
    background-color: #004080;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-size: 1.8rem;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a.current {
    text-decoration: underline;
}

/* --- Highlight Box for Welcome / Messages --- */
.highlight-box {
    background-color: #fff700;  /* bright yellow */
    padding: 25px 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: 30px auto;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: #003366;
}

.highlight-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.highlight-box p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* --- Forms --- */
form {
    max-width: 500px;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

form label {
    display: block;
    margin: 10px 0 5px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #aaa;
    border-radius: 3px;
}

form input[type="submit"],
button {
    background-color: #004080;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}

form input[type="submit"]:hover,
button:hover {
    background-color: #0066cc;
}

/* --- Dashboard Tables --- */
table {
    width: 90%;
    border-collapse: collapse;
    margin: 20px auto;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #004080;
    color: #fff;
}

/* --- Footer --- */
footer {
    text-align: center;
    margin: 20px 0;
    padding: 10px;
    color: #555;
}

/* --- Small police logo --- */
.footer-logo img {
    max-width: 80px;
    display: block;
    margin: 20px auto;
}
/* Make bike image thumbnails small in the table */
.bike-thumb {
    max-width: 80px;
    max-height: 60px;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
}
.success-btn {
    background-color: #004080;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.success-btn:hover {
    background-color: #0066cc;
}