.patt-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.patt-circ {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid #1b1b1b;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}

.patt-lines {
    position: absolute;
    top: 0;
    left: 0;
}

.patt-line {
    stroke: #1b1b1b;
    stroke-width: 6;
}
/* ============================
   MATERIAL YOU – BLUE THEME
   ============================ */

/* Puntos más grandes estilo Material */
.patt-circ {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50%;
    border: 3px solid #5b9dfc !important; /* Azul Material */
    background: #e8f0fe !important;       /* Azul pastel */
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0px rgba(91,157,252,0.0);
}

/* Efecto suave al tocar */
.patt-circ.patt-touch {
    background: #cfe0ff !important;
    transform: scale(1.12);
    box-shadow: 0 0 10px rgba(91,157,252,0.8);
}

/* ============================
   LINEA MATERIAL YOU
   ============================ */
.patt-line {
    stroke: #4285f4 !important;     /* Azul Google */
    stroke-width: 4 !important;
    stroke-linecap: round !important;
    filter: drop-shadow(0 0 4px rgba(66,133,244,0.5));
}

/* ============================
   SUAVIZADO EN GENERAL
   ============================ */

.patt-wrap {
    transition: opacity 0.2s ease;
}

/* Animación ripple Material You */
@keyframes ripple-material {
    0% { transform: scale(0.1); opacity: 0.4; }
    100% { transform: scale(1.4); opacity: 0; }
}

.patt-circ::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 100%; height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(91,157,252,0.3);
    opacity: 0;
}

.patt-circ.patt-touch::after {
    animation: ripple-material 0.4s ease-out;
    opacity: 1;
}

/* ============================
   CORRECCIÓN DE CENTRADO
   ============================ */

#pattern_container .patt-circ {
    transform-origin: center center;
}
