.pymvizh-attributes-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pymvizh-attributes-title-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.pymvizh-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.pymvizh-title-icon svg,
.pymvizh-title-icon i {
    width: 20px;
    height: 20px;
}

.pymvizh-attributes-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.pymvizh-attributes-list {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
}

.pymvizh-attribute-item {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    transform-origin: top;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.pymvizh-attribute-item.pymvizh-hidden {
    display: none;
    transform: scaleY(0);
    opacity: 0;
}

.pymvizh-attributes-list.is-expanded .pymvizh-attribute-item.pymvizh-hidden {
    display: flex;
    transform: scaleY(1);
    opacity: 1;
}

.pymvizh-attribute-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.pymvizh-attribute-icon svg,
.pymvizh-attribute-icon i {
    width: 16px;
    height: 16px;
}

.pymvizh-attribute-content {
    display: flex;
    column-gap: 10px;
    flex-grow: 1;
}

.pymvizh-attribute-name {
    font-weight: bold;
    color: #555;
}

.pymvizh-attribute-value {
    color: #333;
}

.pymvizh-buttons-wrapper {
    margin-top: 15px;
    position: relative;
}

.pymvizh-more-button,
.pymvizh-less-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===================== Model 2 (Grid Cards) ===================== */
.pymvizh2-attributes-container {
    max-width: 100%;
    margin: 0 auto;
}

.pymvizh2-attributes-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pymvizh2-attribute-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 16px 12px;
    min-height: 92px;
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pymvizh2-attribute-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.pymvizh2-attribute-card.pymvizh-hidden { display: none; }
.pymvizh2-attributes-list.is-expanded .pymvizh2-attribute-card.pymvizh-hidden { display: flex; }

/* Stacked: label above value */
.pymvizh2-attribute-card.pymvizh2-stacked { text-align: center; }
.pymvizh2-attribute-card.pymvizh2-stacked .pymvizh2-attribute-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}
.pymvizh2-attribute-card.pymvizh2-stacked .pymvizh2-attribute-value {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

/* Inline: label and value in one row */
.pymvizh2-attribute-card.pymvizh2-inline {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: right;
}
.pymvizh2-attribute-card.pymvizh2-inline .pymvizh2-attribute-label { font-size: 13px; color: #6b7280; }
.pymvizh2-attribute-card.pymvizh2-inline .pymvizh2-attribute-value { font-size: 18px; font-weight: 700; color: #111827; }

.pymvizh2-buttons-wrapper { margin-top: 14px; }
.pymvizh2-more-button,
.pymvizh2-less-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #f97316; /* orange like screenshot link */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.pymvizh2-more-button:hover,
.pymvizh2-less-button:hover { background-color: rgba(249,115,22,0.08); }