@import "./vars.css";

#account-content .show {
    display: flex;
    margin-bottom: 30px;
}
#account-content .show a {
    margin-left: 10px;
    text-decoration: underline;
    color: var(--grey-color);
}
#account-content .show a:hover {
    text-decoration: none;
}
#account-content .search {
    position: relative;
    margin-bottom: 30px;
}
#account-content .search i {
    position: absolute;
    font-size: 14px;
    color: #555;
    left: 15px;
    top: 0;
    bottom: 0;
    height: 14px;
    margin: auto;
}
#account-content .search .text-input {
    padding-left: 40px;
    width: 466px;
    margin-right: 20px;
}
#account-content .modal-container {
    width: 476px;
}
#account-content .modal-button {
    margin-bottom: 30px;
}
#account-content .modal-body #name-type .field:first-child {
    width: 70%;
    margin-right: 10px;
}
#account-content .modal-body #phone-email .field {
    width: calc(50% - 5px);
}
#account-content .modal-body #phone-email .field:first-child {
    margin-right: 10px;
}
#account-content .modal-body .button-red {
    width: 207px;
}
#account-content .table {
    margin-bottom: 30px;
}
#account-content .table th {
    position: relative;
    border-top: 0;
}
#account-content .table th:last-child {
    padding-right: 14px;
}
#account-content .table th:first-child {
    padding-left: 14px;
}
#account-content .table th a.action {
    text-decoration: underline;
}
#account-content .table th ul {
    position: absolute;
    background: #FFFFFF;
    box-shadow: 0px 4px 16px rgb(97 97 97 / 10%);
    border-radius: var(--border-radius);
    width: 200px;
    padding: 20px;
    margin: 0;
    z-index: 10;
    display: none;
}
#account-content .table th a:hover + ul, #account-content .table th ul:hover {
    display: block;
}
#account-content .table th li {
    display: block;
}
#account-content .table th li + li {
    margin-top: 6px;
}
#account-content .table th i {
    font-size: 16px;
}
#account-content .table td {
    color: var(--grey-color);
}
#account-content .table .name {
    text-decoration: underline;
}
#account-content .table .actions_row_box, #account-content .table .small {
    margin-top: 8px;
    display: flex;
}
#account-content .table .actions_row_box a, #account-content .table .small a {
    width: 24px;
    height: 24px;
    border: 1px solid #E9E9E9;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    background-color: #fff;
    color: #555;
    box-sizing: border-box;
}
#account-content .table .actions_row_box a + a {
    margin-left: 6px;
}
#account-content .table .actions_row_box a:hover, #account-content .table .small a:hover {
    color: #fff;
    background-color: var(--green-color);
    border-color: var(--green-color);
}
#account-content .table .actions_row_box a.delete:hover {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

#account-content-edit .status, #account-content-moderation .status {
    border: 1px solid #FFD79B;
    border-radius: var(--border-radius);
    font-size: 12px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 20px;
}
#account-content-edit .status strong, #account-content-moderation .status strong {
    font-weight: 500;
}
#account-content-edit .memo {
    margin: 0 0 20px;
}
#account-content-edit .actions {
    margin-bottom: 20px;
}
#account-content-edit .actions .button-white {
    margin-right: 10px;
    font-weight: 500;
    font-size: 12px;
    color: var(--grey-color);
}
#account-content-edit .columns {
    display: flex;
    align-items: flex-start;
}
#account-content-edit .columns .left {
    flex: 5 5;
}
#account-content-edit .columns .right {
    flex: 4 4;
    margin-left: 20px;
}
#account-content-edit .field + .field {
    margin-top: 20px;
}
#account-content-edit .field .note-block {
    margin-top: 0;
    margin-bottom: 20px;
}
#account-content-edit #description { 
    height: 200px;
}
#account-content-edit #content_coauthors + ol {
    margin: 0;
}
#account-content-edit #content_coauthors + ol li {
    margin-bottom: 10px;
}
#account-content-edit .text-input {
    width: 100%;
}
#account-content-edit .left .buttons,
#account-content-edit .right .buttons {
    margin-top: 20px;
    display: flex;
    align-items: center;
}
#account-content-edit .left .buttons .button-white,
#account-content-edit .right .buttons .button-white {
    margin-left: 20px;
}
#account-content-edit .right .buttons {
    display: none;
}
#account-content-edit .right small {
    font-size: 12px;
    color: var(--light-grey-color);
}
#account-content-edit .right small span {
    color: var(--main-color);
    font-weight: 500;
}
#account-content-edit .right .content-block + .content-block,
#account-content-edit .right .note-block + .content-block {
    margin-top: 20px;
}
#account-content-edit dl {
    margin: 0;
    padding: 0;
}
#account-content-edit dt {
    color: var(--grey-color);
    margin-top: 16px;
}
#account-content-edit dt:first-child {
    margin-top: 0;
}
#account-content-edit dd {
    margin-top: 10px;
    color: var(--dark-grey-color);
    margin-left: 0;
}
#account-content-edit dd strong {
    font-weight: 500;
}
#account-content-edit .image-block .choose {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
#account-content-edit .image-block .image {
    margin-right: 20px;
}
#account-content-edit .image-block .image img {
    max-width: 100%;
    max-height: 200px;
}
#account-content-edit .image-block .actions .button-white {
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 13px;
    justify-content: center;
    padding: 10px;
    height: auto;
}
#account-content-edit .image-block .actions .button-white i {
    font-size: 14px;
    margin-right: 10px;
}
#account-content-edit .editor-block .checkbox, #account-content-edit .editor-block .textarea {
    margin-bottom: 20px;
}
#account-content-edit .right .info-block {
    margin-bottom: 20px;
}

#account-content-version h4 {
    font-weight: 500;
    font-size: 14px;
    margin: 0 0 24px;
}
#account-content-version p {
    font-weight: 400;
    font-size: 14px;
    margin: 0 0 24px;
    color: var(--grey-color);
}
#account-content-version .back {
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 12px;
    color: var(--grey-color);
}
#account-content-version .back i {
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555555;
    border: 2px solid #E5E4E4;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    margin-right: 8px;
}
#account-content-version th {
    padding-left: 0;
}
#account-content-version td a {
    font-weight: 500;
    font-size: 12px;
    color: var(--grey-color);
    display: inline-flex;
    align-items: center;
}
#account-content-version td.action {
    text-align: right;
    width: 180px;
}
#account-content-version td a i {
    border: 1px solid #E9E9E9;
    border-radius: var(--border-radius);
    margin-right: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#account-content-poll {
    max-width: 831px;
}
#account-content-poll h3 {
    font-weight: 500;
    font-size: 16px;
}
#account-content-poll .button-red {
    margin-top: 20px;
}
#account-content-poll .table,
#account-content-poll .link-button {
    margin: 20px 0;
}
#account-content-poll h2 {
    font-weight: 400;
    font-size: 16px;
    margin: 0 0 20px;
}
#account-content-poll .table .button-white {
    height: 24px;
    width: 24px;
    padding: 0;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: #555555;
}

.user-files .file_link {
    display: inline-flex;
    align-items: center;
}
.user-files .file_link i {
    font-size: 28px;
    height: 28px;
    margin-right: 10px;
}
.user-files .files_buttons_bar button:nth-child(5)::before,
.user-files .files_buttons_bar button:nth-child(6)::before {
    content: '\e92c';
}
.user-files .files_buttons_bar button {
    margin-right: 40px !important;
}
.user-files .info {
    line-height: 1.4;
}

#account-content-editor .columns {
    display: flex;
}
#account-content-editor .left {
    flex: 4 4;
    margin-right: 20px;
}
#account-content-editor .right {
    flex: 6 6;
}
#account-content-editor .info-block {
    margin-top: 0;
}
#account-content-editor .content-block + .content-block,
#account-content-editor .info-block + .content-block {
    margin-top: 20px;
}
#account-content-editor .price {
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
#account-content-editor .discount {
    color: var(--grey-color);
    font-size: 14px;
    display: flex;
    align-items: center;
}
#account-content-editor .discount span {
    color: var(--main-color);
    font-weight: 700;
}
#account-content-editor .discount .note {
    margin-left: 10px;
}
#account-content-editor .total {
    display: flex;
    justify-content: space-between;
    color: var(--grey-color);
    font-weight: 500;
    font-size: 14px;
}
#account-content-editor .total strong {
    color: var(--dark-grey-color);
}
#account-content-editor #message {
    margin-top: 20px;
}
#account-content-editor .confirm {
    margin: 20px 0;
}
#account-content-editor .error {
    margin-bottom: 20px;
}

#account-content-moderation .author {
    margin-bottom: 16px;
}
#account-content-moderation form > .button-red {
    margin-top: 20px;
}
#account-content-moderation .content-block + .content-block {
    margin-top: 20px;
}
#account-content-moderation .checkbox + .checkbox {
    margin-top: 10px;
}
#account-content-moderation .table th:first-child,
#account-content-moderation .table td:first-child {
    padding-left: 0 !important;
}
#account-content-moderation .table tr:last-child td {
    padding-bottom: 0;
    border-bottom: 0;
}
#account-content-moderation .history a {
    color: var(--grey-color);
    text-decoration: underline;
}

@media(max-width: 768px) {
    #account-content .search .text-input {
        width: 100%;
    }
    #account-content-edit .columns {
        display: block;
    }
    #account-content-edit .columns .right {
        margin: 20px 0 0;
        width: 100%;
    }
    #account-content-edit .left .buttons {
        display: none;
    }
    #account-content-edit .right .buttons {
        display: flex;
    }
    #account-content-edit .actions,
    #account-content-edit .actions .button-white {
        margin-bottom: 10px;
    }

    #account-content-version .table tbody tr {
        display: flex;
        flex-wrap: wrap;
        border-top: 1px solid var(--lightest-grey-color);
        border-bottom: 1px solid var(--lightest-grey-color);
    }
    #account-content-version .table tbody td,
    #account-content-version .table thead th {
        border: 0 !important;
        text-align: left;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #account-content-version .table tbody tr td:first-child {
        flex: 0 0 100%;
    }
    #account-content-version .table tbody tr td:nth-child(2),
    #account-content-version .table tbody tr td:nth-child(3),
    #account-content-version .table tbody tr td:nth-child(4) {
        flex: 0 0 calc(33.333% - 10px);
    }

    #account-content-poll {
        width: 100%;
    }
    #account-content-editor .columns {
        display: block;
    }
    #account-content-editor .left {
        width: 100%;
        margin: 0 0 20px 0;
    }
}