.setup-sliding-box {
    border: 1px solid #9b51e0;
    border-radius: 8px;
    margin: 0 0 20px 0;
    background-color: var(--wp--preset--color--ast-global-color-4, #ffffff);
    padding: 10px 15px 12px;
    overflow: hidden;
}

.setup-sliding-label {
	font-size: 30px !important;
	font-weight: 600;
} 

/*Used in the initial set up sliders to keep button centered */
.setup-button-center {
    text-align: center;
    margin-top: 5px;
}


.setup-sliding-btn .wp-block-button__link {
    width: 100% !important; /* Minimum width */
	min-width: 250px !important;
}

.setup-sliding-header {
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    font-size: var(--wp--preset--font-size--large, 24px);
    font-weight: bold;
    color: inherit;
    background: none;
    margin: 0;
    position: relative;
	padding-right: 40px;
}

.setup-sliding-header.active::after {
    transform: rotate(180deg);
}

.setup-sliding-header::after {
    content: '';
    position: absolute;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(270deg);
    transition: transform 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFD700'%3E%3Cpath d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40px;
}

.sliding-box-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin-top: 0;
}

.tech-sliding-box-content {
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	margin-top:-10px;
    padding: 0;
}

.setup-sliding-box-content {
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	transform: translateY(10px);
	margin-top:-5px;
}

.sliding-box-content.active .tech-sliding-box-content,
.sliding-box-content.active .setup-sliding-box-content{
    opacity: 1;
    transform: translateY(0);
}

.setup-text {
    font-size: 20px;
    line-height: 1.6;
}

.installation-options-title {
    font-size: 1.4em;
    margin: 10px 0 5px;
    border-bottom: 2px solid #9b51e0;
    padding-bottom: 5px;
}

.method-text {
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.6;
}

.method-number {
    font-size: 1.1em;
}

.installation-note {
    margin-bottom: 15px;
    font-style: italic;
}

.plugin-installer-note {
    background-color: rgba(155, 81, 224, 0.1);
    border-left: 4px solid #9b51e0;
    padding: 10px 15px;
    margin-top: 15px;
    border-radius: 0 5px 5px 0;
}

.tutorial-image {
    width: 80%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.sammi-link {
    text-decoration: underline;
}

.alert-main {
    font-weight: bold;
}

.alert-sub {
    margin: 5px 0 0 30px;
}

.link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    border-radius: 30px;
}

.separator-line {
    height: 2px;
    background: linear-gradient(90deg, rgba(80,40,120,0.1), rgba(155,81,224,0.8), rgba(80,40,120,0.1));
    margin: 15px auto 5px;
}

.comparison-item {
    flex: 1 1 300px;
    text-align: center;
    margin: 10px;
}

.comparison-label {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.not-recommended .comparison-label {
    color: #ff4444;
}

.recommended .comparison-label {
    color: #44cc44;
}

.comparison-image {
    max-width: 100%;
    border-radius: 5px;
}

.not-recommended .comparison-image {
    border: 2px solid #ff4444;
}

.recommended .comparison-image {
    border: 2px solid #44cc44;
}

.final-text {
    margin: 15px auto;
    line-height: 1.5;
    text-align: justify;
    font-size: 1.3em;
    max-width: 75%;
}

/* Main container styling */
.sammi-installation-guide {
    background-color: rgba(20, 20, 40, 0.7);
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sammi-guide-title {
    color: #fff000;
    text-align: center;
    font-size: 2.2em !important;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
	margin-bottom: 15px;
}

/* Step styling */
.sammi-guide-step {
    margin-bottom: 30px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.sammi-guide-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Step badge styling - now relative to the h4 */
.sammi-step-badge {
    background: linear-gradient(135deg, #ff00cc, #3333ff);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 0 10px rgba(255, 0, 204, 0.5);
    position: relative;
    margin-right: 10px;
    top: -2px; /* Fine tune vertical alignment */
}

.sammi-step-content {
    width: 100%;
}

.sammi-step-content h4 {
    color: #fff000;
    margin: 0 auto 15px auto;
    font-size: 26px;
    text-align: center;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sammi-step-content p {
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    color: #e0e0e0;
    text-align: center;
    max-width: 50%;
}

/* Image styling - fixed to match image size exactly */
.sammi-image-container {
    margin: 15px auto;
    position: relative;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    background-color: #1a1a2e;
    display: inline-block;
    vertical-align: middle; /* Align vertically */
}

/* Center multiple images vertically */
.sammi-step-content div:has(.sammi-image-container) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Image type specific sizing */
.sammi-square-image {
    max-width: 500px;
}

.sammi-wide-image {
    max-width: 800px;
}

.sammi-long-image {
    max-width: 550px;
}

.sammi-guide-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
    transition: transform 0.3s ease;
}

.sammi-image-container:hover .sammi-guide-image {
    transform: scale(1.02);
}

.sammi-image-caption {
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 12px;
    text-align: center;
    width: 100%;
}

/* Center all content */
.sammi-step-content {
    text-align: center;
}

/* Success message */
.sammi-success-message {
    background: linear-gradient(135deg, rgba(0, 128, 0, 0.3), rgba(0, 128, 0, 0.1));
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 30px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.sammi-success-message h3 {
    color: #00ff00;
    margin-top: 0;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.sammi-success-message p {
    color: #e0e0e0;
    max-width: 100%;
}


.setup-text {
    text-align: left;
}

.setup-sliding-buttoncontainer {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important; /* Add this */
}

/* Button hover effect */
.info-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(155,81,224,0.6);
    background: linear-gradient(135deg, #b772ff, #7b42a7);
}

/* Alert boxes - ADD these */
.windows-protection-notice {
    max-width: 100%;
    margin: 0 0 15px;
    text-align: center;
}

.windows-protection-notice p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.windows-protection-notice img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.custom-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    margin: 15px 0;
}

.resolution-alert, .info-alert {
    background-color: #1a0a1e;
    border-left: 6px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-alert {
    background-color: #0a1a1e;
    border-left: 6px solid #33c1ff;
}

.resolution-alert p, .info-alert p {
    margin: 0;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    color: #ffbe00;
}

.info-alert p {
    color: #33c1ff;
}

.resolution-alert p span:first-child,
.info-alert p span:first-child {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.4em;
}

/* Layout containers - ADD these */
.setup-flex-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.setup-text-content {
    flex: 1.2;
    min-width: 300px;
}

.setup-image-container {
    flex: 0.8;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mickfx-info-separator {
    position: relative;
    margin: 0;
    text-align: center;
    overflow: hidden;
}

.info-link {
    display: inline-block;
    position: relative;
    padding: 8px 30px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
    background: linear-gradient(135deg, #9b51e0, #6a3093);
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(155,81,224,0.4);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.sammi-base-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 5px auto;
    width: 80%;
}

.video-container {
    text-align: center;
    margin: 20px auto;
}

.video-container figure.wp-block-video {
    max-width: 50%;
    margin: 0 auto;
}

.rounded-video video {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

@media screen and (max-width: 1024px) {	
	.setup-sliding-label {font-size: 24px !important;} 	
	
	/* Responsive buttons used in initial setup */
    .setup-sliding-buttoncontainer {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }
}

@media screen and (max-width: 768px) {
    .setup-sliding-buttoncontainer {
        flex-direction: column;
        align-items: center;
    }

    .sammi-step-content h4 {
        font-size: 18px;
        max-width: 100%;
		width: 100%
    }
    
    .sammi-step-content p {
        max-width: 100%;
    }
    
    .sammi-guide-title {
        font-size: 20px;
    }
    
    /* Keep images responsive on mobile but not too large */
    .sammi-square-image, .sammi-wide-image, .sammi-long-image {
        max-width: 100%;
    }
    
    .sammi-success-message {
        max-width: 90%;
    }
    .windows-protection-notice p {
        font-size: 1em;
        padding: 0 10px;
    }
    .custom-divider {
        margin: 20px 0;
    }
    .setup-flex-container {
        flex-direction: column;
    }
    .setup-text-content, .setup-image-container {
        width: 100%;
    }
    .setup-image-container img {
        width: 90% !important; /* Larger image on mobile but not full width */
        margin-top: 15px;
    }
    .sammi-base-container {
        flex-direction: column;
        width: 100% !important; /* Override the 80% width on mobile */
    }
    .sammi-base-container > div {
        margin: 15px 0;
    }
    .setup-sliding-label {
        font-size: 1.5em;
    }
    .setup-text {
        font-size: 0.95em;
    }
    .mickfx-info-separator a.info-link {
        font-size: 0.95em;
        padding: 8px 20px;
    }
    #final-text {
        max-width: 100% !important;
        margin-top: 8px !important;
    }
    .resolution-alert {
        margin: 15px 0 10px;
        padding: 10px;
    }
    .resolution-alert p {
        font-size: 1em;
    }
	
    .video-container figure.wp-block-video {
        max-width: 90% !important; /* Wider on mobile but not full width */
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .sammi-installation-guide {
        padding: 15px 10px;
    }
    
    .sammi-step-content p {
        font-size: 14px;
    }
    
    .sammi-image-caption {
        font-size: 11px;
    }
    
    .sammi-step-badge {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .sammi-success-message {
        max-width: 100%;
    }
}