/* Viewport Generator Styles */
.viewport-generator {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.generator-container .card {
    border: none;
    border-radius: 10px;
}

#generated-tag {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    background-color: #f8f9fa;
}

.device-previews {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.device-preview {
    text-align: center;
}

.device-frame {
    position: relative;
    background: #f1f3f5;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.device-frame.mobile {
    width: 200px;
    height: 400px;
}

.device-frame.tablet {
    width: 300px;
    height: 400px;
}

.device-frame .screen {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border: 1px solid #dee2e6;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" fill="none" stroke="%23dee2e6" stroke-width="0.5"><rect x="10" y="10" width="80" height="80" rx="5" fill="%23f8f9fa"/><text x="50" y="55" font-family="Arial" font-size="10" text-anchor="middle" fill="%236c757d">Content Preview</text></svg>');
    background-size: 50px 50px;
}

.device-name {
    margin-top: 0.5rem;
    font-weight: 500;
    color: #495057;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .viewport-generator {
        padding: 1rem 0.5rem;
    }
    
    .device-previews {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}