
.goal-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.goal-container h2 {
    color: #333;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
}

.goal-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.goal-option {
    position: relative;
}

.goal-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.goal-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    width: 180px;
    height: 180px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-size: 1.1rem;
}

.goal-option label .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease-in-out;
}

.goal-option label:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.goal-option input[type="radio"]:checked + label {
    background: #007bff;
    color: white;
    border-color: #007bff;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.goal-option input[type="radio"]:checked + label .icon {
    transform: scale(1.1);
}

#race-distance-input {
    margin-top: 1rem;
    transition: opacity 0.3s ease-in-out, max-height 0.3s ease-in-out;
    max-height: 100px;
    opacity: 1;
}

#race-distance-input.hidden {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
}

#continue-btn {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background-color: #28a745;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 50%;
    margin: 1rem auto 0;
}

#continue-btn:hover {
    background-color: #218838;
}
