@charset "utf-8";

.container {
    margin-top: 20px;
    background-color: white;
    border-radius: 4px;
    line-height: 22px;
}

div[gradient] {
    color: transparent;
    -webkit-background-clip: text;
    background-image: linear-gradient(to bottom, #455a64, darkgrey);
}

.property {
    padding: 15px;
    cursor: default;
    font-size: 16px;
}

.main-block .property,
.send-report,
.choose,
.btn-report { display: flex; }

.main-block .name-property,
.main-block .name-property-choose {
    margin-right: 5px;
}

.main-block .name-property-choose {
    display: flex;
    height: 20px;
    align-items: center;
}

.additional-block {
    margin-bottom: 20px;
}

.additional-block .name-property,
.main-block .name-property,
.main-block .name-property-choose {
    user-select: none;
    font-weight: bold;
}

.additional-block .name-property {
    position: relative;
    font-size: 16px;
}

.main-block .container {
    padding-bottom: 15px;
    position: relative;
}

.main-block .property a {
    color: var(--green-color);
    font-weight: bold;
}

.choose {
    width: 70%;
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
    height: fit-content;
    row-gap: 10px;
    column-gap: 10px;
}

.btn-choose-size {
    background-color: var(--background-color);
    color: var(--dark-gray-color);
    padding: 0 12px;
    font-size: 14px;
    border-radius: 2px;
    font-weight: normal;
}

.btn-choose-size[choose] {
    background-color: var(--green-color);
    color: white;
}

.send-report,
.popup-report,
.pop-up-img,
.btn-report {
    justify-content: center;
    align-items: center;
}

.btn-report-container {
    position: absolute;
    right: 15px;
    bottom: 15px;
}

.btn-report {
    padding: 4px 20px;
    background-color: var(--dark-gray-color);
    cursor: pointer;
    color: white;
    border-radius: 2px;
}

.report-body {
    background-color: white;
    width: 300px;
    padding: 20px;
    border-radius: 4px;
}

.report-body .input {
    background: var(--background-color);
    padding: 10px;
    height: 230px;
    border-radius: 2px;
}

.report-body textarea {
    padding: 0;
    border: 0;
    outline: none;
    resize: none;
    background: var(--background-color);
    width: 100%;
    height: 100%;
    color: var(--dark-gray-color);
    font: 16px Rubik-Regular, monospace;
}

.send-report {
    background: var(--green-color);
    color: white;
    width: 100%;
    height: 36px;
    margin-top: 20px;
    border-radius: 2px;
    cursor: pointer;
}

.main-block .property {
    padding-bottom: 5px;
}

.popup-report {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    line-height: 0;
    background: #0000007d;
    display: none;
}

.report-body label {
    color: red;
    line-height: 1.2;
    display: none;
}

.report-body[sended]::after {
    content: 'Спасибо за обращение! Сообщение отправлено';
    line-height: 1;
    font-size: 26px;
}

.additional-block .name-property:after {
    content: '<';
    position: absolute;
    right: 0;
    transition: 0.3s;
    transform: rotate(-90deg);
    font-size: 20px;
}

.additional-block .property[open] .name-property:after {
    transform: rotate(90deg);
}

.additional-block .name-property:hover::after {
    color: var(--green-color);
}

.additional-block .property .value-property {
    overflow: hidden;
    max-height: 0;
    transition: 0.2s ease-out;
}

.additional-block .property[open] .value-property {
    transition: 0.3s ease-in;
}

.additional-block .property[open] .name-property {
    margin-bottom: 15px;
}

.additional-block .property .name-property {
    margin-bottom: 0;
    transition: 0.25s;
}
