﻿/* STYLES 25.07.2025
Developer: t.me/moretheme
Screen resolution: 460, 860, 1440, 1920 */
:root {
    --bg: #f1f5f9;
    --bg2: #fff;
    --text: #000;
    --text1: #fff;
    --text2: #95a0b6;
    --text3: #3d434f;
    --color1: #5490ea;
    --color2: #6fa7fa;
    --light: rgb(255 255 255 / 10%);
    --light2: rgb(255 255 255 / 30%);
    --dark: rgb(0 0 0 / 30%);
    --radius: 20px;
    --shadow: 1px 1px 13px rgb(28 36 52 / 10%);
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: normal;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
}

/* HEADER, MAIN, ASIDE */
header {
    position: fixed;
    bottom: 10px;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%,0%);
    display: flex;
    align-items: center;
    grid-gap: 30px;
    background: #3d434f;
    color: #fff;
    padding: 10px 30px;
    width: max-content;
    height: max-content;
    border-radius: 50px;
    z-index: 8;
}

@media (max-width: 860px) {
    header {
        width: 100%;
        bottom: 0;
        border-radius: 0;
        grid-gap: 20px;
    }
}

header > a, .header-user > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-gap: 10px;
    font-size: 10px;
}

header > a i.fa-regular, .header-user > a i {
    font-size: 20px;
    font-weight: 300;
}

.header-user {
    position: relative;
}

.header-user > div {
    position: absolute;
    width: 180px;
    bottom: 150%;
    right: 0;
    background: #fff;
    color: #000;
    padding: 4px;
    box-shadow: 1px 1px 13px rgb(28 36 52 / 10%);
    border-radius: var(--radius);
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    z-index: 5;
}

.header-user > div:before {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 15px;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: rotate(45deg);
    z-index: -1;
}

.header-user.active div {
    visibility: visible;
    opacity: 1;
    transform: translateY(10px);
}

.header-user > div > a {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    background: transparent;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    color: var(--text3);
}

.header-user > div > a:hover {
    background: var(--color1);
    color: #fff;
}

main {
    margin-right: 300px;
}

aside {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--bg2);
    box-shadow: var(--shadow);
    padding: 22px 30px;
}

@media (max-width: 860px) {
    main {
        margin-right: 0;
    }

    aside {
        display: none;
    }
}

/* PLOT LOGIN */
.plots-login {
    position: fixed;
    background: url(../images/bg.jpg) center / cover no-repeat;
    box-shadow: inset 0 9999px rgb(22 20 30 / 60%);
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 6;
}

.plots-login:before {
    content: "";
    position: absolute;
    background: rgba(0,0,0,.2);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.plots-login form {
    background: var(--light);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--light);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 0 2px rgb(0 0 0 / 8%), 0 2px 24px rgb(0 0 0 / 6%);
    width: 100%;
    max-width: 480px;
    padding: 60px;
    text-align: center;
}

@media (max-width: 860px) {
    .plots-login form {
        width: 100%;
        max-width: 95%;
        padding: 40px 30px;
    }
}

.plots-login form input {
    background: var(--light);
    border: 1px solid var(--light);
}

/* PLOTS PAGINATION */
.plots-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 10px;
    margin-top: 30px;
}

.plots-pagination a {
    background: var(--bg2);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    border-radius: var(--radius);
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.plots-pagination a.active {
    background: var(--color1);
    color: #fff;
}

.plots-pagination a:hover {
    background: var(--color2);
    color: #fff;
}

/* PLOT SEARCH */
.plots-search {
    display: flex;
    align-items: center;
    background: var(--bg2);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 3px 3px 3px 20px;
    margin-bottom: 40px;
}

/* PLOTS STAT */
.plots-stat {
    margin-bottom: 30px;
}

.plots-stat_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(45deg, #748afd, #8054fa);
    color: var(--text1);
    box-shadow: 0 0 2px rgb(0 0 0 / 8%), 0 2px 24px rgb(0 0 0 / 6%);
    border-radius: 50px;
    padding: 10px 30px;
    font-size: 12px;
}

.plots-stat_item + .plots-stat_item {
    margin-top: 5px;
}

.plots-stat_item:nth-child(2n) {
    background: linear-gradient(45deg, #4caa7c, #71e0cd);
}

.plots-stat_item:nth-child(3n) {
    background: linear-gradient(45deg, #f2af4c, #e5c19e);
}

.plots-stat_item:nth-child(4n) {
    background: linear-gradient(45deg, #eb5769, #fa54bc);
}

.plots-stat_item > div b {
    display: block;
    font-size: 20px;
    margin-top: 5px;
}

.plots-stat_item > i {
    display: inline-block;
    background: var(--light);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    font-size: 16px;
}

/* PLOTS HEAD */
.plots-home_head {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 15px;
    margin-bottom: 30px;
    font-size: 18px;
}

.plots-home_head > img {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    object-fit: cover;
    object-position: top;
}

.plots-home_head > div span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text2);
}

/* PLOTS MAPSG */
.plots-mapsg_link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: var(--bg2);
    box-shadow: var(--shadow);
    padding: 3px;
    border-radius: 50px;
    margin-bottom: 20px;
    overflow: hidden;
}

.plots-mapsg_link button {
    display: inline-block;
    background: transparent;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
}

.plots-mapsg_link button.active {
    background: var(--color1);
    color: #fff;
}

/* PLOT ITEMS */
.plots-item {
    position: relative;
    background: #35414c;
    color: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 20px 60px 50px 30px;
    overflow: hidden;
}

.plots-item_head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 20px;
    margin-bottom: 20px;
}

.plots-item_head > a {
    font-size: 14px;
    font-weight: bold;
}

.plots-item_user {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    background: #475562;
    border-radius: var(--radius);
    padding: 5px 15px;
    font-size: 10px;
    font-weight: 500;
}

.plots-item_date {
    display: flex;
    flex-direction: column;
    grid-gap: 5px;
    font-size: 12px;
    color: var(--text2);
}

.plots-item_date > span:nth-child(2) {
    display: flex;
    align-items: center;
    grid-gap: 5px;
    color: #fff;
}

.plots-item_date > span .fa-check {
    background: #00ae5d;
    color: #fff;
    width: 15px;
    height: 15px;
    border-radius: 50px;
    line-height: 15px;
    font-size: 8px;
    text-align: center;
}

.plots-item_adrr > span {
    display: block;
    color: var(--text2);
    margin-bottom: 5px;
    font-size: 12px;
}

.plots-item_adrr li {
    display: flex;
    grid-gap: 20px;
    font-size: 12px;
    line-height: 1.5;
    margin: 5px 0;
}

.plots-item_adrr li span {
    display: inline-block;
    min-width: 70px;
    height: max-content;
    background: #ff4e59;
    border-radius: var(--radius);
    padding: 3px 10px;
    font-size: 8px;
    font-weight: bold;
    text-align: center;
    margin-left: auto;
}

.plots-item_adrr li span[title="Изучает"] {
    background: #00ae5d;
}

.plots-item_adrr li span[title="Отказ"] {
    background: #cc6601;
}

.plots-item_dist {
    position: absolute;
    display: flex;
    width: 100%;
    left: 0;
    bottom: 0;
    background: #2579be;
    color: #fff;
    padding: 10px 30px;
    border-radius: 0 0 var(--radius) var(--radius);
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
}

.plots-item_dist:before {
    content: "";
    position: absolute;
    background: #fff;
    width: 80px;
    height: 100%;
    left: 0;
    top: 0;
    animation: reflect 4s infinite;
    filter: blur(50px);
}

@keyframes reflect {
    0% {
        transform: translateX(-100px) skewX(-15deg);
    }

    100% {
        transform: translateX(800px) skewX(-15deg);
    }
}

.plotss-item_dist span:first-child {
    font-weight: 500;
    margin-right: auto;
}

.plots-item_title > span.plot-item_limit {
    margin-left: auto;
    margin-right: 10px;
    font-size: 10px;
}

.plots-item_title > span.plot-item_limit > b {
    display: inline-block;
    background: var(--light);
    padding: 3px 8px;
}

.plots-item_ed {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
}

.plots-item_ed > div {
    position: absolute;
    background: var(--bg2);
    color: var(--text);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    border-radius: var(--radius);
    width: 180px;
    top: 100%;
    right: 0;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    overflow: hidden;
    z-index: 5;
}

.plots-item_ed.active > div {
    visibility: visible;
    opacity: 1;
    transform: translateY(10px);
}

.plots-item_ed > div a {
    display: block;
    text-align: left;
}

/* PLOTS FORM */
.plots-form {
    background: var(--bg2);
    padding: 30px;
    border-radius: var(--radius);
}

.plots-form .e-grid2 {
    margin-bottom: 20px;
}

.plots-form .e-grid2 .e-float {
    margin-bottom: 0;
}

.plots-form .e-float img {
    display: block;
    width: 100px;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
}

.plots-form_district div {
    display: flex;
    flex-wrap: wrap;
    background: #2579be;
    color: #fff;
    padding: 15px 30px;
    border-radius: var(--radius);
    margin: 20px 0;
    font-weight: 600;
}

@media (max-width: 460px) {
    .plots-form_district span {
        display: block;
        width: 100%;
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 3px;
    }
}

.plots-form_district span {
    order: -1;
    margin-right: auto;
    font-weight: 500;
}

.plots-form_district[style="display: block;"] + .e-float, .plots-form_district[style="display: block;"] + .e-float .e-float {
    display: none;
}

.plots-form .e-flex {
    align-items: center;
    grid-gap: 40px;
}

.plots-form .e-flex input + a {
    background: #262626;
    margin-left: 20px;
}

.plots-form select {
    background: transparent;
    border: 1px solid rgb(61 67 79 / 19%);
    margin-bottom: 20px;
}

.plots-form input[type="file"] {
    width: 100%;
}

/* PLOTS CART */
.plots-cart {
    position: relative;
    grid-gap: 0;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    overflow: hidden;
}

.plots-cart_addr {
    display: block;
    background: #222028;
    color: var(--text1);
    padding: 30px 20px;
}

@media (max-width: 860px) {
    .plots-cart_addr {
        width: 100%;
    }
}

.plots-cart_addr h3, .plots-cart_info h3 {
    margin-bottom: 20px;
}

.plots-cart_addr li {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
}

.plots-cart_addr li:nth-child(2n+1) {
    background: var(--light);
}

.plots-cart_addr li:hover {
    background: var(--light2);
}

.plots-cart_addr li span[title] {
    display: inline-block;
    border: 1px solid #ff4e59;
    color: #ff4e59;
    padding: 4px 10px;
    border-radius: var(--radius);
    font-size: 8px;
    font-weight: bold;
    margin-right: 10px;
}

.plots-cart_addr li span[title="Изучает"] {
    border-color: #00ae5d;
    color: #00ae5d;
}

.plots-cart_addr li span[title="Переехал"] {
    border-color: #03A9F4;
    color: #03A9F4;
}

.plots-cart_addr li span[title="Отказ"] {
    border-color: #cc6601;
    color: #cc6601;
}

.plots-cart_addr li a i {
    display: inline-block;
    background: var(--color1);
    border-radius: var(--radius);
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-left: auto;
}

.plots-cart_detal {
    display: inline-block;
    background: var(--bg2);
    box-shadow: 0 0 2px rgb(0 0 0 / 8%), 0 2px 24px rgb(0 0 0 / 6%);
    padding: 30px;
}

@media (max-width: 860px) {
    .plots-cart_detal {
        margin-left: 0;
        width: 100%;
    }
}

.plots-cart_title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.plots-cart_title h3 {
    margin-bottom: 0;
}

.plots-cart_title span {
    color: #7c7c7c;
    margin-left: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.plots-cart_detal li {
    display: grid;
    grid-gap: 20px 20px;
    grid-auto-rows: max-content;
    grid-template-columns: repeat(4, 1fr) 20px;
    padding: 8px 10px;
    font-weight: bold;
}

.plots-cart_detal li:first-child {
    background: var(--bg3);
    color: #c5c5c5;
    font-size: 12px;
    font-weight: 500;
}

.plots-cart_detal li:nth-child(1n+2) {
    background: var(--bg);
}

.plots-cart_info {
    display: inline-block;
    background: var(--bg2);
    box-shadow: 0 0 2px rgb(0 0 0 / 8%), 0 2px 24px rgb(0 0 0 / 6%);
    padding: 30px 20px;
    flex: 1 1 0;
}

@media (max-width: 860px) {
    .plots-cart_info {
        margin-left: 0;
        width: 100%;
    }
}

.plots-cart_info li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0;
    color: #6c6c6c;
}

.plots-cart_info li span {
    font-weight: bold;
    color: #000;
}

.plots-cart_info > i {
    float: left;
    margin-right: 10px;
    font-size: 18px;
}

.plots-cart_link > a, .plots-cart_link .e-share > span {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    background: var(--color1);
    border-radius: var(--radius);
    color: var(--text1);
    padding: 15px 20px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
}

.plots-cart_link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 10px;
    margin-top: 30px;
}

.plots-cart_link a:hover {
    opacity: 0.8;
}

/* PLOT ADR */
.plot-adr {
    position: relative;
    width: 800px;
}

.plot-adr_qr1 {
    position: absolute;
    top: 114px;
    right: 30px;
    width: 125px;
    height: 125px;
}

.plot-adr_qr2 {
    position: absolute;
    bottom: 20px;
    right: 15px;
    width: 100px;
    height: 100px;
    opacity: 0.3;
}

.plot-adr_info {
    position: absolute;
    top: 57px;
    right: 52px;
    width: 80px;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    z-index: 2;
}

.plot-adr_adr {
    position: absolute;
    width: 520px;
    top: 75px;
    left: 45px;
    font-size: 16px;
    z-index: 2;
}

.plot-adr_adr span {
    display: block;
    margin-bottom: 14px;
}

.plot-adr_adr + img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* PLOTS CREATE */
.plots-create {
    position: relative;
    width: 878px;
    height: 622px;
    overflow: hidden;
}

.plots-create_line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 30px;
    color: #fff;
    font-weight: bold;
}

.plots-create_line > span:first-child span {
    display: block;
    font-size: 10px;
    font-weight: 500;
    margin-top: 2px;
    opacity: 0.8;
}

.plots-create_line > span:last-child {
    min-width: 200px;
    text-align: right;
}

.plots-create_line > span:last-child > span {
    opacity: 0.8;
    font-weight: 500;
}

/* ALERT */
.alert {
    position: fixed;
    width: 300px;
    right: 20px;
    top: 80px;
    font-size: 14px;
    text-align: center;
    z-index: 9999;
}

@media (max-width: 860px) {
    .alert {
        right: 15px;
        top: 15px;
        font-size: 12px;
        width: 200px;
    }
}

.alert-block {
    position: relative;
    display: block;
    background: #4CAF50;
    border-radius: 10px;
    color: #fff;
    box-shadow: 3px 5px 8px rgba(0, 55, 76, 0.31);
    padding: 15px 40px 15px 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.alert-block.danger {
    background: #f49336;
}

.alert-block.error {
    background: #F44336;
}

.alert-block_bar {
    position: absolute;
    background: var(--light2);
    left: 0;
    bottom: 0;
    height: 2px;
}

.alert-block_close {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

/* CONFIRM */
.confirm {
    position: fixed;
    background: rgb(0 0 0 / 40%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 6;
}

.confirm-content {
    position: relative;
    max-width: 450px;
    margin: 200px auto 0;
    background: var(--bg2);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    border-radius: var(--radius);
    padding: 40px 80px;
    text-align: center;
    animation: alertshow .2s ease;
}

.confirm-link a {
    display: inline-block;
    background: #73BF00;
    color: var(--text1);
    padding: 10px 30px;
    border-radius: var(--radius);
    margin-top: 20px;
    cursor: pointer;
}

.confirm-link a:last-child {
    background: #646464;
    margin-left: 10px;
}

@keyframes alertshow {
    0% {
        opacity: 0;
        transform: scale(.5)
    }

    70% {
        opacity: .7;
        transform: scale(1.05)
    }

    100% {
        opacity: 1;
        transform: scale(1)
    }
}
