.bpd-survey-container {
max-width: 720px;
margin: 0 auto;
padding: 30px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
color: #333;
line-height: 1.65;
box-sizing: border-box;
}
.bpd-survey-container *,
.bpd-survey-container *::before,
.bpd-survey-container *::after {
box-sizing: border-box;
} .bpd-survey-header {
text-align: right;
margin-bottom: 10px;
}
.bpd-lang-btn {
background: none;
border: 1px solid #ccc;
border-radius: 4px;
padding: 5px 14px;
cursor: pointer;
font-size: 13px;
color: #666;
transition: border-color 0.2s, color 0.2s;
}
.bpd-lang-btn:hover {
border-color: #888;
color: #333;
} .bpd-survey-progress {
background: #e9ecef;
border-radius: 10px;
height: 8px;
margin-bottom: 5px;
overflow: hidden;
}
.bpd-survey-progress-bar {
background: #4a90d9;
height: 100%;
border-radius: 10px;
width: 25%;
transition: width 0.4s ease;
}
.bpd-survey-progress-text {
font-size: 13px;
color: #999;
text-align: right;
margin-bottom: 25px;
} .bpd-survey-page h2 {
color: #2c3e50;
font-size: 22px;
margin: 0 0 15px;
line-height: 1.35;
}
.bpd-survey-page h3 {
color: #2c3e50;
font-size: 18px;
margin: 25px 0 10px;
} .bpd-survey-info {
padding-left: 22px;
margin: 15px 0;
}
.bpd-survey-info li {
margin-bottom: 6px;
color: #555;
} .bpd-survey-instruction {
font-weight: 500;
margin-bottom: 10px;
} .bpd-survey-consent {
display: flex;
align-items: flex-start;
gap: 12px;
background: #f8f9fa;
padding: 18px;
border-radius: 8px;
border: 1px solid #e0e0e0;
cursor: pointer;
transition: border-color 0.2s;
}
.bpd-survey-consent:hover {
border-color: #4a90d9;
}
.bpd-survey-consent input[type="checkbox"] {
margin-top: 3px;
width: 18px;
height: 18px;
flex-shrink: 0;
cursor: pointer;
} .bpd-survey-error {
color: #e74c3c;
font-size: 14px;
margin-top: 10px;
display: none;
}
.bpd-survey-error.visible {
display: block;
} .bpd-survey-scale-legend {
background: #f0f4f8;
padding: 14px 18px;
border-radius: 8px;
margin: 15px 0 25px;
font-size: 14px;
line-height: 1.9;
color: #555;
} .bpd-survey-question {
margin-bottom: 22px;
padding: 16px;
background: #fafafa;
border-radius: 8px;
border-left: 3px solid #4a90d9;
}
.bpd-survey-question p {
margin: 0 0 12px;
} .bpd-survey-rating {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.bpd-survey-rating label {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
padding: 8px 16px;
border: 2px solid #ddd;
border-radius: 8px;
transition: all 0.2s;
font-size: 15px;
font-weight: 600;
min-width: 44px;
user-select: none;
}
.bpd-survey-rating label:hover {
border-color: #4a90d9;
background: #e8f0fe;
}
.bpd-survey-rating label.selected {
border-color: #4a90d9;
background: #4a90d9;
color: #fff;
}
.bpd-survey-rating input[type="radio"] {
position: absolute;
opacity: 0;
pointer-events: none;
}
.bpd-survey-question.unanswered {
border-left-color: #e74c3c;
animation: bpd-shake 0.35s ease;
}
@keyframes bpd-shake {
0%, 100% { transform: translateX(0); }
25%      { transform: translateX(-4px); }
75%      { transform: translateX(4px); }
} .bpd-survey-question label {
display: block;
font-weight: 600;
margin-bottom: 10px;
cursor: default;
}
.bpd-survey-question textarea {
width: 100%;
padding: 12px;
border: 1px solid #ddd;
border-radius: 6px;
font-family: inherit;
font-size: 14px;
resize: vertical;
transition: border-color 0.2s, box-shadow 0.2s;
}
.bpd-survey-question textarea:focus {
border-color: #4a90d9;
outline: none;
box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.15);
} .bpd-survey-nav {
display: flex;
justify-content: space-between;
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #eee;
}
.bpd-survey-nav button {
padding: 11px 30px;
border: none;
border-radius: 6px;
font-size: 15px;
font-weight: 500;
cursor: pointer;
transition: background 0.2s;
}
#bpd-prev {
background: #e9ecef;
color: #333;
}
#bpd-prev:hover {
background: #d6d9dc;
}
#bpd-next,
#bpd-submit {
background: #4a90d9;
color: #fff;
margin-left: auto;
}
#bpd-next:hover,
#bpd-submit:hover {
background: #3a7bc8;
}
#bpd-submit:disabled {
background: #a0c4e8;
cursor: not-allowed;
} .bpd-survey-thank {
text-align: center;
padding: 20px 0;
}
.bpd-survey-thank h2 {
color: #27ae60;
font-size: 28px;
}
.bpd-survey-thank-help {
text-align: left;
background: #f8f9fa;
padding: 20px 24px;
border-radius: 8px;
margin: 20px 0;
}
.bpd-survey-thank-help ul {
padding-left: 22px;
margin: 10px 0 0;
}
.bpd-survey-close-note {
color: #888;
font-size: 14px;
margin-top: 20px;
} @media (max-width: 600px) {
.bpd-survey-container {
padding: 16px;
}
.bpd-survey-page h2 {
font-size: 19px;
}
.bpd-survey-rating {
gap: 6px;
}
.bpd-survey-rating label {
padding: 10px 14px;
min-width: 40px;
}
.bpd-survey-nav button {
padding: 10px 20px;
font-size: 14px;
}
}