.zwg-quiz-wrapper {
max-width: 800px;
margin: 0 auto 2rem;
}
.zwg-quiz-form {
background: #b5ad9d;
padding: 1.5rem;
box-sizing: border-box;
border-radius: 12px;
}
.zwg-q-section {
margin-bottom: 1.75rem;
}
.zwg-q-section h2 {
font-size: 1.3rem;
margin: 0 0 0.75rem;
color: #aa6427;
text-align: left;
}
.zwg-q-label,
.zwg-quiz-form label {
display: block;
font-size: 0.95rem;
margin-bottom: 0.25rem;
}
.zwg-q-required {
color: #aa6427;
}
.zwg-q-input,
.zwg-quiz-form input[type="text"],
.zwg-quiz-form input[type="email"],
.zwg-quiz-form select {
width: 100%;
max-width: 100%;
box-sizing: border-box;
padding: 0.6rem 0.7rem;
border: 1px solid #aa6427;
border-radius: 6px;
}
.zwg-q-user-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
.zwg-q-user-inner {
background: #aa6427;
color: #f1e9dd;
padding: 1rem;
box-sizing: border-box;
border-radius: 10px;
}
.zwg-q-user-inner h2 {
color: #f1e9dd;
margin-top: 0;
}
.zwg-q-user-inner .zwg-q-label {
color: #f1e9dd;
}
.zwg-q-user-inner .zwg-q-input {
background: #ffffff;
color: #000000;
border-color: #733f18;
}
@media (max-width: 640px) {
.zwg-q-user-grid {
grid-template-columns: 1fr;
}
}
.zwg-q-lifestyle-inner {
background: #aa6427;
color: #f1e9dd;
padding: 1rem;
box-sizing: border-box;
border-radius: 10px;
}
.zwg-q-lifestyle-inner h2 {
color: #f1e9dd;
margin-top: 0;
}
.zwg-q-lifestyle-inner p,
.zwg-q-lifestyle-inner .zwg-q-label {
color: #f1e9dd;
}
.zwg-q-lifestyle-inner input[type="radio"] {
accent-color: #000000;
}
.zwg-q-lifestyle-list {
counter-reset: lifestyle-counter;
list-style: none;
margin: 0;
padding-left: 0;
}
.zwg-q-lifestyle-item {
margin-bottom: 0.75rem;
font-size: 0.95rem;
}
.zwg-q-lifestyle-item-label {
display: block;
margin-bottom: 0.3rem;
}
.zwg-q-lifestyle-item-label::before {
counter-increment: lifestyle-counter;
content: counter(lifestyle-counter) ". ";
font-weight: bold;
}
.zwg-q-lifestyle-options {
display: flex;
flex-wrap: wrap;
gap: 0.4rem 1rem;
align-items: center;
}
.zwg-q-lifestyle-option {
font-size: 0.9rem;
white-space: nowrap;
}
.zwg-q-lifestyle-option input[type="radio"] {
margin-right: 0.25rem;
}
.zwg-quiz-breed-search {
background: #aa6427;
color: #ffffff;
padding: 1rem;
margin-top: 0.5rem;
border-radius: 10px;
}
.zwg-quiz-breed-search h2 {
color: #f1e9dd;
margin-top: 0;
}
.zwg-quiz-breed-search .zwg-t-input {
background: #ffffff;
}
.zwg-t-row {
position: relative;
margin-bottom: 0.9rem;
}
.zwg-t-input,
.zwg-t-select {
width: 100%;
}
.zwg-t-results {
margin-top: 0.35rem;
background: #ffffff;
border: 1px solid #733f18;
border-radius: 6px;
overflow: hidden;
color: #000000;
}
.zwg-t-result-item {
padding: 0.7rem 0.85rem;
cursor: pointer;
border-bottom: 1px solid #e8dfd3;
}
.zwg-t-result-item:last-child {
border-bottom: 0;
}
.zwg-t-result-item:hover {
background: #f1e9dd;
}
.zwg-q-breed-inner {
background: #aa6427;
color: #000000;
padding: 1rem 1rem 1.25rem;
border-radius: 10px;
}
.zwg-q-breed-thumb {
margin-bottom: 0.75rem;
}
.zwg-q-breed-thumb img {
max-width: 160px;
height: auto;
display: block;
}
.zwg-q-breed-title {
margin: 0 0 0.4rem;
font-size: 1.5rem;
color: #000000;
text-align: left;
}
.zwg-q-breed-tagline {
margin: 0 0 0.75rem;
color: #000000;
}
.zwg-q-list {
margin: 0;
padding-left: 1.25rem;
color: #000000;
}
.zwg-q-row {
margin-bottom: 0.4rem;
font-size: 0.95rem;
}
.zwg-q-text {
display: inline-block;
margin-bottom: 0.15rem;
}
.zwg-q-option {
margin-left: 0.75rem;
margin-right: 0.5rem;
font-size: 0.9rem;
color: #000000;
}
.zwg-q-option input[type="radio"] {
margin-right: 0.25rem;
}
.zwg-q-submit {
text-align: center;
margin-top: 1.5rem;
}
.zwg-q-btn {
background: #aa6427;
color: #f1e9dd;
border: 1px solid #733f18;
padding: 0.6rem 1.6rem;
text-transform: uppercase;
font-size: 0.95rem;
cursor: pointer;
}
.zwg-q-btn:hover {
background: #733f18;
}
.zwg-q-modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
display: none;
align-items: center;
justify-content: center;
z-index: 9999;
}
.zwg-q-modal-overlay.zwg-q-modal-open {
display: flex;
}
.zwg-q-modal {
background: #f1e9dd;
color: #000000;
max-width: 720px;
width: 90%;
padding: 1.5rem 1.75rem 1.75rem;
box-sizing: border-box;
position: relative;
border-radius: 12px;
}
.zwg-q-modal h2,
.zwg-q-modal h3 {
color: #aa6427;
margin-top: 0;
}
.zwg-q-modal ul {
margin: 0.5rem 0 0.75rem;
padding-left: 1.25rem;
} .zwg-q-modal .zwg-q-cta {
display: inline-block;
margin-top: 0.5rem;
background: #aa6427 !important;
color: #b5ad9d !important;
padding: 0.7rem 1.3rem;
text-decoration: none !important;
border: 1px solid #733f18 !important;
border-radius: 8px;
font-weight: 700;
line-height: 1.2;
} .zwg-q-modal .zwg-q-cta:hover,
.zwg-q-modal .zwg-q-cta:focus,
.zwg-q-modal .zwg-q-cta:active {
background: #733f18 !important;
color: #f1e9dd !important;
text-decoration: none !important;
}
.zwg-q-modal-close {
position: absolute;
top: 0.5rem;
right: 0.75rem;
background: transparent;
border: none;
font-size: 1.4rem;
cursor: pointer;
color: #733f18;
} .zwg-q-hero {
background: #f1e9dd;
border: 1px solid #aa6427;
border-radius: 12px;
padding: 1.25rem;
margin-bottom: 1rem;
}
.zwg-q-hero-title {
margin: 0 0 0.4rem;
color: #aa6427;
font-size: 1.7rem;
line-height: 1.2;
}
.zwg-q-hero-text {
margin: 0;
font-size: 1rem;
color: #000000;
}
.zwg-q-progress-wrap {
margin: 0 0 1rem;
}
.zwg-q-progress-text {
font-size: 0.95rem;
margin-bottom: 0.4rem;
color: #000000;
}
.zwg-q-progress-bar {
width: 100%;
height: 10px;
background: #e6ddd0;
border-radius: 999px;
overflow: hidden;
}
.zwg-q-progress-fill {
width: 0;
height: 100%;
background: #aa6427;
transition: width 0.25s ease;
}
.zwg-quiz-step {
display: none;
}
.zwg-quiz-step.is-active {
display: block;
}
.zwg-q-step-card,
.zwg-q-review-card {
background: #f1e9dd;
border: 1px solid #aa6427;
border-radius: 12px;
padding: 1.25rem;
}
.zwg-q-step-card h3,
.zwg-q-review-card h3 {
margin-top: 0;
margin-bottom: 0.5rem;
color: #aa6427;
font-size: 1.35rem;
}
.zwg-q-step-help {
margin-top: 0;
}
.zwg-q-kicker {
text-transform: uppercase;
letter-spacing: 0.06em;
font-size: 0.8rem;
font-weight: bold;
color: #733f18;
margin-bottom: 0.5rem;
}
.zwg-q-scale-labels {
display: flex;
justify-content: space-between;
gap: 1rem;
font-size: 0.9rem;
color: #733f18;
margin-bottom: 0.75rem;
}
.zwg-q-answer-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 0.75rem;
}
.zwg-q-answer-grid-two {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.zwg-q-answer-btn {
appearance: none;
border: 1px solid #aa6427;
background: #ffffff;
color: #000000;
border-radius: 10px;
min-height: 58px;
padding: 0.8rem 0.9rem;
font-size: 1rem;
font-weight: bold;
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.zwg-q-answer-btn:hover,
.zwg-q-answer-btn.is-selected {
background: #aa6427;
color: #f1e9dd;
border-color: #733f18;
}
.zwg-q-nav {
display: flex;
justify-content: space-between;
gap: 0.75rem;
margin-top: 1.25rem;
}
.zwg-q-nav-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
padding: 0.75rem 1.2rem;
border-radius: 10px;
font-size: 0.95rem;
font-weight: bold;
cursor: pointer;
text-decoration: none;
}
.zwg-q-nav-btn-primary {
background: #aa6427;
color: #f1e9dd;
border: 1px solid #733f18;
}
.zwg-q-nav-btn-primary:hover {
background: #733f18;
}
.zwg-q-nav-btn-secondary {
background: #ffffff;
color: #000000;
border: 1px solid #aa6427;
}
.zwg-q-selected-breed {
margin-top: 1rem;
}
.zwg-q-selected-card {
display: grid;
grid-template-columns: 100px 1fr;
gap: 1rem;
align-items: center;
background: #f1e9dd;
border: 1px solid #aa6427;
border-radius: 12px;
padding: 0.9rem;
}
.zwg-q-selected-thumb img {
width: 100%;
height: auto;
display: block;
border-radius: 8px;
}
.zwg-q-selected-title {
display: block;
color: #aa6427;
font-size: 1.1rem;
margin-bottom: 0.3rem;
}
.zwg-q-selected-text {
margin: 0;
}
.zwg-q-review-box {
margin-top: 1rem;
}
.zwg-q-email-later-note {
margin-top: 1rem;
font-size: 0.95rem;
color: #733f18;
}
@media (max-width: 640px) {
.zwg-q-answer-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.zwg-q-answer-grid-two {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.zwg-q-selected-card {
grid-template-columns: 1fr;
}
.zwg-q-nav {
flex-direction: column;
}
.zwg-q-nav-btn {
width: 100%;
}
} @media screen and (max-width: 640px) {
.zwg-q-step-card,
.zwg-q-question-card {
padding: 12px !important;
}
.zwg-q-step-card h3,
.zwg-q-question-card h3 {
font-size: 0.95rem !important;
line-height: 1.25 !important;
margin-bottom: 8px !important;
}
.zwg-q-kicker {
font-size: 0.7rem !important;
margin-bottom: 4px !important;
letter-spacing: 0.04em !important;
}
.zwg-q-scale-labels {
font-size: 0.8rem !important;
margin-bottom: 8px !important;
}
.zwg-q-answer-grid,
.zwg-q-answer-grid-two {
display: grid !important;
grid-template-columns: 1fr 1fr !important;
gap: 10px !important;
}
.zwg-q-answer-btn,
.zwg-q-scale-btn,
.zwg-q-yn-btn,
button.zwg-q-answer-btn,
button.zwg-q-scale-btn,
button.zwg-q-yn-btn {
min-height: 34px !important;
height: 34px !important;
padding: 0 !important;
font-size: 0.95rem !important;
line-height: 34px !important;
border-radius: 10px !important;
}
.zwg-q-yn-btn {
font-size: 0.85rem !important;
}
.zwg-q-nav {
margin-top: 10px !important;
display: flex !important;
flex-direction: column !important;
gap: 8px !important;
}
.zwg-q-nav-btn,
.zwg-q-btn,
#zwg_q_back,
#zwg_q_next,
#zwg_q_submit {
width: 100% !important;
min-height: 38px !important;
height: 38px !important;
padding: 0 12px !important;
font-size: 0.9rem !important;
line-height: 38px !important;
border-radius: 10px !important;
}
.zwg-q-review-card p,
.zwg-q-step-card p,
.zwg-q-selected-text {
font-size: 0.9rem !important;
line-height: 1.35 !important;
}
.zwg-q-progress-wrap {
margin-bottom: 10px !important;
}
.zwg-q-progress-text {
font-size: 0.9rem !important;
margin-bottom: 6px !important;
}
} @media screen and (max-width: 640px) {
.zwg-q-answer-grid {
display: grid !important;
grid-template-columns: repeat(5, 1fr) !important;
gap: 6px !important;
}
.zwg-q-scale-btn,
.zwg-q-answer-btn,
button.zwg-q-scale-btn,
button.zwg-q-answer-btn {
min-height: 42px !important;
height: 42px !important;
padding: 0 !important;
font-size: 0.95rem !important;
line-height: 42px !important;
border-radius: 10px !important;
}
.zwg-q-answer-grid-two {
grid-template-columns: 1fr 1fr !important;
}
.zwg-q-scale-labels {
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
font-size: 0.8rem !important;
margin-bottom: 8px !important;
}
} @media screen and (max-width: 640px) {
.zwg-q-nav {
display: flex !important;
flex-direction: column !important;
}
#zwg_q_next,
#zwg_q_submit {
order: 1 !important;
}
#zwg_q_back {
order: 2 !important;
}
}