/* style.css */
:root {
    --primary-color: #0056b3;
    --primary-hover: #004494;
    --secondary-color: #28a745;
    --bg-color: #f4f7f6;
    --text-color: #333333;
    --card-bg: #ffffff;
    --border-color: #dddddd;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
/*    padding: 20px;*/
	display: flex;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: #1e293b; /* Dark sleek slate background */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.sidebar-header {
    padding: 20px;
    background-color: #0f172a;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    border-bottom: 1px solid #334155;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    flex-grow: 1;
}

.sidebar-nav a {
    color: #cbd5e1;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: background 0.2s, color 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
}

.sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid #334155;
    font-size: 0.85rem;
    color: #94a3b8;
}
.sidebar-nav .nav-icon {
    flex-shrink: 0;
}

/* Main Content Area Adjustment */
.main-content {
    margin-left: 250px;
    flex: 1;
    padding: 30px;
    width: calc(100% - 250px);
}

/* Container */
.container {
    max-width: 100%;
    margin: 0;
}

/* Typography */
h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* Navigation / Header */
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--card-bg);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

/* Forms & Inputs */
form {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

input[type="text"],
input[type="password"],
input[type="number"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: var(--primary-hover);
}

/* Data Tables (Dashboard) */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

tr:hover {
    background-color: #f1f1f1;
}

/* Timeline Cards (Project page) */
.timeline-card {
    background: var(--card-bg);
    border-left: 4px solid var(--secondary-color);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.timeline-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
}

.timeline-financial {
    display: inline-block;
    background-color: #e9ecef;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 10px;
}

img.timeline-img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-top: 15px;
    display: block;
}

/* Login Box Specifics */
.login-box {
    max-width: 400px;
    margin: 100px auto;
}