﻿
:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --muted: #6b7280;
    --primary: #0f62fe;
    --accent: #00b894;
    --glass: rgba(255,255,255,0.6);
    --radius: 12px;
    --max-width: 1100px;
}


.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 15px auto;
}

.header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.brand {
    background: linear-gradient(135deg,var(--primary),#6f42c1);
    color: white;
    padding: 14px 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(15,98,254,0.12);
}

    .brand h1 {
        margin: 0;
        font-size: 18px;
        font-family: "Roboto Slab", serif;
        letter-spacing: 0.2px;
    }

    .brand p {
        margin: 0;
        font-size: 12px;
        opacity: 0.95
    }

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 8px 30px rgba(16,24,40,0.06);
    margin-top: 12px;
    overflow: hidden;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
}

@media (max-width:980px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

form .section-title {
    font-weight: 700;
    color: #323b89;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.muted {
    color: var(--muted);
    font-size: 13px;
}

label.input {
    display: block;
    font-size: 13px;
    font-weight: bolder;
    color: var(--muted);
    margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e6e9ee;
    background: linear-gradient(180deg, #fff, #fbfdff);
    font-size: 14px;
    outline: none;
    transition: box-shadow .15s, border-color .12s;
}

    input:focus, textarea:focus, select:focus {
        border-color: rgba(15,98,254,0.5) !important;
        box-shadow: 0 6px 20px rgba(15,98,254,0.06);
    }

textarea {
    min-height: 110px;
    resize: vertical;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

@media (max-width:680px) {
    .row, .row-3 {
        grid-template-columns: 1fr;
    }
}

.checkboxes input {
    width: 16px;
    height: 16px;
}

/* Checkboxes */
.checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
    gap: 10px;
}

    .checkboxes label {
        display: flex;
        align-items: center;
        gap: 8px;
        border: 1px solid #eaeef5;
        padding: 8px 12px;
        border-radius: 10px;
        background: #fff;
        cursor: pointer;
        font-size: 14px;
        transition: background .2s,border-color .2s;
    }

        .checkboxes label:hover {
            background: #f0f4ff;
            border-color: #d0d8ff;
        }

.muted-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    color: white;
}

    .btn.primary {
        background: var(--primary);
        box-shadow: 0 6px 22px rgba(15,98,254,0.12);
    }

    .btn.ghost {
        border: 1px solid #e6e9ee;
        font-weight: 600;
        color: #fff;
        background-image: linear-gradient(180deg, #FBAA19 100%, #f2295b 100%);
    }

    .btn.secondary {
        background: var(--accent);
    }

    .btn.ghost:hover {
        background-image: linear-gradient(180deg, #FBAA19 100%, #c0392b 100%);
    }

.sidecard {
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(250,250,255,0.85));
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(13,16,26,0.03);
}

.small {
    font-size: 13px;
    color: var(--muted);
}

.speakers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.speaker {
    padding: 10px;
    border-radius: 10px;
    border: 1px dashed #eef2ff;
    background: linear-gradient(180deg,#ffffff,#fbfdff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

    .speaker .row {
        gap: 10px;
    }

    .speaker .rm {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        justify-content: flex-end;
        margin-top: 8px;
    }

.icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.help {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

footer.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.preview {
    border-radius: 8px;
    padding: 10px;
    background: linear-gradient(180deg,#f9fbff,#fff);
    border: 1px solid #eef6ff;
    font-size: 13px;
}

.tag {
    display: inline-block;
    background: #eef9f7;
    color: #056a4f;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    margin-right: 6px;
    margin-bottom: 6px;
}

.required {
    color: #e11d48;
    margin-left: 6px;
    font-weight: 600;
}

/* Print */
@media print {
    body {
        background: white;
        padding: 0
    }

    .card {
        box-shadow: none
    }

    .brand {
        box-shadow: none
    }

    .controls, .sidecard {
        display: none
    }
}