.tecz-resp-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tecz-resp-header {
    background: #f8fafc;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.tecz-resp-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    color: #1e293b;
}

.tecz-resp-header p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.tecz-resp-controls {
    padding: 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.tecz-resp-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    max-width: 600px;
}

.tecz-resp-input-group input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 1rem;
    color: #0f172a;
}

.tecz-resp-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tecz-btn {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.tecz-btn:hover {
    background: #2563eb;
}

.tecz-resp-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.tecz-view-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.tecz-view-btn:hover {
    background: #e2e8f0;
}

.tecz-view-btn.active {
    background: #334155;
    color: #ffffff;
    border-color: #334155;
}

.tecz-resp-warning {
    font-size: 0.8rem;
    color: #64748b;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid #f59e0b;
}

.tecz-resp-viewport-area {
    padding: 30px;
    background: #e2e8f0;
    display: flex;
    gap: 40px;
    overflow-x: auto;
    min-height: 500px;
    align-items: flex-start;
}

/* Device Frames */
.tecz-device-frame {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 8px solid #1e293b;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tecz-device-header {
    background: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 5px 0 10px 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tecz-iframe-wrapper {
    background: #ffffff;
    position: relative;
}

.tecz-resp-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #ffffff;
    display: block;
}

/* Hidden state for view toggles */
.tecz-device-frame.tecz-hidden {
    display: none;
}

/* Custom Scrollbar for Viewport Area */
.tecz-resp-viewport-area::-webkit-scrollbar {
    height: 12px;
}

.tecz-resp-viewport-area::-webkit-scrollbar-track {
    background: #cbd5e1;
    border-radius: 6px;
}

.tecz-resp-viewport-area::-webkit-scrollbar-thumb {
    background: #64748b;
    border-radius: 6px;
}

.tecz-resp-viewport-area::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

@media (max-width: 768px) {
    .tecz-resp-input-group {
        flex-direction: column;
    }
    .tecz-resp-viewport-area {
        padding: 15px;
        gap: 20px;
    }
}