:root {
    --admd-primary: #0c4f85;
    --admd-accent: #22b6d6;
    --admd-muted: #6b7280;
    --admd-border: #e5e7eb;
    --admd-bg: #ffffff;
}

.admd-vote-form-wrapper {
    background: #f9e269;
    max-width: 100%;
    padding: 50px;
    border-radius: 20px;
    box-sizing: border-box;
}

.admd-msg {
	padding: 16px 20px !important;
	border-radius: 12px;
	margin: 16px auto;
	font-size: 16px;
	font-weight: 500;
	max-width: 640px;
	box-shadow: 0 8px 20px rgba(12, 79, 133, 0.08);
	text-align: center;
}

.admd-msg p {
	margin: 0 0 10px;
}

.admd-msg p:last-child {
	margin-bottom: 0;
}

.admd-msg-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.admd-msg-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.admd-msg-hidden {
	display: none !important;
}

.admd-centered-link {
    text-align: center;
    margin-top: 16px;
}

.admd-centered-link a {
    color: var(--admd-primary);
    text-decoration: none;
    font-weight: 500;
}

.admd-centered-link a:hover {
    text-decoration: underline;
}

/* Login */
.admd-vote-login {
    max-width: 520px;
    margin: 30px auto;
    padding: 40px;
    background: var(--admd-bg);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.admd-login-hero {
	width: 215px;
	height: auto;
	margin: 0 auto 24px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #fff;
	padding: 10px;
}
.btn-next.admd-intro-next img {
	filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7479%) hue-rotate(171deg) brightness(108%) contrast(105%);
	width: 14px;
	position: relative;
	top: 2px;
}

.btn-next.admd-intro-next span {
  display: flex;
}
.btn-next.admd-intro-next {
  display: flex;
  align-content: center;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 4px;
  margin: auto;
}
.admd-login-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admd-login-hero .lock-icon {
    font-size: 28px;
    color: var(--admd-primary);
}

.admd-vote-form-wrapper h3 p {
	margin: 10px 0 10px;
	font-size: 26px;
	font-weight: 600;
	color: var(--admd-primary);
	line-height: 30px;
}
.admd-vote-login .subtitle {
    color: var(--admd-muted);
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.5;
}

.admd-vote-login .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.admd-vote-login label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
}

.admd-vote-login input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--admd-border);
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.admd-vote-login input[type="text"]:focus {
    outline: none;
    border-color: var(--admd-primary);
    box-shadow: 0 0 0 3px rgba(12, 79, 133, 0.15);
}

.admd-vote-login .btn-login {
    width: 100%;
    padding: 12px 24px;
    background: var(--admd-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.admd-vote-login .btn-login:hover {
    background: var(--admd-accent);
}

.admd-vote-login .help-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--admd-primary);
    text-decoration: none;
    font-weight: 500;
}

.admd-vote-login .help-link:hover {
    text-decoration: underline;
}

/* Form */
.admd-vote-form {
    max-width: 640px;
    margin: 20px auto;
    padding: 32px;
    background: var(--admd-bg);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
#vote-section > div.et_pb_row {
	width: 1080px !important;
	max-width: calc(100% - 30px) !important;
	margin: auto !important;
}
.admd-vote-form-wrapper {
	padding: 50px 15px;
}
.admd-question-description {
    margin: 8px 0 16px 0;
    color: var(--admd-muted);
    font-size: 14px;
    line-height: 1.5;
}

.admd-max-choices-alert {
	margin: 8px 0 0px 0;
	padding: 8px 12px !important;
	background: #fef3c7;
	border: 1px solid #fbbf24;
	border-radius: 6px;
	color: #92400e;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

.admd-greeting {
	text-align: center;
	font-size: 22px !important;
	font-weight: 700;
	color: var(--admd-primary) !important;
	margin: 0 0 16px;
}

.admd-vote-form .logout-link {
    display: block;
    text-align: right;
    color: var(--admd-muted);
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 14px;
}

.admd-vote-form .logout-link:hover {
    color: #374151;
}

.admd-vote-form h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--admd-primary);
    margin: 0 0 24px;
}

.admd-steps-header {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-bottom: 32px;
}

.admd-step-indicator {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #9ca3af;
}
.admd-step-nav button img {
	filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7479%) hue-rotate(171deg) brightness(108%) contrast(105%);
	width: 14px;
	position: relative;
	top: 2px;
	display: block;
}
.admd-step-nav button.admd-step-prev img {
	filter: brightness(0) saturate(100%) invert(44%) sepia(5%) saturate(921%) hue-rotate(182deg) brightness(99%) contrast(92%);
	transform: rotate(180deg);
}
.admd-vote-introduction {
	max-width: 600px;
	margin: 30px auto;
	padding: 40px;
	background: var(--admd-bg);
	border-radius: 18px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	position: relative;
}
.admd-vote-introduction .logout-link {
	position: absolute;
	top: 20px;
	right: 20px;
	color: var(--admd-muted);
	text-decoration: none;
	font-size: 14px;
}
.admd-vote-introduction .logout-link:hover {
	color: #374151;
}
.admd-vote-introduction h3 {
	margin: 0 0 0;
	font-size: 26px;
	font-weight: 600;
	color: var(--admd-primary);
}
.admd-vote-introduction p {
	color: #0f172a;
	margin-bottom: 14px;
	font-size: 16px;
	line-height: 20px;
}
.admd-vote-introduction p strong {
	font-weight: 600;
}
.admd-step-indicator.completed {
    color: var(--admd-primary);
}
.btn-next.admd-intro-next {
	padding: 12px 24px;
	background: var(--admd-primary);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	width: fit-content;
	margin-top: 50px;
}
.admd-step-indicator.active {
    color: var(--admd-accent);
}

.admd-step-circle {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	border: 2px solid transparent;
	background: #f3f4f6;
	color: #6b7280;
	min-width: 32px;
}

.admd-step-indicator.completed .admd-step-circle {
    background: var(--admd-primary);
    color: #fff;
    border-color: var(--admd-primary);
}

.admd-step-indicator.active .admd-step-circle {
    background: var(--admd-accent);
    color: #fff;
    border-color: var(--admd-accent);
}

.admd-form fieldset.admd-question {
    border: none;
    padding: 0;
    margin: 0 0 24px;
}

.admd-form fieldset.admd-question legend {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 14px;
}

.admd-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 12px 16px;
    border: 1px solid var(--admd-border);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
    background: #fff;
}

.admd-option:hover {
    border-color: rgba(34, 182, 214, 0.6);
    box-shadow: 0 8px 20px rgba(34, 182, 214, 0.15);
}

.admd-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.admd-login-hero {
	width: 40% !important;
	min-width: 180px !important;
}
.admd-option-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}

.admd-option-indicator::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: inherit;
    background: var(--admd-accent);
    transform: scale(0);
    transition: transform 0.2s ease;
}

.admd-option-checkbox .admd-option-indicator {
    border-radius: 6px;
}

.admd-option-checkbox .admd-option-indicator::after {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.admd-option input:checked + .admd-option-indicator {
    border-color: var(--admd-accent);
    background: rgba(34, 182, 214, 0.1);
}

.admd-option input:checked + .admd-option-indicator::after {
    transform: scale(1);
}

.admd-option-text {
    font-size: 15px;
    color: #111827;
}

.admd-step-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
}

.admd-step-nav button {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s;
}

.admd-step-nav .btn-prev {
    background: #f3f4f6;
    color: #6b7280;
}

.admd-step-nav .btn-prev:hover {
    background: #e5e7eb;
    color: #374151;
}

.admd-step-nav .btn-next,
.admd-step-nav .btn-submit {
    background: var(--admd-primary);
    color: #fff;
}

.admd-step-nav .btn-next:hover,
.admd-step-nav .btn-submit:hover {
    background: var(--admd-accent);
}
.admd-steps-header-mobile .admd-step-circle.admd-mobile-circle.active {
	background: var(--admd-accent);
	color: #fff;
	border-color: var(--admd-accent);
}


@media (max-width: 640px) {
    .admd-vote-form-wrapper {
        padding: 30px 15px;
    }
    .admd-login-hero {
        margin: 0 auto 15px !important;
        padding: 0 !important;
    }
    .admd-vote-introduction {
        margin: 0 auto;
        padding: 30px 15px 15px 15px;
    }
    .admd-vote-introduction .logout-link {
        top: 7px;
        right: 17px;
    }
    .admd-vote-form,
    .admd-vote-login {
        padding: 15px;
    }

    .admd-step-nav {
        flex-direction: column;
    }

    .admd-step-nav button {
        width: 100%;
        justify-content: center;
    }
}

/* FAQ button & modal */
.admd-faq-btn {
    display: block;
    margin: 12px auto 0;
    background: none;
    border: none;
    color: var(--admd-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.admd-faq-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admd-faq-modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.admd-faq-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--admd-muted);
    line-height: 1;
}

.admd-faq-close:hover {
    color: #111;
}

.admd-faq-content {
    font-size: 15px;
    line-height: 1.7;
    color: #111827;
}

/* Mobile steps header */
@media (max-width: 640px) {
    .admd-steps-header {
        display: none;
    }

    .admd-steps-header-mobile {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 20px;
    }
    .admd-vote-form-wrapper h3 p {
        font-size: 23px;
        line-height: 25px;
    }
    .admd-option {
        gap: 7px;
        padding: 9px 11px;
    }
    .admd-mobile-step-title {
        font-size: 16px;
        font-weight: 600;
        color: #0f172a;
        line-height: 18px;
    }
}

@media (min-width: 641px) {
    .admd-steps-header-mobile {
        display: none;
    }
}

@media (max-width: 640px) {
    .admd-form fieldset.admd-question legend {
        display: none;
    }
}
