/* SignUp Guide Template Styles */
.iframe-container {
    width: 100%;
    max-width: 100%;
    background: #f0f0f0;
    position: relative;
    height: 200px;
    transition: height 0.4s ease;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}
.iframe-content {
    opacity: 0;
    pointer-events: none;
}

.iframe-content.loaded {
    opacity: 1;
    pointer-events: auto;
}

.expand-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.expand-button:hover {
    transform: translate(-50%, -50%) scale(1.03);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.expand-button.expanded {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    padding: 12px 24px;
    font-size: 16px;
    top: 16px;
    left: auto;
    right: 16px;
    transform: none;
}

.expand-button.expanded:hover {
    transform: scale(1.03);
}

.iframe-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.iframe-content.loaded {
    opacity: 1;
}

/* Performance optimizations */
.iframe-container * {
    will-change: transform, opacity;
}

/* Responsive Design */
@media (max-width: 768px) {
    .iframe-container {
        height: 180px;
    }
    
    .expand-button {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .expand-button.expanded {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .iframe-container {
        height: 160px;
    }
    
    .expand-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}