/* Basic Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

button {
    width: 100%;
    padding: 0.75rem;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

.alert {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    text-align: center;
}


/* Dashboard specific styles */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.card h2 {
    border-bottom: 2px solid #f4f7f6;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #2c3e50;
}

/* Timeline Styles */
.timeline {
    list-style: none;
    padding: 0;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    border-left: 2px solid #ddd;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
}

.timeline-item.completed {
    border-left-color: #2ecc71;
}

.timeline-item.completed::before {
    background: #2ecc71;
}

.timeline-item.current {
    border-left-color: #3498db;
}

.timeline-item.current::before {
    background: #3498db;
    width: 16px;
    height: 16px;
    left: -9px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #3498db;
}

.timeline-date {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-weight: 600;
    color: #2c3e50;
}

.timeline-desc {
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.25rem;
}

/* Checklist Styles */
.checklist {
    list-style: none;
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f4f7f6;
}

.checklist-item input[type="checkbox"] {
    margin-right: 0.75rem;
    accent-color: #2ecc71;
}

.checklist-item.checked {
    text-decoration: line-through;
    color: #95a5a6;
}

/* Document List */
.doc-list {
    list-style: none;
}

.doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.doc-name {
    font-weight: 600;
}

.doc-meta {
    font-size: 0.85rem;
    color: #95a5a6;
}

.upload-btn {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}