/* Peoplevox-inspired styling: clean, bold, rounded, high-contrast. */
:root {
    --erm-blue: #071d49;
    --erm-blue-2: #0b2d68;
    --erm-cyan: #00a7e1;
    --erm-orange: #ff7a1a;
    --erm-mint: #d9f7ef;
    --erm-cream: #f7f4ee;
    --erm-white: #ffffff;
    --erm-text: #101828;
    --erm-muted: #667085;
    --erm-border: rgba(7, 29, 73, 0.14);
    --erm-shadow: 0 20px 60px rgba(7, 29, 73, 0.16);
}

#erm-content .et_pb_section.et_pb_section_0.et_section_regular {
    background:transparent !important;
}

.erm-registration-wrap {
    display: grid;
    place-items: center;
}
.erm-form {
    width: min(560px, 100%);
    padding: 32px;
    border-radius: 16px;
    background: var(--white);
    border: none;
    box-shadow: var(--dark-blue);
}
.erm-field { margin-bottom: 12px; }
.erm-field label {
    display: block;
    margin-bottom: 2px;
    color: var(--dark-blue);
    font-weight: 800;
}
.erm-field input[type="text"],
.erm-field input[type="email"] {
    width: 100%;
    min-height: 42px;
    border-radius: 6px;
    font-size:16px;
    border: 1px solid var(--medium-gray);
    padding: 12px 14px;
    color: var(--dark-blue) !important;
    background: #fff;
}

/* Optional: style when input is focused */
.erm-field input[type="text"]:focus,
.erm-field input[type="email"]:focus
{
    border-color: #3498db;
    outline: none;
}
.erm-button {
    width: 100%;
    min-height: 54px;
    border: 0;
    font-size: 18px;
    border-radius: 6px;
    padding: 14px 20px;
    background: var(--light-orange-plus-10);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease;
}
.erm-button:hover { transform: translateY(-1px); }
.erm-button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.erm-hp-field {
    position: absolute;
    left: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
#erm-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 999999;
    transform: translateX(-50%) translateY(16px);
    opacity: 0;
    pointer-events: none;
    background: var(--dark-blue-plus-20);
    color: white;
    padding: 16px 22px;
    border-radius: 999px;
    box-shadow: var(--dark-blue);
    font-weight: 800;
    transition: all 0.28s ease;
}
#erm-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.erm-prize-nav {
	display:none !important;
    position: fixed;
    bottom: 18px;
    left: 50%;
    z-index: 100;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: calc(100vw - 28px);
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}
.erm-prize-nav a {
    color: white;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 800;
}
.erm-prize-section {
    display: grid;
    place-items: center;
}
.erm-prize-card {
    text-align: center;
}
.erm-prize-card h2 {
    color: var(--light-blue);
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.95;
}
.erm-prize-image {
    width: min(230px, 52vw);
    height: min(230px, 52vw);
    object-fit: contain;
    display: block;
    margin: 0 auto 20px;
}
.erm-prize-meta {
    margin-top: 12px;
    color: var(--white-blue);
    font-weight: 700;
    display:none;
}
.erm-shuffle {
    min-height: 190px;
    display: grid;
    place-items: center;
    margin: 26px 0;
    padding: 28px;
    border-radius: 6px;
    background: var(--white-blue);
    color: var(--dark-blue);
    font-size: clamp(32px, 6vw, 68px);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -0.05em;
    transition: transform 0.18s ease, background 0.18s ease;
}
.erm-shuffle-pulse {
    transform: scale(1.015);
    background: #eefcf8;
}
.erm-shuffle small {
    display: block;
    margin-top: 10px;
    font-size: clamp(16px, 3vw, 28px);
    letter-spacing: 0;
    color: var(--erm-muted);
}
@media (max-width: 720px) {
    .erm-form { padding: 24px; }
    .erm-prize-card { border-radius: 6px; }
    .erm-prize-nav { top: 10px; }
}
