.wpgq2-quiz {
    max-width: 900px;
    margin: 0 auto;
    font-family: inherit;
    padding: 30px 20px;
    background: #f5f5f5;
    border-radius: 16px;
}

.wpgq2-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    justify-content: center;
}

.wpgq2-progress-item {
    width: 40px;
    height: 4px;
    background: #d0d0d0;
    border-radius: 4px;
    transition: all 0.6s ease;
}

.wpgq2-progress-item.wpgq2-active {
    background: #b7ee2e;
}

.wpgq2-progress-item.wpgq2-done {
    background: #b7ee2e;
    opacity: 0.5;
}

.wpgq2-subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
}

.wpgq2-subtitle span {
    color: #222;
    font-weight: 700;
}

.wpgq2-item {
    display: none;
    animation: wpgq2FadeIn 0.5s ease;
}

.wpgq2-item.wpgq2-active {
    display: block;
}

.wpgq2-item-last {
    display: none;
}

.wpgq2-item-last.wpgq2-active {
    display: block;
}

@keyframes wpgq2FadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.wpgq2-title {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 25px;
    text-align: center;
}

.wpgq2-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .wpgq2-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wpgq2-row {
        grid-template-columns: 1fr;
    }
}

.wpgq2-radio {
    position: relative;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.wpgq2-radio:hover {
    border-color: #b7ee2e;
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(183, 238, 46, 0.2);
}

.wpgq2-radio input[type="radio"] {
    display: none;
}

.wpgq2-radio input[type="radio"]:checked ~ .wpgq2-radio-check {
    background: #b7ee2e;
    border-color: #b7ee2e;
}

.wpgq2-radio input[type="radio"]:checked ~ .wpgq2-radio-check::after {
    display: block;
}

.wpgq2-radio input[type="radio"]:checked ~ .wpgq2-radio-title {
    color: #222;
    font-weight: 700;
}

.wpgq2-radio-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wpgq2-radio-check::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #222;
    display: none;
}

.wpgq2-radio-title {
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.wpgq2-radio-image {
    display: block;
    margin-top: 10px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.wpgq2-radio-image img {
    max-width: 100%;
    max-height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.wpgq2-actions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.wpgq2-btn {
    background: #b7ee2e;
    color: #222;
    border: none;
    padding: 14px 50px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.wpgq2-btn:hover {
    background: #a3d629;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(183, 238, 46, 0.4);
}

.wpgq2-btn:active {
    transform: scale(0.97);
}

.wpgq2-form-block {
    max-width: 500px;
    margin: 0 auto;
}

.wpgq2-form .wpforms-container {
    margin: 0 !important;
}

.wpgq2-form .wpforms-field {
    padding: 5px 0 !important;
}

.wpgq2-form .wpforms-field input,
.wpgq2-form .wpforms-field textarea {
    border-color: #d0d0d0 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    background: #fff !important;
}

.wpgq2-form .wpforms-field input:focus,
.wpgq2-form .wpforms-field textarea:focus {
    border-color: #b7ee2e !important;
    box-shadow: 0 0 0 3px rgba(183, 238, 46, 0.15) !important;
}

.wpgq2-form .wpforms-submit {
    background: #b7ee2e !important;
    border-color: #b7ee2e !important;
    color: #222 !important;
    padding: 14px 30px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.wpgq2-form .wpforms-submit:hover {
    background: #a3d629 !important;
    border-color: #a3d629 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(183, 238, 46, 0.3);
}

.wpgq2-form .wpforms-field-label {
    color: #222 !important;
    font-weight: 600 !important;
}

.wpgq2-messengers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.wpgq2-messenger {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.wpgq2-messenger a {
    color: #222;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-left: 5px;
    border-bottom: 2px solid #b7ee2e;
    transition: all 0.3s ease;
}

.wpgq2-messenger a:hover {
    color: #b7ee2e;
    border-bottom-color: #222;
}

.wpgq2-success {
    text-align: center;
    padding: 40px;
    animation: wpgq2FadeIn 0.5s ease;
}

.wpgq2-success h3 {
    font-size: 32px;
    color: #b7ee2e;
    margin-bottom: 15px;
}

.wpgq2-success p {
    font-size: 18px;
    color: #222;
}

.wpgq2-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.wpgq2-btn:hover::after {
    opacity: 1;
}