#sr_new_guide {
    width:1100px;
    min-height:480px;
    padding:0px;
}

#sr_new_guide sr-modal-content {
    padding:0px;
    margin:0px;
}

sr-guide-qcontent sr-drop-view {
    background:var(--sr-col-w12-d0);
}


sr-guide-step {
    display:block;    
}

sr-guide-step sr-modal-header {
    padding:30px 0px 20px;
    text-align:center;
    margin-bottom:0px;
    display:block;
}
sr-guide-list {
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    padding:0px 50px;
    gap: 20px;
}
sr-guide-new {
    position: relative;
    display:flex;
    flex-direction:column;
    width:320px;
    height:320px;    
    border-radius:10px;
    overflow: hidden;
    background-color:var(--sr-col-w10-d4);    
    cursor: pointer;
    transition: all 0.3s ease;
}

sr-guide-new * {
    pointer-events: none;
}

sr-guide-media {
    width:100%;
    height:150px;  
    background-color:var(--sr-col-w8-d4);  
    display:block;
    overflow:hidden;
    position:relative;
    transition: all 0.3s ease;
}

sr-guide-media sr-img {
    width:100%;
    height:100%;
    position:absolute;
    top:0px;
    left:0px;    
}

sr-guide-content {
    padding:20px;
    box-sizing: border-box;
    display:block;
}

sr-guide-box {
    border: 2px dashed var(--sr-col-w5-d2);
    color:var(--sr-col-w5-d2);
    border-radius: 5px;
    line-height:80px;
    height:80px;
    width:80px;
    position:absolute;
    top:50%;
    left:50%;
    text-align:center;
    font-size:25px;
    font-weight:600;
    transition: all 0.3s ease;
    transform: translate(-50%,-50%);
}

.sr--guide--media--svg {
    left:50%;
    top:50%;
    position:absolute;
    transition: all 0.3s ease;
    transform: translate(-50%,-50%);
}

sr-guide-new:hover{
    background:var(--sr-col-b4-d0);
}

sr-guide-new:hover sr-guide-media {
    background:var(--sr-col-b0);
}

sr-guide-new:hover sr-guide-media sr-img {
    filter:grayscale(0%);
}


/* On hover of this card, recolor ALL shapes inside that svg */
sr-guide-new:hover sr-guide-media svg.sr--guide--media--svg * {
  fill: var(--sr-col-w12);
}

/* optional: also recolor strokes if any */
sr-guide-new:hover sr-guide-media svg.sr--guide--media--svg * {
  stroke: var(--sr-col-w12);
}

sr-guide-new:hover sr-guide-media sr-guide-box {
    border-color:var(--sr-col-w12);
    color:var(--sr-col-w12);
}


/*
GUIDE QUICK BUILDER
*/
sr-guide-types {
    display:block;
    text-align:center;    
}
sr-guide-type {
    display:inline-block;
    padding:12px 10px;
    line-height:12px;
    font-size:13px;
    font-weight:600;
    color:var(--sr-col-w0-d1);
    cursor:pointer; 
    border-radius:10px;   
}
sr-guide-type * {
    pointer-events: none;
}

sr-guide-type:hover {
    background:var(--sr-col-w10-d1);
}

sr-guide-type.selected,
sr-guide-type.selected:hover {
    background:var(--sr-col-b4-d0);
    color:var(--sr-col-b0);
}

sr-guide-type.selected svg.sr--icon,
sr-guide-type.selected:hover svg.sr--icon {
    fill:var(--sr-col-b0    ) !important;
}

sr-guide-qcontent {
    display:block;
    padding:30px 50px;
    box-sizing: border-box;
    min-height:554px;
    background:var(--sr-col-w9-d0);
    position: relative;
}

sr-guide-templates {
    padding:20px 0px;
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    justify-content:flex-start;
    max-height: 420px;
    width:1000px; /* will be overridden by JS to pages*1000px */
    overflow:hidden;
    box-sizing:border-box;
}

sr-guide-template {
    position: relative;
    display:flex;
    flex-direction:column;
    width:320px;
    height:180px;
    background:var(--sr-col-w10-d1);
    border-radius:10px;
    cursor: pointer;
}

sr-guide-template:hover {
    box-shadow: var(--sr-bs-3);
}

.sr_qguide_nav svg.sr--icon {
    fill:var(--sr-col-w0-d1);
}   

@keyframes sr-pop {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes sr-elastic-pop {
  0% { transform: scale(0.7); }
  60% { transform: scale(1.1); }
  80% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

sr-qguide-left {
    display:block;
    position:absolute;
    cursor:pointer;
    top:50%;
    left: 5px;
    width:40px;
    height:40px;
    line-height:40px;
    margin-top:-12px;
    transform: translateY(-50%);
    z-index: 2;    
    text-align: center;
}

sr-qguide-right {
    display:block;
    position:absolute;
    cursor:pointer;
    top:50%;
    right: 5px;
    width:40px;
    height:40px;
    line-height:40px;    
    text-align: center;
    margin-top:-12px;
    transform: translateY(-50%);
    z-index: 2;
}


/* Carousel viewport + scroller */
sr-guide-viewport {
    display:block;
    padding-left:20px;    
    width:1000px; /* matches one page width: 3x columns */
    overflow:hidden; /* clip to page */
    position: relative;
}

sr-guide-viewport sr-guide-templates {
    transition: transform 0.35s ease;
    will-change: transform;
    display:flex;
    flex-wrap: wrap; /* wrap within each 1000px page */
}

sr-guide-template-order {
    display:inline-block;
    width:26px;
    height:26px;
    line-height:26px;
    border-radius:50%;
    background:var(--sr-col-b0);
    color:var(--sr-col-w12);
    font-size:13px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
}

#sr_qguide_clearorder {
    cursor:pointer;
    margin-left:10px;
}
sr-guide-templates sr-guide-template-order {
    position:absolute;
    bottom:15px;
    right:10px;
    transform: scale(0);
    opacity: 0;
    transform-origin: 50% 50%;
    pointer-events: none; /* not clickable on hover */
}

/* Hover shows the check badge with a quick ease-out pop */
sr-guide-template:not(.selected):hover sr-guide-template-order {
    opacity: 1;
    transform: scale(1);
    animation: sr-pop 180ms cubic-bezier(0,0,0.2,1) both;
}

/* Selected state keeps it visible (numbered) */
sr-guide-template.selected sr-guide-template-order {
    opacity: 1;
    transform: scale(1);
}

/* Suppress hover animation on already-selected items */
sr-guide-template.selected:hover sr-guide-template-order {
    animation: none;
}

/* One-time handoff: when a card just became selected, force the elastic pop once */
sr-guide-template.sr-just-selected sr-guide-template-order {
    opacity: 1;
    transform: scale(1);
    animation: sr-elastic-pop 420ms cubic-bezier(.2,.7,.3,1) both !important;
}

/* While in handoff, ignore hover pop to avoid double-animating */
sr-guide-template.sr-just-selected:hover sr-guide-template-order {
    animation: sr-elastic-pop 420ms cubic-bezier(.2,.7,.3,1) both !important;
}

/* Elastic pop utility class for when a number is set programmatically */
sr-guide-template-order.sr-pop-elastic {
    animation: sr-elastic-pop 420ms cubic-bezier(.2,.7,.3,1) both;
}

sr-guide-template-order svg.sr--icon {
    fill:var(--sr-col-w12);
    pointer-events: none;
}

.notactive {
    pointer-events: none;
    opacity: 0.5;
}