/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #e0f0ff;
    color: #333;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.2);
    text-align: center;
}

/* Title Styling */
.title {
    font-size: 36px;
    margin-bottom: 10px;
    background: linear-gradient(to right, #FF3D3D, #4B5ACF);
    -webkit-background-clip: text;
    color: transparent;
}

/* Image Styling */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* Description Styling */
.description {
    font-size: 18px;
    margin-bottom: 20px;
    color: #003f7f;
}

/* Equation form styling */
.equation-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.equation-input, .result-box {
    width: 80%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #003f7f;
    border-radius: 4px;
    margin-bottom: 20px;
    min-height: 50px;
    text-align: center;
}

/* Result Section Styling - make it vertical */
.result-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* Adjust Result Box */
.result-box {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #003f7f;
    border-radius: 4px;
    margin-bottom: 20px;
    min-height: 50px;
    text-align: center;
    white-space: pre-wrap;
}

/* For Answer Text Styling */
.result-label {
    font-size: 18px;
    color: #003f7f;
    margin-bottom: 10px;
    text-align: center;
}

/* Submit Button Styling */
.submit-btn {
    background: linear-gradient(to right, #FF3D3D, #FF0000);
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    width: 50%;
    white-space: nowrap;
}

.submit-btn:hover {
    background: linear-gradient(to right, #d92e40, #ff0000);
}

/* Instruction Styling */
.instruction {
    font-size: 14px;
    color: #003f7f;
    margin-top: 10px;
}

/* Stepper Component Styling */
.stepper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-circle {
    background-color: #003f7f;
    color: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.step p {
    font-size: 16px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stepper {
        flex-direction: column;
        gap: 20px;
    }

    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .step p {
        font-size: 14px;
    }
}
