/* StructureCare Global Theme */

/* ----- Colors ----- */
:root {
    --sc-blue: #00AEEF;
    --sc-black: #000000;
    --sc-gray-light: #f5f7f9;
    --sc-gray-medium: #d4dbe1;
    --sc-gray-dark: #4a4a4a;
}

/* ----- Global ----- */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--sc-gray-light);
    margin: 0;
    padding: 0;
    color: var(--sc-black);
}

a {
    color: var(--sc-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ----- Top Navigation Bar ----- */
.navbar {
    background-color: var(--sc-black);
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left img {
    height: 32px;
}

.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 0.95em;
}

.nav-right a {
    color: white;
    font-weight: bold;
}

/* ----- Container ----- */
.container {
    max-width: 1450px;
    margin: 30px auto;
    background: white;
    padding: 25px 30px 30px 30px;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

/* ----- Headings ----- */
h1 {
    margin-top: 0;
    margin-bottom: 10px;
}

h2 {
    margin-top: 20px;
    margin-bottom: 8px;
}

.section-title {
    border-left: 5px solid var(--sc-blue);
    padding-left: 8px;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.2em;
}

/* ----- Buttons ----- */
button,
.btn {
    background-color: var(--sc-blue);
    color: white;
    border: none;
    padding: 8px 14px;
    font-size: 0.95em;
    border-radius: 4px;
    cursor: pointer;
}

.btn-secondary {
    background-color: var(--sc-gray-dark);
}

button:hover,
.btn:hover {
    opacity: 0.9;
}

/* ----- Forms ----- */
form {
    margin-top: 10px;
}

label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 3px;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--sc-gray-medium);
    border-radius: 4px;
    font-size: 0.95em;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

.error {
    color: #b00020;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* ----- Tables ----- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.95em;
}

th {
    background: var(--sc-blue);
    color: white;
    padding: 8px;
    text-align: left;
}

td {
    padding: 8px;
    border-bottom: 1px solid var(--sc-gray-medium);
}

tr:hover td {
    background: var(--sc-gray-light);
}

/* ----- Utility ----- */
.muted {
    color: var(--sc-gray-dark);
    font-size: 0.85em;
}

.top-links {
    margin-bottom: 10px;
}

.top-links a {
    margin-right: 12px;
}

.align-right {
    text-align: right;
}

.kanban-board {
    display: flex;
    flex-wrap: wrap;       /* Fixes horizontal cutoff */
    gap: 20px;
    margin-top: 20px;
}
