
.filepond--credits{
    display: none;
}

.filepond{
    height: 100px;
}


.form-container {
    max-width: 700px;
    width: 100%;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: auto auto;
}

.progress-bar-line {
    position: relative;
    display: flex;
    justify-content: space-between;
    /* margin-bottom: 40px; */
    padding: 0 40px;
}

/* Progress connector line */
.progress-line {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 0%;
    height: 4px;
    background-color: #007bff;
    transform: translateY(-50%);
    transition: width 0.4s ease;
    z-index: 0;
}

/* Step circles */
.step {
    position: relative;
    width: 40px;
    height: 40px;
    background-color: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.step.active {
    background-color: #7272ff;
    transform: scale(1.2);
}

/* Labels for the steps */
.step::before {
    content: attr(data-label);
    position: absolute;
    bottom: -28px;
    width: max-content;
    font-size: 12px;
    font-weight: normal;
    color: #555;
}

/* Step content */
.content {
    display: none;
}

.content.active {
    display: block;
}

/* Input field styles */
.input-field {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Button styling */
.btn {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: lightblue;
}

/* Loading screen */
.loading-screen {
    display: none;
    font-size: 18px;
    color: #007bff;
    text-align: center;
    margin-top: 20px;
}

.loading-screen.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Loading circle animation */
.loading-circle {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.loading-circle div {
    box-sizing: border-box;
    position: absolute;
    width: 64px;
    height: 64px;
    border: 8px solid #007bff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

.loading-circle div:nth-child(2) {
    border-width: 6px;
    border-color: #007bff;
    border-top-color: transparent;
    animation-delay: -0.5s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Result message */
.result-message {
    display: none;
    font-size: 18px;
    color: #007bff;
}

.result-message.active {
    display: block;
    animation: fadeIn 1s;
}




/* Default container styling */
.form-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Default form styling */
.content {
    display: none;
    flex-direction: column;
}

.content.active {
    display: flex;
}

/* Progress Bar Styling */
.progress-bar-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.progress-line {
    position: absolute;
    height: 4px;
    background: #3498db;
    top: 15px;
    left: 0;
    right: 0;
}

.step {
    background-color: #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    position: relative;
    /* z-index: 2; */
}

.step.active {
    background-color: #7272ff;
    color: white;
}





/* Media query for mobile screens */
@media only screen and (max-width: 768px) {
    .progress-bar-line {
        flex-direction: column;
        align-items: center;
    }

    .progress-line {
        /* position: absolute; */
       display: none;
        
    }

    .step {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 10px;
        margin-bottom: 45px;
        align-items: center;
    }

    
    /* Ensure each content section occupies full width */
    .content {
        width: 100%;
        padding: 0 10px;
    }

    .input-field {
        width: 100%;
        margin-bottom: 15px;
        padding: 10px;
        font-size: 16px;
    }

    .btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    /* Ensure the result and redirect message fit properly */
    .result-message {
        font-size: 16px;
        text-align: center;
    }

    /* Adjust the loading circle */
    .loading-circle {
        width: 50px;
        height: 50px;
    }

    /* Adjust text areas and message areas */
    .result-message div {
        margin: 10px 0;
    }

    #redirect-message {
        font-size: 14px;
    }
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


