/* =========================================================
   ticket.overlazy.dev — embed.css
   Только публичная форма регистрации / embed.php
   ========================================================= */

body {
    background: transparent;
    margin: 0;
    padding: 0;
}

.embed-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 12px;
}

.embed-wrap .card {
    padding: 18px;
}

.embed-title {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
}

.embed-note {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 14px;
}

.embed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.embed-full {
    grid-column: 1 / -1;
}

.embed-wrap label {
    font-size: 16px;
}

.embed-wrap .input,
.embed-wrap input[type="text"],
.embed-wrap input[type="email"],
.embed-wrap input[type="tel"],
.embed-wrap textarea,
.embed-wrap select {
    min-height: 42px;
}

.embed-wrap textarea {
    min-height: 90px;
}

.embed-wrap .btn-primary {
    min-height: 60px;
    font-size: 16px;
    padding: 12px 60px;
    color: #ffffff;
    background-color: #00876f;
    border-style: solid !important;
    border-color: #ffffff !important;
    border-width: 6px;
    border-radius: 50px;
    box-shadow: none !important;
    font-weight: 600;
    transition-duration: 0.2s;
    transition-property: background-color, color, border-color, box-shadow, opacity, transform, gap;
    transition-timing-function: ease-in-out;
}

.embed-wrap .btn-primary:hover {
    background-color: #006f5c;
    color: #ffffff;
    transform: translateY(-1px);
}

.embed-wrap .form-actions {
    margin-top: 14px;
}

.embed-wrap .alert,
.embed-wrap .error,
.embed-wrap .success {
    margin-bottom: 14px;
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
    .embed-wrap {
        padding: 8px;
    }

    .embed-wrap .card {
        padding: 14px;
    }

    .embed-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .embed-title {
        font-size: 20px;
    }

    .embed-note {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .embed-wrap label {
        font-size: 13px;
    }

    .embed-wrap .input,
    .embed-wrap input[type="text"],
    .embed-wrap input[type="email"],
    .embed-wrap input[type="tel"],
    .embed-wrap textarea,
    .embed-wrap select {
        min-height: 38px;
    }

    .embed-wrap .btn-primary {
        width: 100%;
        min-height: 56px;
        padding-left: 22px;
        padding-right: 22px;
        font-size: 15px;
    }
}