/* 理系文系診断ツール 専用スタイル（他ツールとは共用しない） */

.pt-rb-intro-panel {
    padding: 1.25rem;
    border: 1px solid var(--pt-green-border);
    border-radius: 1rem;
    background: linear-gradient(160deg, #eef6ff 0%, var(--pt-green-bg) 100%);
    text-align: center;
    margin-bottom: 1.25rem;
}

.pt-rb-start-btn {
    margin-top: 0.75rem;
    padding: 0.7rem 1.8rem;
    border: none;
    border-radius: 62.5rem;
    background: linear-gradient(90deg, var(--pt-blue-light), var(--pt-teal));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

.pt-rb-start-btn:hover {
    filter: brightness(1.08);
}

.pt-rb-progress {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.pt-rb-progress-bar {
    flex: 1 1 auto;
    height: 0.4rem;
    border-radius: 62.5rem;
    background: #e6eaf0;
    overflow: hidden;
}

.pt-rb-progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pt-blue-light), var(--pt-teal));
    border-radius: 62.5rem;
    transition: width 0.3s ease;
    width: 8.33%;
}

.pt-rb-progress-text {
    flex: 0 0 auto;
    font-weight: 700;
    font-size: 0.8rem;
    color: #555;
    white-space: nowrap;
}

.pt-rb-questions-grid {
    margin-bottom: 1rem;
    min-height: 8rem;
}

.pt-rb-card {
    padding: 1rem 1.1rem;
    border: 1px solid #e0e4e8;
    border-radius: 0.9rem;
    background: #fff;
}

.pt-rb-card__q {
    margin: 0 0 0.75rem;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.4;
    color: #222;
}

.pt-rb-card__option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.2rem;
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
    border-radius: 0.5rem;
}

.pt-rb-card__option:hover {
    background: var(--pt-green-bg);
}

.pt-rb-card__option input[type="radio"] {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    flex-shrink: 0;
}

.pt-rb-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
}

.pt-rb-nav-row .pt-rb-action-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pt-rb-nav-row .pt-rb-submit-btn {
    flex: 1 1 auto;
    max-width: 16rem;
}

.pt-rb-submit-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 62.5rem;
    background: linear-gradient(90deg, var(--pt-blue-light), var(--pt-teal));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

.pt-rb-submit-btn:hover {
    filter: brightness(1.08);
}

.pt-rb-result-panel {
    padding: 1.25rem;
    border: 1px solid #e0e4e8;
    border-radius: 1rem;
    background: #fff;
    margin-bottom: 1.25rem;
}

.pt-rb-bar-wrap {
    display: flex;
    height: 2.5rem;
    border-radius: 62.5rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
    background: #eee;
}

.pt-rb-bar-rikei {
    background: var(--pt-blue-light);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: width 0.4s ease;
    width: 50%;
}

.pt-rb-bar-bunkei {
    background: var(--pt-green);
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: width 0.4s ease;
    width: 50%;
}

.pt-rb-percent-text {
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

.pt-rb-type-label {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--pt-green-dark);
    margin-bottom: 0.5rem;
}

.pt-rb-type-description {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 0.75rem;
}

.pt-rb-result-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.pt-rb-action-btn {
    padding: 0.55rem 1.2rem;
    border-radius: 62.5rem;
    border: 1px solid var(--pt-blue);
    background: #fff;
    color: var(--pt-blue);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

.pt-rb-action-btn:hover {
    background: var(--pt-green-bg);
}
