/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo img {
    height: 50px;
}

h1 {
    margin: 0;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Progress Bar Styles */
.progress-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.step {
    display: flex;
    align-items: center;
}

.circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ccc;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.active .circle {
    background-color: #4CAF50;
}

.completed .circle {
    background-color: #2196F3;
}

.connector {
    width: 50px;
    height: 4px;
    background-color: #ccc;
    margin: 0 10px;
}

.completed .connector {
    background-color: #2196F3;
}

/* Form Styles */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-top: 0;
}

div {
    margin-bottom: 10px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Button Styles */
.button-container {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 20px auto 0;
}

button {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* New styles for child form fields */
.child-form {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.child-form h3 {
    margin-top: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    form {
        max-width: 100%;
        padding: 10px;
    }

    .progress-bar {
        flex-wrap: wrap;
    }

    .step {
        margin-bottom: 10px;
    }

    .connector {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.2rem;
    }

    .circle {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
}