@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

.wphc-container {
    font-family: 'Roboto', sans-serif;
    background-color: #f38072;
    color: #fff6ea;
    padding: 30px;
    border-radius: 12px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.wphc-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    color: #fff6ea;
}

.wphc-intro {
    font-size: 16px;
    text-align: center;
    margin-bottom: 25px;
    opacity: 0.9;
}

.wphc-progress-bar-container {
    background-color: rgba(255, 246, 234, 0.2);
    height: 8px;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.wphc-progress-bar {
    background-color: #fff6ea;
    height: 100%;
    width: 20%;
    transition: width 0.3s ease;
}

.wphc-category-step {
    display: none;
}

.wphc-category-step.active {
    display: block;
}

.wphc-cat-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 246, 234, 0.3);
    padding-bottom: 10px;
}

.wphc-question-wrapper {
    margin-bottom: 25px;
}

.wphc-statement {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.wphc-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wphc-option-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: rgba(255, 246, 234, 0.08);
    padding: 10px 15px;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    border: 1px solid rgba(255, 246, 234, 0.15);
}

.wphc-option-label:hover {
    background-color: rgba(255, 246, 234, 0.18);
    transform: translateX(4px);
}

.wphc-option-label input[type="radio"] {
    display: none;
}

.wphc-custom-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #fff6ea;
    border-radius: 50%;
    margin-right: 12px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.wphc-option-label input[type="radio"]:checked + .wphc-custom-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #fff6ea;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wphc-option-label input[type="radio"]:checked {
    background-color: rgba(255, 246, 234, 0.25);
}

.wphc-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.wphc-btn {
    background-color: #fff6ea;
    color: #f38072;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

.wphc-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.wphc-btn:active {
    transform: translateY(0);
}

.wphc-lead-capture-container {
    animation: fadeIn 0.5s ease;
    margin-bottom: 20px;
}

.wphc-email-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.wphc-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.wphc-input-wrapper label {
    font-size: 14px;
    font-weight: 500;
}

.wphc-input-wrapper input {
    background: rgba(255, 246, 234, 0.1);
    border: 1.5px solid #fff6ea;
    padding: 12px 15px;
    border-radius: 6px;
    color: #fff6ea;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    outline: none;
    transition: background 0.2s ease;
}

.wphc-input-wrapper input::placeholder {
    color: rgba(255, 246, 234, 0.5);
}

.wphc-input-wrapper input:focus {
    background: rgba(255, 246, 234, 0.2);
}

.wphc-results {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.wphc-results-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.wphc-score-display {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 25px;
}

.wphc-score-max {
    font-size: 24px;
    opacity: 0.8;
}

.wphc-category-breakdowns {
    margin: 30px 0;
    text-align: left;
}

.wphc-breakdown-item {
    margin-bottom: 15px;
}

.wphc-breakdown-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 15px;
}

.wphc-breakdown-bar-bg {
    background-color: rgba(255, 246, 234, 0.2);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.wphc-breakdown-bar {
    background-color: #fff6ea;
    height: 100%;
    width: 0%;
    transition: width 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
