body {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
}

body:is(.loading, .start):after {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 280px;
}
body.start:after {
    background-image: url("/static/svg/scanner.svg");
    z-index: -999;
}
body.loading:after {
    background-color: rgba(0, 0, 0, 0.3);
    background-image: url("/static/svg/bouncing-squares.svg");
}

body >.container {
    display: flex;
    flex-direction: column;
}

body >.container >.row {
    height: 100%;
}


.right-column {
    display: flex;
    flex-direction: column;
}

.header {
    justify-content: space-between;
    font-size: 14px;
}
.header >* {
    width: unset;
}
.header .btn {
    font-size: 14px;
    padding: 0 5px;
    height: fit-content;
}

.profile-container {

}

.account-container {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.photos-container {
    height: 100%;
}

.main-image {
    height: 100%;
}

.small-images-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.small-image {
    position: relative;
    width: unset;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding: 0;
    margin: 0;
    flex: 1;
}

.product-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.characteristics {
    flex-grow: 1;
    position: relative;
}

.characteristics .list-group {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 2px;
    font-size: 12px;
    overflow-y: auto;
}

.characteristics .list-group-item {
    width: fit-content;
    padding: 0;
    border: none;
    width: 100%;
}


.auth-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-container.hidden {
    display: none;
}
.auth-container form {
    width: 40%;
}
.auth-button {
    padding: 8px 18px;
}