.form-container {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    width: 90%;
    max-width: 600px;
    padding-left: 10px;
    background-color: white;
    padding: 20px 25px;
    justify-content: center;
    border-radius: 10px;
}

.optimized-form {
    margin: 40px 0;
    padding: 40px 25px;
}

.form-shadow {
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container form .field {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-container form .field label {
    font-size: 16px;
    color: rgb(44, 44, 44);
    margin-bottom: 5px;
}

.form-container form .input input, .form-container form .input select {
    font-size: 16px;
    padding: 8px 5px;
    outline: none;
    border: 1px solid rgb(120, 120, 120);
    border-radius: 5px;
    color: rgb(44, 44, 44);
}

.form-main-btn {
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    border: none;
    background-color: #4690CF;
    color: white;
    padding: 7px 0;
    border-radius: 5px;
}

.btn-secondary {
    font-size: 16px;
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #F2D319;
    color: white;
}

.submit-btn-container {
    display: flex;
    justify-content: center;


}

.submit-btn {
    font-size: 16px;
    width: 100%;
    padding: 10px 0;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #4690CF;
    color: white;
}


.submit-btn:hover {
    opacity: 0.75;
}

.form-container form .input input::placeholder {
    color: rgb(168, 168, 168);
}

.form-container form .input input:focus::placeholder {
    color: rgb(225, 225, 225);
}

.content p {
    margin-top: 20px;
    margin-bottom: 10px;
    color: rgb(63, 63, 63);
}

.form-container .form-question {
    text-align: center;
}

.mobile-width {
    width: 90%;
    padding: 20px 40px;
    margin-top: 10px 0;
}

.error-message, .success-message {
    display: flex;
    width: 100%;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    background: rgb(255, 223, 223); /* For error-message */
    padding: 10px 0;
    border: 1px solid red;
    border-radius: 5px;
    color: red;
    font-size: 14px;
    box-sizing: border-box;
    margin-top: 15px;
}

.success-message {
    background: rgb(219, 255, 240); /* For success-message */
    border: 1px solid rgb(3, 202, 119);
    color: rgb(3, 202, 119);
}

.error-message p, .success-message p {
    margin: 5px 0; /* Remove default margins */
    text-align: center;
}



/***************** Handle buy sell shares***************************/

.choice-field {
    display: flex;
    column-gap: 35px;
    justify-content: center;
    align-items: center;
}

.center-item {
    text-align: center;
}


@media (min-width: 801px) and (max-width: 1050px) {
    .submit-btn {
        font-size: 15px;
    }
}

@media (min-width: 549px) and (max-width: 800px) {
    .submit-btn {
        font-size: 15px;
    }
}

@media (max-width: 550px) {
    .submit-btn {
        font-size: 15px;
    }
    
}
