﻿:root {
    --bg: #d9f4f5;
    --card: rgba(255,255,255,0.92);
    --cardBorder: rgba(0,0,0,0.08);
    --text: #0f172a;
    --muted: rgba(15, 23, 42, 0.65);
    --fieldBg: rgba(255,255,255,0.95);
    --fieldBorder: rgba(0,0,0,0.20);
    --fieldBorderFocus: rgba(0, 179, 186, 0.65);
    --accent: #006b70;
    --accent2: #008d93;
    --danger: #dc2626;
    --shadow: 0 18px 60px rgba(0,0,0,.20);
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
/*    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;*/
    font-family: 'bebas-neue-pro-expanded', sans-serif;
    color: var(--text);
    background: var(--bg);
}

.page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 18px;
    gap: 18px;
}

.card {
    width: min(820px, 100%);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 12px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.25), 0 8px 20px rgba(0,0,0,0.10);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 50px 100px rgba(0,0,0,0.30), 0 12px 24px rgba(0,0,0,0.12);
    }


.event-hero {
    padding: 40px 40px 30px;
    text-align: center;
    background: linear-gradient( 135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7) );
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.event-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0,179,186,0.15);
    color: #006b70;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.event-hero h1 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.event-lead {
    margin: 0 0 18px;
    font-size: 17px;
    color: rgba(15,23,42,0.75);
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: rgba(15,23,42,0.70);
    margin-bottom: 20px;
}

.event-price {
    margin-top: 10px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(0,179,186,0.08);
    border: 1px solid rgba(0,179,186,0.18);
}

    .event-price strong {
        display: block;
        font-size: 20px;
        color: #006b70;
        margin-bottom: 6px;
    }

    .event-price span {
        font-size: 13px;
        color: rgba(15,23,42,0.70);
    }



form {
    padding: 32px 40px 40px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    background: var(--fieldBg);
    border: 1px solid var(--fieldBorder);
    border-radius: 14px;
    padding: 12px 12px 10px;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

    .field:focus-within {
        border-color: var(--fieldBorderFocus);
        box-shadow: 0 0 0 4px rgba(0, 179, 186, 0.18);
        transform: translateY(-1px);
    }

    .field.full {
        grid-column: 1 / -1;
    }

.fieldreadonly {
    background: none;
    border: none;

}

label {
    display: flex;
    gap: 8px;
    align-items: baseline;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(15, 23, 42, 0.75);
    font-weight: 700;
}

.optional {
    color: rgba(15, 23, 42, 0.50);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

input, textarea, select {
    width: 100%;
    margin-top: 8px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
}

textarea {
    resize: vertical;
}

.hint {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(15, 23, 42, 0.55);
}

.row {
    margin-top: 14px;
}

.checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    user-select: none;
    color: rgba(15, 23, 42, 0.75);
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 500;
}

    .checkbox input {
        margin-top: 2px;
        width: 16px;
        height: 16px;
    }

.actions {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

button {
    position: relative;
    border: none;
    cursor: pointer;
    border-radius: 14px;
    padding: 14px 16px;
    color: white;
    font-weight: 750;
    font-size: 16px;
    letter-spacing: -.01em;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition: transform .14s, filter .14s, opacity .14s;
}

    button:hover {
        transform: translateY(-1px);
        filter: brightness(1.05);
    }

    button:active {
        transform: translateY(0px);
    }

    button[disabled] {
        opacity: .70;
        cursor: not-allowed;
    }

.spinner {
    display: none;
    position: absolute;
    right: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: rgba(255,255,255,.95);
    transform: translateY(-50%);
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.fineprint {
    margin: 0;
    font-size: 12px;
    color: rgba(15, 23, 42, 0.55);
    text-align:center;
}

.message {
    margin-top: 14px;
    min-height: 22px;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.85);
}

    .message.error {
        color: var(--danger);
    }

    .message.success {
        color: #15803d;
    }

.footer {
    color: rgba(0,0,0,0.92);
    font-weight: 600;
}

/* Success/Cancel helpers */
.contentPad {
    padding: 0 28px 28px;
}

.muted {
    color: rgba(15, 23, 42, 0.75);
}

.code {
    background: rgba(0,0,0,0.05);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.10);
/*    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;*/
    font-family: 'bebas-neue-pro-expanded', sans-serif;
}

.linkBtn {
    display: inline-block;
    text-decoration: none;
    color: var(--text);
    font-weight: 750;
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.10);
    transition: transform .14s, filter .14s;
}

    .linkBtn:hover {
        transform: translateY(-1px);
        filter: brightness(1.03);
    }

@media (max-width: 680px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
