﻿/* ===== page ===== */
.page {
    background: #f5f6f8;
/*    min-height: 100vh;
}*/

.container-narrow {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2px 20px 60px;
}

/* ===== section title ===== */
.h1row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 18px;
}

    .h1row .mark {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 8px 20px rgba(0,0,0,.06);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .h1row h1 {
        font-size: 45px;
        font-weight: 900;
        color: #5f5d60;
    }

/* ===== cards ===== */
.card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,.10);
    padding: 15px 22px 20px;
    margin: 8px 0 24px;
}

.card-title {
    font-size: 1em;
    font-weight: 800;
    color: #5f5d60;
    margin-left: 2px;
}

/* ===== grid ===== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ===== field ===== */
.field label {
    display: block;
    font-size: 19px;
    color: #5f5d60;
    margin: 2px 0 6px;
    font-weight: 700;
}

.ctrl {
    width: 100%;
    height: 44px;
    border: 1px solid #d6d9de;
    border-radius: 10px;
    padding: 0 12px;
    outline: none;
    background: #fff;
    font-size: 25px;
}

    .ctrl:focus {
        border-color: #7bb7ff;
        box-shadow: 0 0 0 4px rgba(123,183,255,.25);
    }

select.ctrl {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%);
    background-position: calc(100% - 18px) 19px, calc(100% - 12px) 19px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 36px;
}

/* ===== bottom buttons ===== */
.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    gap: 18px;
}

.actions-left {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-soft {
    height: 54px;
    padding: 0 22px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    background: #34b6da;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 10px 22px rgba(52,182,218,.35);
    font-size: 20px;
}

.btn-order {
    height: 54px;
    padding: 0 42px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    background: #ef6b66;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    box-shadow: 0 14px 30px rgba(239,107,102,.35);
}

    .btn-soft:active, .btn-order:active {
        transform: translateY(1px);
    }
