/* General Body and Font Styles */
body {
    font-family: 'Inter', sans-serif;
    color: #334155;
}

/* Header and Footer */
.header-bg {
    background-color: #5d5dff;
}
.footer-bg {
    background-color: #4b4bd8;
}

/* Card and Input Fields */
.input-card, .results-card {
    background-color: #f8f8ff;
    border: 1px solid #e0e0f0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    height: 100%;
}
.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3f51b5;
    margin-bottom: 1rem;
    text-align: center;
}
.input-field {
    background-color: #fff;
    border: 1px solid #c5c7d8;
    border-radius: 6px;
    padding: 0.75rem;
    width: 100%;
    font-size: 0.875rem;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.input-field:focus {
    border-color: #5d5dff;
    box-shadow: 0 0 0 2px rgba(93, 93, 255, 0.2);
}
textarea.input-field {
    resize: vertical;
    min-height: 5rem;
}

/* Buttons */
.add-field-btn, .remove-field-btn {
    padding: 8px 16px;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.add-field-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
}
.add-field-btn:hover {
    background-color: #45a049;
}
.remove-field-btn {
    background-color: #f44336;
    color: white;
    border: none;
}
.remove-field-btn:hover {
    background-color: #d32f2f;
}

/* Results and Charts */
.results-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    min-height: 200px;
}
.results-box h4 {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}
.results-box p {
    white-space: pre-wrap;
    font-style: italic;
    color: #4b5563;
}
.chart-container {
    position: relative;
    height: 300px;
    margin-top: 1rem;
}
.roadmap-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
}
.roadmap-step {
    display: flex;
    align-items: center;
    width: 100%;
}
.roadmap-line {
    width: 2px;
    background-color: #5d5dff;
    height: 50px;
    margin-left: 17px;
}
.roadmap-circle {
    width: 40px;
    height: 40px;
    background-color: #5d5dff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
    z-index: 1;
}
.roadmap-content {
    background-color: #e0e0f0;
    padding: 1rem;
    border-radius: 8px;
    margin-left: 1rem;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .input-card, .results-card {
        padding: 1rem;
    }
    .card-title {
        font-size: 1.25rem;
    }
}
