:root {
    --primary-color: #36b37e;
    --primary-light: #79f2c0;
    --primary-dark: #208b5f;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --border-color: #e2e8f0;
    --error-color: #e53e3e;
    --success-color: #2b8a3e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

header p {
    color: #666;
}

.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 1rem;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: var(--border-color);
    z-index: 0;
}

.progress-bar .progress {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    z-index: 1;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.step.completed {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.step-label {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    white-space: nowrap;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s ease;
}

input:focus,
select:focus {
    border-color: var(--primary-color);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn:hover {
    background-color: var(--primary-dark);
}

.btn:active {
    transform: scale(0.98);
}

.btn-secondary {
    background-color: #e2e8f0;
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #cbd5e0;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

table th,
table td {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    text-align: left;
}

table th {
    background-color: #f1f5f9;
    font-weight: 600;
}

.table-actions {
    text-align: center;
}

.delete-btn {
    background-color: var(--error-color);
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.delete-btn:hover {
    background-color: #c53030;
}

.add-btn {
    display: inline-flex;
    align-items: center;
    background-color: #e2e8f0;
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-bottom: 1.5rem;
}

.add-btn:hover {
    background-color: #cbd5e0;
}

.add-btn i {
    margin-right: 0.5rem;
}

.table-container {
    margin-top: 1.5rem;
    overflow-x: auto;
}

.hidden {
    display: none;
}

.summary-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f1f5f9;
    border-radius: 5px;
}

.summary-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.summary-item {
    display: flex;
    margin-bottom: 0.5rem;
}

.summary-label {
    width: 200px;
    font-weight: 600;
}

.summary-value {
    flex: 1;
}

.date-inputs {
    display: flex;
    gap: 0.5rem;
}

.date-inputs input {
    flex: 1;
}