/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: Ubuntu-Bold;
    src: url(./assets/fonts/Ubuntu-Bold.ttf);
}
@font-face {
    font-family: Ubuntu-Medium;
    src: url(./assets/fonts/Ubuntu-Medium.ttf);
}
@font-face {
    font-family: Ubuntu-Regular;
    src: url(./assets/fonts/Ubuntu-Regular.ttf);
}

body {
    font-family: Ubuntu-Regular;
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Container Styling */
.container {
    display: flex;
    flex-direction: row;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    width: 100%;
    height: 550px;
    
}

.left-side {
    background-color: #483eff;
    color: white;
    width: 34%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('./assets/images/bg-sidebar-desktop.svg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin: 10px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: auto;
}

.step {
    display: flex;
    align-items: center;
}

.step-btn:hover {
    cursor: pointer;
    border: solid 1px white;
    background-color: aquamarine;
    color: black;
}

.step-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    border: solid white;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    transition: background-color 0.3s ease;
}

.step-text {
    color: white;
}

.step-text p {
    font-size: 12px;
    letter-spacing: 1px;
    margin: 0;
}

.step-text h3 {
    font-size: 16px;
    margin: 5px 0;
}

.right-side {
    width: 66%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Form Styling */
form {
    margin-left: 10%;
    margin-top: 0px;
}

.form-header {
    margin-bottom: 20px;
}

.form-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.form-header p {
    font-size: 14px;
    color: #6b7280;
}

.form-input {
    margin-bottom: 20px;
}

.form-input label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    color: #02295a;
}

.form-input input {
    width: 80%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #cbd5e1;
    font-size: 16px;
    margin-top: 5px;
    transition: border 0.3s ease;
}

.form-input input:focus {
    outline: none;
    border-color: #483eff;
}

/* Error Handling */
.error {
    color: red;
    display: none;
}

input:invalid + .error {
    display: block;
}

/* Button Styling */
.next-step-btn {
    background-color: #02295a;
    color: white;
    padding: 10px 15px;
    margin-left: 50%;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.next-step-btn:hover {
    background-color: #1e3a8a;
}

/* Responsive Styles */
@media (max-width: 768px) {
    body {
        flex-direction: column;
        padding: 10px;
    }

    .container {
        flex-direction: column;
        width: 100%;
        height: auto;
        margin-bottom: 50%;
    }
    .left-side {
        width: 100%;
        height: 100px;
        border-radius: 10px 10px 0 0;
    }
    

    .steps {
        flex-direction: row;
        gap: 2px;
        justify-content: center;
        margin-top: 5%;
        margin-left: 10%;
        
    }

    .step-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* .step-text p {
        font-size: 10px;
    } */

    .step-text{
        display: none;
    }

    .right-side {
        width: 100%;
        padding: 20px;
    }
    form{
        padding-right: 10%;
        border-radius: 20px;
    }
.form-input{
  float: left;
}
    .form-input input {
        width: 120%;
    }

    .next-step-btn {
        margin-left: 50%;
        margin-top: 20px;
    }
}
