@import url("basic.css");

/* Icon Gallery Grid */
.icon-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 1rem;
}

.icon-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.icon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.icon-card img {
    width: 56px;
    height: 56px;
    margin-bottom: 8px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-card:hover img {
    transform: scale(1.15) rotate(5deg);
}

.icon-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: #334155;
}

.icon-code {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 2px;
}

/* CurrentColor Demo */
.currentcolor-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    border: 2px solid currentColor;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

.currentcolor-btn svg {
    stroke: currentColor;
    fill: none;
    transition: transform 0.2s;
}

.currentcolor-btn:hover {
    color: #008080 !important;
}

.currentcolor-btn:hover svg {
    transform: rotate(20deg);
}

/* SVG Playground Stage */
.svg-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 30px;
    min-height: 180px;
}
