#logOutModal .modal-content {
    width: 420px;
}
.logOutModal .form-actions {
    width: 380px;
    margin: 24px auto 0;
}

.modal-container {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.form-fieldset legend {
    display: none;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6) !important;
}

.modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: #fff;
    border-radius: 12px;
    padding: 28px;
    opacity: 0;
    transition: 0.2s all ease-in-out;
}

.modal-content.privacyModal-content,.modal-content.termsModal-content {
    width: 490px;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.modal-title.client, .modal-title.address{
    font-size: 22px;
    text-align: left;
}

.form-fieldset {
    margin-top: 42px;
}

.modal-container_join .form-fieldset{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 28px;
}

.form-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: normal;
    font-size: 14px;
}

.form-label:focus{
    color: #2D8EFF;
}

.form-label .required{
    color: #2D8EFF;
}

.form-input {
    width: 320px;
    height: 52px;
    border-radius: 8px;
    background-color: #F8F8F8;
    padding: 0 15px;
    font-size: 16px;
    border:none;
}

#joinModal .modal-content {
    width: 824px;
}

#joinModal .form-input {
    width: 100%;
}

.modal-container_join .form-group{
    margin-top: 0;
}

.fileBtn{
    width:100%;
    height: 138px;
    background: #F8F8F8;
    border-radius: 8px;
    padding: 24px;
    overflow-y: auto;
}

#file_b{
    display : flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.fileList{
    display: none;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.fileList:last-of-type{
    margin-bottom: 0;
}

.fileList span{
    color: #222;
    font-weight: normal;
    font-size: 14px;
}

.fileBtn:hover{
    background: #f3f4f6;
}

.fileBtn p {
    font-size: 12px;
    margin-top: 4px;
    color: #a4a4a4;
}

.form-group {
    margin-top: 27px;
}

.form-group:first-of-type {
    margin-top: 0;
}

.form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.form_btns{
    width: 380px;
    margin: 24px auto 0
}

.btn-close,
.btn-login {
    width: 100%;
    height: 60px;
    border-radius: 8px;
    font-size: 14px;
}

.btn-close {
    background-color: #222 !important;
    color: #fff;
}

.btn-login {
    background-color: #2D8EFF !important;
    color: #fff;
}

.form-footer {
    display: flex;
    justify-content: center;
    margin-top: 38px;
    font-size: 14px;
}

.form-footer p {
    font-weight: bold;
}

.form-footer a {
    color: #2D8EFF;
}

.pwHint{
    display: block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: normal;
    color: #a4a4a4;
}

.logout_text{
    text-align: center;
    margin-top: 44px;
    margin-bottom: 40px;
    font-weight: 500;
}

@media only screen and (max-width: 768px) {
    .modal-container_join .form-fieldset {
        display: flex;
        flex-direction: column;
    }
    .modal-content {
        width: 90%;
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-title.client,
    .modal-title.address {
        font-size: 20px;
    }

    .form-input {
        width: 100%;
    }

    #joinModal .modal-content {
        width: 90%;
        max-height: 80vh;
        overflow-y: auto;
    }

    .fileBtn {
        height: 100px;
        padding: 16px;
    }

    .logout_text {
        margin-top: 32px;
        margin-bottom: 30px;
        font-size: 16px;
    }

    .form_btns {
        width: 100%;
    }
    #logOutModal .modal-content,.modal-content.privacyModal-content,.modal-content.termsModal-content{
        width: 90%;
    }
    .logOutModal .form-actions {
        width: 100%;
        margin: 24px auto 0;
    }
    .logout_text {
        margin-top: 32px;
        margin-bottom: 30px;
        font-size: 16px;
    }
}

