/* =====================================================
   がっつりPVダッシュボード 管理画面CSS
===================================================== */

.gattpvd-dashboard-description {
    max-width: 920px;
    line-height: 1.75;
    font-size: 14px;
    color: #1d2327;
}

/* セクション */
.gattpvd-dashboard-description h2 {
    margin: 36px 0 14px;
    padding: 6px 6px 6px 12px;
    border-bottom: 2px solid #2271b1;
    font-size: 18px;
	color: #fff;
	background-color: #0073aa;
}

/* サブ見出し */
.gattpvd-dashboard-description h3 {
margin: 24px 0 6px;
    font-size: 15px;
    font-weight: 600;
    border-left: solid 12px #0073aa;
    border-bottom: solid 2px #0073aa;
    padding-left: 10px;
}

/* テキスト */
.gattpvd-dashboard-description p {
    margin: 6px 0 10px;
}

/* 入力欄 */
.gattpvd-dashboard-description input[type="text"] {
    width: 100%;
    max-width: 380px;
    padding: 6px 8px;
    margin: 6px 0 12px;
}

/* 注意・補足 */
.gattpvd-dashboard-description .note {
    background: #f6f7f7;
    border-left: 4px solid #2271b1;
    padding: 10px 12px;
    margin: 14px 0;
    font-size: 13px;
}

/* FREE版表示 */
.gattpvd-dashboard-description .free {
    background: #fff5f5;
    border-left: 4px solid #b32d2e;
    padding: 10px 12px;
    margin: 14px 0;
    font-weight: 600;
    color: #b32d2e;
}

/* 計測ポリシーなど重要説明 */
.gattpvd-dashboard-description .policy {
    background: #f0f6fc;
    border: 1px solid #c5d9ed;
    padding: 14px;
    margin: 18px 0;
}

/* PV分布説明 */
.gattpvd-dashboard-description .pv-levels {
    background: #ffffff;
    border: 1px solid #dcdcde;
    padding: 12px 14px;
    margin: 12px 0;
}

.gattpvd-dashboard-description .pv-levels p {
    margin: 4px 0;
}

/* 箇条書き風 */
.gattpvd-dashboard-description .list p {
    padding-left: 14px;
    position: relative;
}

.gattpvd-dashboard-description .list p::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* 見出し間の視認性向上 */
.gattpvd-dashboard-description h2:first-child {
    margin-top: 12px;
}
.gattpvd-meta-warning {
    color: #b00020;
    font-weight: 600;
}

.gattpvd-meta-ok {
    color: #2e7d32;
    font-weight: 600;
}

/* ==========================================================
   プラグイン紹介セクション
   ========================================================== */

.gattpvd-promo-card {
    max-width: 920px;
    margin: 32px 0 0;
    padding: 16px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-top: 3px solid #2271b1;
    border-radius: 4px;
}

.gattpvd-promo-card__title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #1d2327;
}

.gattpvd-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 900px) {
    .gattpvd-promo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .gattpvd-promo-grid { grid-template-columns: 1fr; }
}

.gattpvd-promo-item {
    background: #f9f9f9;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: box-shadow .15s;
}

.gattpvd-promo-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.gattpvd-promo-item--current {
    background: #f0f7ff;
    border-color: #2271b1;
}

.gattpvd-promo-item__header {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.gattpvd-promo-item__icon {
    color: #2271b1;
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.gattpvd-promo-item__name {
    font-size: 13px;
    color: #1d2327;
    flex: 1;
    min-width: 0;
}

.gattpvd-promo-item__badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
}

.gattpvd-promo-item__badge--current {
    background: #2271b1;
    color: #fff;
}

.gattpvd-promo-item__badge--pending {
    background: #f0b849;
    color: #1d2327;
}

.gattpvd-promo-item__desc {
    font-size: 12px;
    color: #50575e;
    margin: 0;
    flex: 1;
    line-height: 1.6;
}

.gattpvd-promo-item__btn {
    align-self: flex-start;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    font-size: 12px !important;
    height: auto !important;
    padding: 4px 10px !important;
}

.gattpvd-promo-item__btn .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
}

.gattpvd-promo-archive {
    margin: 12px 0 0;
    text-align: right;
}

/* がっつりプラグイン紹介内の「今すぐインストール」ボタンのホバー演出 */
.gattpvd-promo-item__btn.gattpvd-install-btn:hover {
    background-color: #34933b !important;
    border-color: #24692a !important;
    color: #fff !important;
}