/* dialog */

.dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 731px;
    height: 406px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.dialog-save {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 731px;
    height: 406px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}
.dialog-del {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 731px;
    height: 406px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.dialog-dealer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 731px;
    height: 406px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}
.dialog-make-edit-dealer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 731px;
    height: 406px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.availavblecarlist{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 731px;
    height: 406px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}
.dialog-myinventory-del{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 731px;
    /* height: 406px; */
    height: 425px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.makeofferdialog{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 731px;
    height: 406px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.dialog-alert{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 731px;
    height: 406px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}


.dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}
.dialog-save::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}
.dialog-del::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}
.dialog-dealer::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}
.dialog-make-edit-dealer::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}
.availavblecarlist::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}
.makeofferdialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}
.dialog-myinventory-del::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}
.dialog-alert::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.dialog .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 57px;
}

.dialog-save .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 57px;
}
.dialog-del .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 57px;
}
.dialog-dealer .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 57px;
}
.dialog-make-edit-dealer .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 57px;
}
.availavblecarlist .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 57px;
}
.makeofferdialog .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 57px;
}
.dialog-myinventory-del .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 57px;
}
.dialog-alert .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 57px;
}

.dialog .dialog-header .title {
    font-size: var(--font-size-header);
    font-weight: var(--font-weight-bold);
}

.dialog-save .dialog-header .title {
    font-size: var(--font-size-header);
    font-weight: var(--font-weight-bold);
}
.dialog-del .dialog-header .title {
    font-size: var(--font-size-header);
    font-weight: var(--font-weight-bold);
}
.dialog-dealer .dialog-header .title {
    font-size: var(--font-size-header);
    font-weight: var(--font-weight-bold);
}
.dialog-make-edit-dealer .dialog-header .title {
    font-size: var(--font-size-header);
    font-weight: var(--font-weight-bold);
}
.availavblecarlist .dialog-header .title {
    font-size: var(--font-size-header);
    font-weight: var(--font-weight-bold);
}
.makeofferdialog .dialog-header .title {
    font-size: var(--font-size-header);
    font-weight: var(--font-weight-bold);
}
.dialog-myinventory-del .dialog-header .title {
    font-size: var(--font-size-header);
    font-weight: var(--font-weight-bold);
}
.dialog-make-edit-dealer .dialog-header .title {
    font-size: var(--font-size-header);
    font-weight: var(--font-weight-bold);
}
.dialog-alert .dialog-header .title {
    font-size: var(--font-size-header);
    font-weight: var(--font-weight-bold);
}

.dialog-wrapper {
    --space: 55px;
    position: relative;
    padding: var(--space);
    height: 100%;
}

.dialog-wrapper p {
    margin-top: 46px;
    font-size: calc(var(--font-size-medium) + 6px);
}

.dialog .dialog-button {
    width: 200px;
    height: 47px;
    position: absolute;
    bottom: var(--space);
    right: var(--space);
    font-size: var(--font-size-medium);
}


.dialog-save .dialog-button {
    width: 200px;
    height: 47px;
    position: absolute;
    bottom: var(--space);
    right: var(--space);
    font-size: var(--font-size-medium);
}
.dialog-del .dialog-button {
    width: 200px;
    height: 47px;
    position: absolute;
    bottom: var(--space);
    right: var(--space);
    font-size: var(--font-size-medium);
}

.dialog-dealer .dialog-button {
    width: 200px;
    height: 47px;
    position: absolute;
    bottom: var(--space);
    right: var(--space);
    font-size: var(--font-size-medium);
}
.dialog-make-edit-dealer .dialog-button {
    width: 200px;
    height: 47px;
    position: absolute;
    bottom: var(--space);
    right: var(--space);
    font-size: var(--font-size-medium);
}
.availavblecarlist .dialog-button {
    width: 200px;
    height: 47px;
    position: absolute;
    bottom: var(--space);
    right: var(--space);
    font-size: var(--font-size-medium);
}
.makeofferdialog .dialog-button {
    width: 200px;
    height: 47px;
    position: absolute;
    bottom: var(--space);
    right: var(--space);
    font-size: var(--font-size-medium);
}
.dialog-myinventory-del .dialog-button {
    width: 200px;
    height: 47px;
    position: absolute;
    bottom: var(--space);
    right: var(--space);
    font-size: var(--font-size-medium);
}
.dialog-alert .dialog-button {
    width: 200px;
    height: 47px;
    position: absolute;
    bottom: var(--space);
    right: var(--space);
    font-size: var(--font-size-medium);
}