.pgb-wrapper {
    width: 100%;
    margin: 0 auto;
}

.pgb-wrapper * {
    box-sizing: border-box;
}

.pgb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.pgb-card {
    background: #f7f7f7;
    border-radius: 16px;
    padding: 28px 24px 24px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    position: relative;
    min-height: 410px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-top: 4px solid transparent;
}

.pgb-green { border-top-color: #22c55e; }
.pgb-yellow { border-top-color: #eab308; }
.pgb-red { border-top-color: #ef4444; }

.pgb-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.pgb-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pgb-green .pgb-icon {
    background: rgba(34, 197, 94, 0.16);
    color: #16a34a;
}

.pgb-yellow .pgb-icon {
    background: rgba(234, 179, 8, 0.2);
    color: #ca8a04;
}

.pgb-red .pgb-icon {
    background: rgba(239, 68, 68, 0.14);
    color: #ef4444;
}

.pgb-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pgb-icon svg .pgb-dot {
    fill: currentColor;
    stroke: none;
}

.pgb-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
}

.pgb-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin: 0 auto 22px;
    border: 1px solid transparent;
}

.pgb-green .pgb-badge {
    color: #15803d;
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.2);
}

.pgb-yellow .pgb-badge {
    color: #a16207;
    background: rgba(234, 179, 8, 0.18);
    border-color: rgba(234, 179, 8, 0.3);
}

.pgb-red .pgb-badge {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.2);
}

.pgb-highlight {
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}

.pgb-subtitle {
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.06em;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 18px;
}

.pgb-card p {
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 1.55;
    color: #4b5563;
    flex-grow: 1;
}

.pgb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.pgb-button:hover,
.pgb-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    opacity: 0.96;
    text-decoration: none;
}

.pgb-green .pgb-button {
    background: #ffffff;
    color: #15803d;
    border: 2px solid #bbf7d0;
}

.pgb-yellow .pgb-button {
    background: #f2d600;
    color: #111827;
    border: 2px solid #f2d600;
}

.pgb-red .pgb-button {
    background: #ef2020;
    color: #ffffff;
    border: 2px solid #ef2020;
}

.pgb-button span {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 1024px) {
    .pgb-grid {
        grid-template-columns: 1fr;
    }

    .pgb-card {
        min-height: auto;
    }
}
