@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&display=swap');

body {

    margin: 0;
    background: #111 url('../../assets/bg/Serch_order.svg') no-repeat center center;
    background-size: cover;
    font-family: 'Montserrat', sans-serif;
    color: white;
    position: relative;
    min-height: 100vh;
}

.main-title {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 93px;
    margin-left: 370px;
    margin-top: 60px;
    margin-bottom: 40px;
}

.input-group {
    margin-left: 100px;
    margin-top: 100px;
    margin-bottom: 32px;
}

.input-group label {
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
}

.input-group input {
    width: 400px;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    margin-right: 12px;
}

.input-group button {
    width: 147px;
    height: 46px;
    background: #8744a4;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(135, 68, 164, 0.4);
}

.input-group button:active {
    transform: scale(0.96);
}

.need-help-img {
    position: absolute;
    left: 980px;
    top: 180px;
    width:600px;
}

.qr-block {
    position: absolute;
    top: 460px; /* ← приподняли */
    left: 1050px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.help-arrow {
    position: absolute;
    top: -150px;
    left: 350px;
    width: 110px;
    transform: rotate(353deg);
}

.qr-box {
    width: 350px;
    height: 350px;
    background: #8744a4;
    border-radius: 25px;
    border: 2px solid white;
    transform: rotate(3deg);
    margin-bottom: 12px;
}

.qr-label {
    color: rgb(255, 255, 255);
    font-family: Montserrat;
    font-size: 32px;
    font-weight: 500;
    line-height: 39px;
    letter-spacing: 0%;
    text-align: left;
    transform: rotate(2.42deg);
}
/* Белая подложка внутри наклонённой фиолетовой карты */
.qr-box {
    position: relative;
    display: grid;
    place-items: center; /* центрируем содержимое */
}

.qr-box::after {
    content: "";
    position: absolute;
    inset:5%;                 /* отступы белого квадрата от краёв */
    background: #fff;          /* белый фон под QR */
    border-radius: 16px;       /* мягкие углы как в макете */
    border: 2px solid #000;    /* тонкая чёрная рамка для контраста/quiet zone */
    box-shadow: 0 2px 14px rgba(0,0,0,.15);
    z-index: 0;
}

.qr-inside {
    position: relative;
    z-index: 1;          /* поверх белого квадрата */
    width: 85%;           /* сам QR меньше белой подложки — остаётся «тихая зона» */
    height: auto;
    image-rendering: crisp-edges; /* для чёткого QR */
}

/* Мобилки: чуть больше отступ белой подложки, чтобы не липло к краям */
@media (max-width: 480px) {
    .qr-box::after { inset: 12%; }
    .qr-inside     { width: 70%; }
}

.social-area {

    margin-top: 150px;
    left: 100px;
    width: 360px;
    height: 150px;
    position: relative;
}

.social-text-line1 {
    position: absolute;
    top: -30px;
    left: 0;
    transform: rotate(-7deg);
    font-size: 24px;
    font-weight: 500;
    white-space: nowrap;
}
.social-text-line2 {
    position: absolute;
    top: -20px;
    left: 150px;
    transform: rotate(356deg);
    font-size: 24px;
    font-weight: 500;
    white-space: nowrap;
}
.social-oval {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 330px;
    z-index: -1;
}
.social-icons {
    position: absolute;
    bottom: 0;
    left: 55px;
    top: 40px;
    display: flex;
    gap: 20px;
}

.social-icons div {
    width: 64px;
    height: 67px;

    border-radius: 10px;
}
.social-icons div img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}
.social-icons a:hover img {
    transform: scale(1.1);
}

.card-status {
    margin-top: 24px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    max-width: 420px;
    box-shadow:
            0 4px 12px rgba(140, 0, 255, 0.15),
            0 10px 40px rgba(140, 0, 255, 0.12);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}



.card-status span {
    font-weight: 600;
}

.hidden {
    display: none;
}

@media (min-width: 2000px) {
    .main-title {
        font-size: 80px;
        margin-left: 480px;
    }

    .input-group {
        margin-left: 200px;
    }

    .input-group input {
        width: 500px;
        font-size: 18px;
    }

    .input-group button {
        width: 180px;
        height: 56px;
        font-size: 18px;
    }

    .need-help-img {
        left: 1300px;
        width: 700px;
    }

    .qr-block {
        left: 1400px;
    }

    .qr-box {
        width: 400px;
        height: 400px;
    }

    .qr-label {
        font-size: 36px;
    }

    .social-area {
        left: 200px;
    }

    .social-oval {
        width: 400px;
    }

    .social-icons div {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 1024px) {
    .main-title {
        font-size: 48px;
        line-height: 60px;
        margin-left: 40px;
        text-align: center;
    }

    .input-group {
        width: 90%;
        max-width: 400px;
        margin: 20px auto;
        display: flex;
        flex-direction: column;
        align-items: stretch; /* выравнивание по ширине */
    }

    .input-group label {
        text-align: left;
        margin-left: 4px;
        font-size: 16px;
    }

    .input-group input {
        width: 100%;
        font-size: 15px;
        padding: 10px 14px;
        text-align: left;
        box-sizing: border-box;
        margin-bottom: 8px;
    }

    .input-group button {
        width: 100%;
        font-size: 15px;
        height: 42px;
    }

    .need-help-img {
        width: 80%;
        max-width: 400px;
        position: static;
        margin: 0 auto;
        display: block;
    }

    .qr-block {
        position: static;
        margin: 40px auto;
        align-items: center;
    }

    .help-arrow {
        display: none;
    }

    .qr-box {
        width: 220px;
        height: 220px;
    }

    .qr-label {
        font-size: 20px;
        text-align: center;
    }

    .social-area {
        position: static;
        margin: 60px auto 40px;
        width: 100%;
        text-align: center;
    }

    .social-text-line1,
    .social-text-line2 {
        position: static;
        transform: none;
        font-size: 18px;
        text-align: center;
        margin-bottom: 0px;
    }

    .help-arrow {

        display: block;
        position: relative;
        top: -50px;
        left: 10%;
        width: 50px;
        transform: rotate(359deg);
        margin-bottom: -40px;

    }

    .social-oval {
        display: block;
        position: absolute;
        bottom: 0;
        left: 36%;
        width: 280px;
        z-index: -1;
    }

    .social-icons {
        justify-content: center;
        position: static;
        margin-top: 12px;
    }
}
@media (max-width: 768px) {
    .help-arrow {
        display: block;
        position: relative;
        top: -50px;
        left: 20%;
        width: 50px;
        transform: rotate(359deg);
        margin-bottom: -40px;
    }

    .social-oval {
        display: block;
        position: absolute;
        bottom: 0;
        left: 30%;
        width: 280px;
        z-index: -1;
    }
}
@media (max-width: 480px) {
    .main-title {
        padding: 150px 20px 10px;
        font-size: 36px;
        line-height: 46px;
        margin-left: 0;
    }

    .input-group input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .input-group button {
        height: 38px;
        font-size: 14px;
    }

    .qr-box {
        width: 180px;
        height: 180px;
    }
    .social-icons div {
        width: 50px;
        height: 50px;

    }

    .qr-label {
        font-size: 16px;
    }
    .social-oval {
        display: block;
        position: absolute;
        bottom: 0;
        left: 15%;
        width: 280px;
        z-index: -1;
    }
}
.back-button {
    position: absolute;
    top: 25%; /* ← стало 120px вместо 30px */
    left: 30px;
    z-index: 1000;
    background: linear-gradient(105deg, #8744a4, #d035e2);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.back-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(105deg, #9a57c6, #e14ae8);
}

@media (max-width: 480px) {
    .back-button {
        top: 12%;
        left: 16px;
        font-size: 14px;
        padding: 8px 14px;
    }
}

